Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001322/0.001322, allocations: 111 kB / 21.18 MB, free: 0.6758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00141/0.00141, allocations: 210.7 kB / 24.48 MB, free: 3.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.431/1.431, allocations: 230.6 MB / 258.3 MB, free: 7.785 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001521/0.001521, allocations: 55.91 kB / 379 MB, free: 2.379 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2306/0.2321, allocations: 53.35 MB / 432.4 MB, free: 6.664 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.02698/0.2591, allocations: 21.48 MB / 453.9 MB, free: 1.086 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01507/0.2742, allocations: 7.743 MB / 461.6 MB, free: 9.312 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00318/0.2774, allocations: 210.9 kB / 461.8 MB, free: 9.105 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01846/0.2958, allocations: 7.829 MB / 469.6 MB, free: 1.258 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008431/0.3043, allocations: 3.105 MB / 472.7 MB, free: 14.14 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004116/0.3084, allocations: 1.821 MB / 474.6 MB, free: 12.33 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0126/0.321, allocations: 11.36 MB / 485.9 MB, free: 0.9492 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02082/0.3418, allocations: 14.66 MB / 0.4889 GB, free: 2.141 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007535/0.3493, allocations: 6.083 MB / 0.4948 GB, free: 12.04 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008889/0.3582, allocations: 6.557 MB / 0.5012 GB, free: 5.465 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002399/0.3606, allocations: 1.715 MB / 0.5029 GB, free: 3.75 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003666/0.3643, allocations: 2.148 MB / 0.505 GB, free: 1.602 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002972/0.3673, allocations: 3.41 MB / 0.5083 GB, free: 14.18 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005498/0.3728, allocations: 4.907 MB / 0.5131 GB, free: 9.258 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02284/0.3956, allocations: 23.29 MB / 0.5358 GB, free: 1.898 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.3956, allocations: 3.938 kB / 0.5358 GB, free: 1.895 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3956, allocations: 0 / 0.5358 GB, free: 1.895 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003015/0.3959, allocations: 0 / 0.5358 GB, free: 1.895 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.3413/0.7372, allocations: 13.56 MB / 0.5491 GB, free: 88.57 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.7372, allocations: 12.03 kB / 0.5491 GB, free: 88.56 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.033/0.7702, allocations: 6.254 MB / 0.5552 GB, free: 82.38 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0136/0.7838, allocations: 7.364 MB / 0.5624 GB, free: 74.98 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003634/0.7841, allocations: 0.7181 MB / 0.5631 GB, free: 74.28 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001903/0.7861, allocations: 0.9485 MB / 0.564 GB, free: 73.34 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02265/0.8087, allocations: 16.31 MB / 0.5799 GB, free: 56.97 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002097/0.8089, allocations: 23.84 kB / 0.58 GB, free: 56.95 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001008/0.8099, allocations: 403.3 kB / 0.5804 GB, free: 56.56 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003915/0.8103, allocations: 0.5552 MB / 0.5809 GB, free: 56 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01965/0.83, allocations: 15.08 MB / 0.5956 GB, free: 40.91 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05515/0.8851, allocations: 45.39 MB / 0.6399 GB, free: 10.76 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01566/0.9008, allocations: 8.548 MB / 0.6483 GB, free: 2.98 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00526/0.906, allocations: 3.309 MB / 0.6515 GB, free: 15.67 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003571/0.9064, allocations: 119.4 kB / 0.6516 GB, free: 15.55 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.447e-05/0.9065, allocations: 82.06 kB / 0.6517 GB, free: 15.46 MB / 478.1 MB Notification: Performance of pre-optimization done (n=447): time 7.574e-06/0.9065, allocations: 0 / 0.6517 GB, free: 15.46 MB / 478.1 MB Notification: Performance of matching and sorting (n=452): time 0.05088/0.9573, allocations: 20.35 MB / 0.6716 GB, free: 11.07 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.485e-05/0.9574, allocations: 98.95 kB / 0.6717 GB, free: 10.96 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006016/0.9634, allocations: 4.42 MB / 0.676 GB, free: 6.555 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002832/0.9637, allocations: 93.7 kB / 0.6761 GB, free: 6.457 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003165/0.9669, allocations: 4.344 MB / 0.6803 GB, free: 2.074 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001409/0.9683, allocations: 1.611 MB / 0.6819 GB, free: 460 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001957/0.9703, allocations: 1.204 MB / 0.6831 GB, free: 15.23 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 0.0001275/0.9704, allocations: 309.1 kB / 0.6834 GB, free: 14.93 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004813/0.9752, allocations: 3.061 MB / 0.6864 GB, free: 11.86 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006698/0.9819, allocations: 5.235 MB / 0.6915 GB, free: 5.648 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01257/0.9945, allocations: 8.875 MB / 0.7001 GB, free: 11.8 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.396e-05/0.9945, allocations: 23.98 kB / 0.7002 GB, free: 11.78 MB / 0.5138 GB Notification: Performance of matching and sorting (n=794) (initialization): time 0.01736/1.012, allocations: 9.822 MB / 0.7098 GB, free: 1.934 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 5.61e-05/1.012, allocations: 32 kB / 0.7098 GB, free: 1.902 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.047e-05/1.012, allocations: 72 kB / 0.7099 GB, free: 1.832 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003963/1.016, allocations: 1.371 MB / 0.7112 GB, free: 468 kB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005277/1.021, allocations: 1.392 MB / 0.7126 GB, free: 15.06 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0185/1.04, allocations: 12.05 MB / 0.7243 GB, free: 2.793 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003645/1.043, allocations: 355.6 kB / 0.7247 GB, free: 2.445 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005241/1.044, allocations: 296 kB / 0.7249 GB, free: 2.156 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.005765/1.05, allocations: 3.896 MB / 0.7287 GB, free: 14.25 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000922/1.051, allocations: 472.9 kB / 0.7292 GB, free: 13.78 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01501/1.066, allocations: 8.419 MB / 0.7374 GB, free: 5.309 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2/1.266, allocations: 6.192 MB / 0.7435 GB, free: 178 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.318e-05/1.266, allocations: 16.22 kB / 0.7435 GB, free: 178 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.211e-05/1.266, allocations: 23.3 kB / 0.7435 GB, free: 178 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02262/1.288, allocations: 14.94 MB / 0.7581 GB, free: 173.4 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.71e-05/1.288, allocations: 9.703 kB / 0.7581 GB, free: 173.4 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003187/1.292, allocations: 0.8149 MB / 0.7589 GB, free: 173.3 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003226/1.295, allocations: 1.258 MB / 0.7601 GB, free: 173 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002722/1.295, allocations: 106.6 kB / 0.7602 GB, free: 173 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01218/1.307, allocations: 10.97 MB / 0.7709 GB, free: 166.6 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.611e-06/1.307, allocations: 15.78 kB / 0.771 GB, free: 166.6 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0137/1.321, allocations: 11.14 MB / 0.7818 GB, free: 159.6 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002728/1.324, allocations: 1.039 MB / 0.7829 GB, free: 158.9 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007527/1.324, allocations: 86.02 kB / 0.7829 GB, free: 158.8 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002307/1.327, allocations: 237.8 kB / 0.7832 GB, free: 158.7 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006314/1.327, allocations: 348.9 kB / 0.7835 GB, free: 158.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002802/1.328, allocations: 142 kB / 0.7836 GB, free: 158.4 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003389/1.331, allocations: 2.947 MB / 0.7865 GB, free: 155.9 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/1.331, allocations: 0 / 0.7865 GB, free: 155.9 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005354/1.336, allocations: 1.715 MB / 0.7882 GB, free: 154.2 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.001905/1.338, allocations: 0.5656 MB / 0.7887 GB, free: 153.9 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01039/1.349, allocations: 7.663 MB / 0.7962 GB, free: 146.7 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.19e-05/1.349, allocations: 4 kB / 0.7962 GB, free: 146.7 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0055/1.354, allocations: 3.682 MB / 0.7998 GB, free: 143 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004273/1.358, allocations: 0.9491 MB / 0.8007 GB, free: 142.1 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02278/1.381, allocations: 18.33 MB / 0.8186 GB, free: 123.6 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004895/1.386, allocations: 6.067 MB / 0.8246 GB, free: 117.5 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004424/1.391, allocations: 2.09 MB / 0.8266 GB, free: 115.4 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001014/1.392, allocations: 395.3 kB / 0.827 GB, free: 115.1 MB / 0.545 GB Notification: Performance of SimCode: time 1.283e-06/1.392, allocations: 0 / 0.827 GB, free: 115.1 MB / 0.545 GB Notification: Performance of Templates: time 0.1009/1.493, allocations: 79.49 MB / 0.9046 GB, free: 36.29 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_withLosses/IMC_withLosses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 9.540364892993239]