Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.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.0008643/0.0008643, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 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.003744/0.003744, allocations: 160.8 kB / 24.7 MB, free: 9.441 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.876/0.876, allocations: 177 MB / 204.9 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.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_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 325.8 MB, free: 15.34 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.437e-05/3.603e-05, allocations: 7.062 kB / 325.8 MB, free: 15.33 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.01682/0.01686, allocations: 21.51 MB / 347.3 MB, free: 9.707 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01471/0.03157, allocations: 7.765 MB / 355.1 MB, free: 1.918 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005071/0.03664, allocations: 214.9 kB / 355.3 MB, free: 1.707 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01172/0.04836, allocations: 8.247 MB / 363.6 MB, free: 9.438 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009406/0.05776, allocations: 3.138 MB / 366.7 MB, free: 6.285 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004669/0.06243, allocations: 1.828 MB / 368.5 MB, free: 4.465 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.01323/0.07566, allocations: 11.69 MB / 380.2 MB, free: 8.734 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02149/0.09715, allocations: 14.52 MB / 394.7 MB, free: 10.07 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01379/0.1109, allocations: 8.881 MB / 403.6 MB, free: 1.18 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008975/0.1199, allocations: 5.625 MB / 409.3 MB, free: 11.54 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004017/0.1239, allocations: 1.715 MB / 411 MB, free: 9.828 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005437/0.1294, allocations: 2.159 MB / 413.1 MB, free: 7.668 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004401/0.1338, allocations: 3.464 MB / 416.6 MB, free: 4.195 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.007846/0.1416, allocations: 4.226 MB / 420.8 MB, free: 15.96 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02237/0.164, allocations: 23.5 MB / 444.3 MB, free: 8.398 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.164, allocations: 0 / 444.3 MB, free: 8.398 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.164, allocations: 0 / 444.3 MB, free: 8.398 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0005882/0.1646, allocations: 0 / 444.3 MB, free: 8.398 MB / 410.7 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.3344/0.499, allocations: 13.46 MB / 457.8 MB, free: 100 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.4991, allocations: 11.86 kB / 457.8 MB, free: 100 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01796/0.517, allocations: 6.261 MB / 464 MB, free: 96.81 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01134/0.5284, allocations: 7.361 MB / 471.4 MB, free: 89.88 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005787/0.5289, allocations: 0.718 MB / 472.1 MB, free: 89.18 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004171/0.5331, allocations: 0.9486 MB / 473.1 MB, free: 88.24 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03176/0.5649, allocations: 16.31 MB / 489.4 MB, free: 71.86 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003763/0.5652, allocations: 18.44 kB / 489.4 MB, free: 71.84 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002976/0.5682, allocations: 403 kB / 489.8 MB, free: 71.46 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003487/0.5686, allocations: 0.563 MB / 490.4 MB, free: 70.9 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02413/0.5927, allocations: 15.08 MB / 0.4936 GB, free: 55.8 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06252/0.6552, allocations: 45.41 MB / 0.5379 GB, free: 10.15 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009343/0.6646, allocations: 8.542 MB / 0.5463 GB, free: 2.367 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003972/0.6685, allocations: 3.31 MB / 0.5495 GB, free: 15.05 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003128/0.6688, allocations: 119.4 kB / 0.5496 GB, free: 14.94 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.724e-05/0.6689, allocations: 82.06 kB / 0.5497 GB, free: 14.85 MB / 426.8 MB Notification: Performance of pre-optimization done (n=447): time 5.851e-06/0.6689, allocations: 3.938 kB / 0.5497 GB, free: 14.84 MB / 426.8 MB Notification: Performance of matching and sorting (n=452): time 0.03475/0.7037, allocations: 20.34 MB / 0.5696 GB, free: 10.61 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.361e-05/0.7037, allocations: 94.95 kB / 0.5697 GB, free: 10.51 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005582/0.7093, allocations: 4.412 MB / 0.574 GB, free: 6.113 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 0.000801/0.7101, allocations: 101.6 kB / 0.5741 GB, free: 6.008 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002425/0.7125, allocations: 4.331 MB / 0.5783 GB, free: 1.664 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.00174/0.7143, allocations: 1.592 MB / 0.5799 GB, free: 96 kB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001689/0.716, allocations: 1.195 MB / 0.581 GB, free: 14.89 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 7.464e-05/0.716, allocations: 309.1 kB / 0.5813 GB, free: 14.59 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003712/0.7197, allocations: 3.069 MB / 0.5843 GB, free: 11.51 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004499/0.7242, allocations: 5.239 MB / 0.5894 GB, free: 5.293 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00893/0.7332, allocations: 8.872 MB / 0.5981 GB, free: 11.45 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.179e-05/0.7332, allocations: 20 kB / 0.5981 GB, free: 11.43 MB / 474.8 MB Notification: Performance of matching and sorting (n=794) (initialization): time 0.01398/0.7472, allocations: 9.816 MB / 0.6077 GB, free: 1.594 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.192e-05/0.7473, allocations: 36 kB / 0.6077 GB, free: 1.559 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.912e-05/0.7474, allocations: 68 kB / 0.6078 GB, free: 1.492 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00254/0.7499, allocations: 1.373 MB / 0.6091 GB, free: 116 kB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003595/0.7535, allocations: 1.392 MB / 0.6105 GB, free: 14.72 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01238/0.7659, allocations: 12.04 MB / 0.6223 GB, free: 2.48 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0038/0.7697, allocations: 355.6 kB / 0.6226 GB, free: 2.133 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001158/0.7709, allocations: 296 kB / 0.6229 GB, free: 1.844 MB / 490.8 MB 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.2048/0.9756, allocations: 3.88 MB / 0.6267 GB, free: 160 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00112/0.9767, allocations: 466.9 kB / 0.6271 GB, free: 160 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009046/0.9858, allocations: 8.428 MB / 0.6353 GB, free: 157.9 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006278/0.9921, allocations: 6.192 MB / 0.6414 GB, free: 155.5 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.468e-05/0.9921, allocations: 19.47 kB / 0.6414 GB, free: 155.5 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.878e-05/0.9921, allocations: 25.8 kB / 0.6414 GB, free: 155.5 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0194/1.012, allocations: 14.96 MB / 0.656 GB, free: 147.3 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.381e-05/1.012, allocations: 8 kB / 0.6561 GB, free: 147.3 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001603/1.013, allocations: 0.8125 MB / 0.6568 GB, free: 146.6 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001891/1.015, allocations: 1.25 MB / 0.6581 GB, free: 145.7 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002597/1.015, allocations: 111.1 kB / 0.6582 GB, free: 145.6 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008146/1.023, allocations: 10.97 MB / 0.6689 GB, free: 135.1 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/1.023, allocations: 11.94 kB / 0.6689 GB, free: 135.1 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01077/1.034, allocations: 11.13 MB / 0.6798 GB, free: 124.1 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002052/1.036, allocations: 1.045 MB / 0.6808 GB, free: 123.3 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005149/1.037, allocations: 87.19 kB / 0.6809 GB, free: 123.3 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001208/1.038, allocations: 231.7 kB / 0.6811 GB, free: 123 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004915/1.038, allocations: 351.2 kB / 0.6814 GB, free: 122.7 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000177/1.039, allocations: 139.8 kB / 0.6816 GB, free: 122.6 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.002773/1.041, allocations: 2.951 MB / 0.6844 GB, free: 119.6 MB / 490.8 MB Notification: Performance of sort global known variables: time 6e-08/1.041, allocations: 3.938 kB / 0.6844 GB, free: 119.6 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.004903/1.046, allocations: 1.717 MB / 0.6861 GB, free: 117.9 MB / 490.8 MB 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.001162/1.047, allocations: 0.5482 MB / 0.6867 GB, free: 117.5 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.00822/1.056, allocations: 7.66 MB / 0.6941 GB, free: 109.9 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.195e-05/1.056, allocations: 0.875 kB / 0.6941 GB, free: 109.9 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.003883/1.06, allocations: 3.679 MB / 0.6977 GB, free: 106.2 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0033/1.063, allocations: 0.9529 MB / 0.6987 GB, free: 105.2 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02085/1.084, allocations: 17.96 MB / 0.7162 GB, free: 87.15 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004124/1.088, allocations: 5.876 MB / 0.7219 GB, free: 81.24 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001614/1.089, allocations: 456.4 kB / 0.7224 GB, free: 80.79 MB / 490.8 MB Notification: Performance of SimCode: time 1.984e-06/1.089, allocations: 0 / 0.7224 GB, free: 80.79 MB / 490.8 MB Notification: Performance of Templates: time 0.3615/1.451, allocations: 231.8 MB / 0.9488 GB, free: 49.02 MB / 0.4949 GB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses_res.mat","/var/lib/jenkins/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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 12.566944065503776]