Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001405/0.001405, allocations: 110.4 kB / 21.23 MB, free: 0.5312 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001514/0.001514, allocations: 214.8 kB / 24.54 MB, free: 3.922 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.501/1.501, allocations: 230.6 MB / 258.2 MB, free: 8.035 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|// aims.i_0_r|aims.ir.1.|aims.ir.2.|aims.idq_rr.1.|aims.idq_rr.2.|aims.is.1.|aims.is.2.|aims.idq_sr.1.|aims.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|// aims.i_0_r|aims.ir.1.|aims.ir.2.|aims.idq_rr.1.|aims.idq_rr.2.|aims.is.1.|aims.is.2.|aims.idq_sr.1.|aims.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002042/0.002042, allocations: 68.77 kB / 379.1 MB, free: 2.621 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2803/0.2824, allocations: 53.36 MB / 432.4 MB, free: 6.969 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start): time 0.01557/0.2979, allocations: 11.97 MB / 444.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007656/0.3056, allocations: 3.849 MB / 448.2 MB, free: 7.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001258/0.3069, allocations: 91.38 kB / 448.3 MB, free: 7 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002076/0.3089, allocations: 0.9364 MB / 449.3 MB, free: 6.062 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002873/0.3118, allocations: 1.146 MB / 450.4 MB, free: 4.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001163/0.313, allocations: 0.5031 MB / 450.9 MB, free: 4.406 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005314/0.3183, allocations: 4.241 MB / 455.2 MB, free: 152 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002764/0.3211, allocations: 1.845 MB / 457 MB, free: 14.23 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003175/0.3242, allocations: 1.967 MB / 459 MB, free: 12.25 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00428/0.3285, allocations: 2.39 MB / 461.4 MB, free: 9.855 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001019/0.3295, allocations: 0.4922 MB / 461.8 MB, free: 9.363 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001313/0.3308, allocations: 0.6014 MB / 462.4 MB, free: 8.762 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001569/0.3324, allocations: 1.414 MB / 463.9 MB, free: 7.344 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003015/0.3354, allocations: 2.213 MB / 466.1 MB, free: 5.121 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007703/0.3431, allocations: 6.587 MB / 472.7 MB, free: 14.51 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.3431, allocations: 4 kB / 472.7 MB, free: 14.51 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3431, allocations: 0 / 472.7 MB, free: 14.51 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001301/0.3433, allocations: 4 kB / 472.7 MB, free: 14.5 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.009421/0.3527, allocations: 4.348 MB / 477 MB, free: 10.1 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/0.3527, allocations: 8.031 kB / 477 MB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001504/0.3542, allocations: 494.2 kB / 477.5 MB, free: 9.609 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004763/0.359, allocations: 2.352 MB / 479.9 MB, free: 7.219 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001974/0.3592, allocations: 234.2 kB / 480.1 MB, free: 6.988 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000538/0.3597, allocations: 311.9 kB / 480.4 MB, free: 6.684 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007902/0.3676, allocations: 4.376 MB / 484.8 MB, free: 2.223 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.631e-05/0.3677, allocations: 11.89 kB / 484.8 MB, free: 2.211 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003052/0.368, allocations: 128 kB / 484.9 MB, free: 2.086 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001447/0.3682, allocations: 130 kB / 485 MB, free: 1.957 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006801/0.375, allocations: 3.779 MB / 488.8 MB, free: 14.17 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02402/0.399, allocations: 13.24 MB / 0.4903 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003416/0.4024, allocations: 2.081 MB / 0.4923 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002956/0.4054, allocations: 1.563 MB / 0.4938 GB, free: 12.92 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002797/0.4056, allocations: 57.16 kB / 0.4939 GB, free: 12.86 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.174e-05/0.4057, allocations: 51.88 kB / 0.494 GB, free: 12.8 MB / 414.1 MB Notification: Performance of pre-optimization done (n=164): time 3.537e-06/0.4057, allocations: 0 / 0.494 GB, free: 12.8 MB / 414.1 MB Notification: Performance of matching and sorting (n=180): time 0.01867/0.4244, allocations: 8.506 MB / 0.5023 GB, free: 4.242 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.149e-05/0.4244, allocations: 69.41 kB / 0.5023 GB, free: 4.16 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00407/0.4285, allocations: 2.374 MB / 0.5046 GB, free: 1.758 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000203/0.4287, allocations: 57.7 kB / 0.5047 GB, free: 1.695 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001288/0.43, allocations: 1.501 MB / 0.5062 GB, free: 184 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006909/0.4307, allocations: 0.6391 MB / 0.5068 GB, free: 15.54 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006202/0.4313, allocations: 367.5 kB / 0.5071 GB, free: 15.17 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001421/0.4314, allocations: 305.1 kB / 0.5074 GB, free: 14.87 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001891/0.4333, allocations: 1.124 MB / 0.5085 GB, free: 13.75 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002223/0.4356, allocations: 1.574 MB / 0.5101 GB, free: 12 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004157/0.4397, allocations: 2.78 MB / 0.5128 GB, free: 9.043 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.267e-06/0.4397, allocations: 4 kB / 0.5128 GB, free: 9.039 MB / 430.1 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.006584/0.4463, allocations: 3.59 MB / 0.5163 GB, free: 5.418 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.322e-05/0.4463, allocations: 19.92 kB / 0.5163 GB, free: 5.398 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.332e-05/0.4464, allocations: 12 kB / 0.5163 GB, free: 5.387 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002057/0.4484, allocations: 0.8025 MB / 0.5171 GB, free: 4.562 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001751/0.4502, allocations: 463.3 kB / 0.5175 GB, free: 4.109 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01228/0.4624, allocations: 10.67 MB / 0.528 GB, free: 8.871 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002102/0.4646, allocations: 119.9 kB / 0.5281 GB, free: 8.754 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000225/0.4648, allocations: 75.98 kB / 0.5281 GB, free: 8.68 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 6 (switchedRheostat.booleanStep[3].y,switchedRheostat.booleanStep[2].y,switchedRheostat.booleanStep[1].y,idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (220): * Single equations (assignments): 213 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(2,14,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002173/0.4669, allocations: 1.094 MB / 0.5292 GB, free: 7.574 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006568/0.4676, allocations: 266.3 kB / 0.5295 GB, free: 7.312 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006053/0.4737, allocations: 3.286 MB / 0.5327 GB, free: 3.988 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.609e-05/0.4737, allocations: 16 kB / 0.5327 GB, free: 3.973 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-05/0.4737, allocations: 11.94 kB / 0.5327 GB, free: 3.961 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.712e-05/0.4737, allocations: 7.969 kB / 0.5327 GB, free: 3.953 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2217/0.6954, allocations: 6.814 MB / 0.5394 GB, free: 98.61 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.356e-06/0.6954, allocations: 4.75 kB / 0.5394 GB, free: 98.61 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00132/0.6968, allocations: 296.1 kB / 0.5397 GB, free: 98.61 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002341/0.6991, allocations: 0.9221 MB / 0.5406 GB, free: 98.45 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001665/0.6993, allocations: 40.77 kB / 0.5406 GB, free: 98.42 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01033/0.7096, allocations: 13.91 MB / 0.5542 GB, free: 87.6 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.7096, allocations: 2.531 kB / 0.5542 GB, free: 87.6 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006293/0.7159, allocations: 4.846 MB / 0.5589 GB, free: 85.71 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001261/0.7172, allocations: 0.5132 MB / 0.5594 GB, free: 85.57 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003498/0.7175, allocations: 38.58 kB / 0.5595 GB, free: 85.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001223/0.7187, allocations: 121.1 kB / 0.5596 GB, free: 85.53 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003643/0.7191, allocations: 158.9 kB / 0.5597 GB, free: 85.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.894e-05/0.7192, allocations: 48.78 kB / 0.5598 GB, free: 85.49 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001893/0.7211, allocations: 1.643 MB / 0.5614 GB, free: 84.87 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.7211, allocations: 0 / 0.5614 GB, free: 84.87 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001817/0.7229, allocations: 0.7073 MB / 0.5621 GB, free: 84.24 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (aims.inertiaRotor.w,aims.i_0_s,aims.idq_sr[1],aims.idq_sr[2],aims.idq_rr[1],aims.idq_rr[2],aims.i_0_r,quadraticLoadTorque.phi) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],switchedRheostat.booleanStep[1].y,switchedRheostat.booleanStep[2].y,switchedRheostat.booleanStep[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (145): * Single equations (assignments): 137 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 7 systems {(2,14,100.0%), (1,1,100.0%), (2,1,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003426/0.7232, allocations: 215.5 kB / 0.5623 GB, free: 84.05 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004037/0.7273, allocations: 3.339 MB / 0.5655 GB, free: 80.9 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/0.7273, allocations: 4.656 kB / 0.5655 GB, free: 80.89 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002708/0.73, allocations: 2.346 MB / 0.5678 GB, free: 78.48 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002654/0.7327, allocations: 0.7304 MB / 0.5685 GB, free: 77.78 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008065/0.7407, allocations: 6.895 MB / 0.5753 GB, free: 70.87 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00152/0.7422, allocations: 2.525 MB / 0.5777 GB, free: 68.31 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001436/0.7437, allocations: 0.5945 MB / 0.5783 GB, free: 67.71 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004364/0.7441, allocations: 159.4 kB / 0.5785 GB, free: 67.55 MB / 446.1 MB Notification: Performance of SimCode: time 7.91e-07/0.7441, allocations: 11.33 kB / 0.5785 GB, free: 67.55 MB / 446.1 MB Notification: Performance of Templates: time 0.05718/0.8013, allocations: 42.49 MB / 0.62 GB, free: 25.56 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMS_Start/IMS_Start.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.56647018622607]