Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001305/0.001305, allocations: 112.2 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001383/0.001383, allocations: 180.8 kB / 23.71 MB, free: 4.695 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.395/1.395, allocations: 225.6 MB / 252.5 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|PIQS.x|imcQS.rotorCage.port_p.reference.gamma|loadInertiaQS.w|powerSensorQS.flange_a.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|PIQS.x|imcQS.rotorCage.port_p.reference.gamma|loadInertiaQS.w|powerSensorQS.flange_a.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00163/0.00163, allocations: 47.92 kB / 371 MB, free: 9.293 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2956/0.2972, allocations: 52.19 MB / 423.2 MB, free: 14.66 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.05776/0.3549, allocations: 25.01 MB / 448.2 MB, free: 5.527 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02907/0.384, allocations: 7.881 MB / 456.1 MB, free: 13.62 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006922/0.3909, allocations: 214.9 kB / 456.3 MB, free: 13.41 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03512/0.4261, allocations: 8.489 MB / 464.8 MB, free: 4.902 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01858/0.4446, allocations: 3.117 MB / 467.9 MB, free: 1.773 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009877/0.4545, allocations: 1.859 MB / 469.7 MB, free: 15.91 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02763/0.4821, allocations: 11.24 MB / 481 MB, free: 4.645 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0428/0.5249, allocations: 13.88 MB / 494.9 MB, free: 6.609 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0162/0.5411, allocations: 6.075 MB / 0.4892 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01765/0.5588, allocations: 6.518 MB / 0.4956 GB, free: 9.977 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007014/0.5658, allocations: 1.715 MB / 0.4972 GB, free: 8.262 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007288/0.5731, allocations: 2.136 MB / 0.4993 GB, free: 6.129 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006349/0.5794, allocations: 3.406 MB / 0.5027 GB, free: 2.715 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01198/0.5914, allocations: 6.354 MB / 0.5089 GB, free: 12.34 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02998/0.6214, allocations: 23.17 MB / 0.5315 GB, free: 5.09 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.6214, allocations: 0 / 0.5315 GB, free: 5.09 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.6214, allocations: 0 / 0.5315 GB, free: 5.09 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0005887/0.622, allocations: 0 / 0.5315 GB, free: 5.09 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2685 * Number of variables: 2685 Notification: Performance of Generate backend data structure: time 0.2387/0.8607, allocations: 13.54 MB / 0.5447 GB, free: 91.85 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.8607, allocations: 11.81 kB / 0.5447 GB, free: 91.85 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03421/0.8949, allocations: 6.321 MB / 0.5509 GB, free: 88.97 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01333/0.9083, allocations: 7.344 MB / 0.5581 GB, free: 82.62 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004676/0.9087, allocations: 0.7217 MB / 0.5588 GB, free: 81.91 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003205/0.9119, allocations: 0.9448 MB / 0.5597 GB, free: 80.98 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03122/0.9431, allocations: 16.12 MB / 0.5754 GB, free: 64.82 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000328/0.9435, allocations: 20.72 kB / 0.5755 GB, free: 64.8 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002555/0.946, allocations: 403.4 kB / 0.5758 GB, free: 64.42 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004143/0.9464, allocations: 0.5643 MB / 0.5764 GB, free: 63.85 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02555/0.972, allocations: 15.1 MB / 0.5911 GB, free: 48.73 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07516/1.047, allocations: 51.34 MB / 0.6413 GB, free: 13 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01919/1.066, allocations: 8.603 MB / 0.6497 GB, free: 5.141 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007409/1.074, allocations: 3.321 MB / 0.6529 GB, free: 1.816 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006493/1.074, allocations: 107.4 kB / 0.653 GB, free: 1.711 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001167/1.075, allocations: 78.06 kB / 0.6531 GB, free: 1.625 MB / 462.1 MB Notification: Performance of pre-optimization done (n=447): time 1.029e-05/1.075, allocations: 0 / 0.6531 GB, free: 1.625 MB / 462.1 MB Notification: Performance of matching and sorting (n=452): time 0.06279/1.137, allocations: 20.49 MB / 0.6731 GB, free: 13.2 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001021/1.137, allocations: 103 kB / 0.6732 GB, free: 13.09 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009768/1.147, allocations: 4.497 MB / 0.6776 GB, free: 8.57 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001057/1.148, allocations: 97.7 kB / 0.6777 GB, free: 8.469 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.005069/1.153, allocations: 4.341 MB / 0.6819 GB, free: 4.09 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002579/1.156, allocations: 1.615 MB / 0.6835 GB, free: 2.461 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004202/1.16, allocations: 1.196 MB / 0.6847 GB, free: 1.254 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002284/1.16, allocations: 301.1 kB / 0.685 GB, free: 0.957 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006495/1.167, allocations: 3.065 MB / 0.688 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008865/1.176, allocations: 5.21 MB / 0.693 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01612/1.192, allocations: 8.876 MB / 0.7017 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.607e-05/1.192, allocations: 16 kB / 0.7017 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of matching and sorting (n=794) (initialization): time 0.02464/1.217, allocations: 9.845 MB / 0.7113 GB, free: 3.973 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001284/1.217, allocations: 34.66 kB / 0.7114 GB, free: 3.941 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001429/1.217, allocations: 68 kB / 0.7114 GB, free: 3.875 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004579/1.221, allocations: 1.402 MB / 0.7128 GB, free: 2.469 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006334/1.228, allocations: 1.381 MB / 0.7142 GB, free: 1.086 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02275/1.25, allocations: 12.48 MB / 0.7263 GB, free: 4.371 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004843/1.255, allocations: 359.6 kB / 0.7267 GB, free: 4.02 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001198/1.256, allocations: 288 kB / 0.727 GB, free: 3.738 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 313 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (720): * Single equations (assignments): 717 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (14,54,45.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.008022/1.265, allocations: 3.896 MB / 0.7308 GB, free: 15.82 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001653/1.266, allocations: 484.9 kB / 0.7312 GB, free: 15.35 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01858/1.285, allocations: 8.468 MB / 0.7395 GB, free: 6.82 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01455/1.299, allocations: 6.205 MB / 0.7456 GB, free: 0.5977 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-05/1.299, allocations: 12 kB / 0.7456 GB, free: 0.5859 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001079/1.299, allocations: 23.91 kB / 0.7456 GB, free: 0.5625 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.434/1.733, allocations: 17.41 MB / 0.7626 GB, free: 179.7 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.999e-05/1.733, allocations: 11.34 kB / 0.7626 GB, free: 179.7 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003353/1.737, allocations: 0.8059 MB / 0.7634 GB, free: 179.7 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003435/1.74, allocations: 1.286 MB / 0.7646 GB, free: 179.4 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000669/1.741, allocations: 108.1 kB / 0.7647 GB, free: 179.4 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01378/1.755, allocations: 11.36 MB / 0.7758 GB, free: 172.7 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.616e-06/1.755, allocations: 13.59 kB / 0.7759 GB, free: 172.7 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01814/1.773, allocations: 11.18 MB / 0.7868 GB, free: 165.9 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003743/1.777, allocations: 1.057 MB / 0.7878 GB, free: 165.3 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001193/1.778, allocations: 92 kB / 0.7879 GB, free: 165.2 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002784/1.781, allocations: 230 kB / 0.7881 GB, free: 165 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006522/1.781, allocations: 345.6 kB / 0.7884 GB, free: 164.8 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002662/1.781, allocations: 139 kB / 0.7886 GB, free: 164.7 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004246/1.786, allocations: 3.106 MB / 0.7916 GB, free: 161.8 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.1e-07/1.786, allocations: 0 / 0.7916 GB, free: 161.8 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006499/1.792, allocations: 1.729 MB / 0.7933 GB, free: 160.1 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * Number of states: 4 (imcQS.inertiaRotor.w,imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.phi,PIQS.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (417): * Single equations (assignments): 414 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (14,54,43.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002151/1.794, allocations: 0.5501 MB / 0.7938 GB, free: 159.8 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01255/1.807, allocations: 7.655 MB / 0.8013 GB, free: 152.1 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.209e-05/1.807, allocations: 0 / 0.8013 GB, free: 152.1 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.007147/1.814, allocations: 3.695 MB / 0.8049 GB, free: 148.4 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007243/1.821, allocations: 1.047 MB / 0.8059 GB, free: 147.4 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03109/1.852, allocations: 18.43 MB / 0.8239 GB, free: 128.9 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008921/1.861, allocations: 6.504 MB / 0.8303 GB, free: 122.4 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005909/1.867, allocations: 2.119 MB / 0.8324 GB, free: 120.2 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001644/1.869, allocations: 375.4 kB / 0.8327 GB, free: 119.9 MB / 0.545 GB Notification: Performance of SimCode: time 9.42e-07/1.869, allocations: 0 / 0.8327 GB, free: 119.9 MB / 0.545 GB Notification: Performance of Templates: time 0.116/1.985, allocations: 77.91 MB / 0.9088 GB, free: 42.51 MB / 0.545 GB " [Timeout remaining time 658] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_withLosses/IMC_withLosses.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.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: 10.116215591318905]