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.0009573/0.0009573, allocations: 91.5 kB / 21.19 MB, free: 3.375 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.001281/0.001281, allocations: 156.5 kB / 24.55 MB, free: 20 kB / 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.8869/0.8869, allocations: 177 MB / 204.8 MB, free: 5.605 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=1000,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=1000,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.724e-06/1.724e-06, allocations: 0 / 273 MB, free: 1.422 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.479e-05/2.651e-05, allocations: 2.312 kB / 273 MB, free: 1.418 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.1304/0.1304, allocations: 24.46 MB / 297.4 MB, free: 14.09 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0118/0.1422, allocations: 7.964 MB / 305.4 MB, free: 11.93 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002785/0.145, allocations: 218.4 kB / 305.6 MB, free: 11.86 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008489/0.1535, allocations: 8.972 MB / 314.6 MB, free: 6.375 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006078/0.1595, allocations: 3.162 MB / 317.7 MB, free: 3.887 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002652/0.1622, allocations: 1.84 MB / 319.6 MB, free: 2.461 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.008849/0.171, allocations: 11.7 MB / 331.3 MB, free: 8.145 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01676/0.1878, allocations: 14.54 MB / 345.8 MB, free: 9.465 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009829/0.1976, allocations: 9.037 MB / 354.9 MB, free: 420 kB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007114/0.2047, allocations: 6.387 MB / 361.2 MB, free: 10.01 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002854/0.2076, allocations: 1.711 MB / 363 MB, free: 8.301 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003615/0.2112, allocations: 2.155 MB / 365.1 MB, free: 6.145 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001981/0.2132, allocations: 3.511 MB / 368.6 MB, free: 2.625 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005053/0.2182, allocations: 4.273 MB / 372.9 MB, free: 14.34 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01016/0.2284, allocations: 10.88 MB / 383.8 MB, free: 3.438 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.2284, allocations: 0 / 383.8 MB, free: 3.438 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.2284, allocations: 0 / 383.8 MB, free: 3.438 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0003979/0.2288, allocations: 0 / 383.8 MB, free: 3.438 MB / 330.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.0207/0.2495, allocations: 14.38 MB / 398.2 MB, free: 4.953 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/0.2495, allocations: 15.97 kB / 398.2 MB, free: 4.938 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0186/0.2681, allocations: 7.857 MB / 406 MB, free: 13.07 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008259/0.2764, allocations: 6.996 MB / 413 MB, free: 5.98 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004139/0.2768, allocations: 0.7224 MB / 413.7 MB, free: 5.258 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001881/0.2787, allocations: 0.9491 MB / 414.7 MB, free: 4.309 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01398/0.2927, allocations: 8.48 MB / 423.2 MB, free: 11.73 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001547/0.2928, allocations: 19.89 kB / 423.2 MB, free: 11.71 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006533/0.2935, allocations: 400 kB / 423.6 MB, free: 11.32 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00036/0.2938, allocations: 0.5552 MB / 424.1 MB, free: 10.76 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009945/0.3038, allocations: 4.712 MB / 428.8 MB, free: 6.023 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2451/0.5489, allocations: 41.77 MB / 470.6 MB, free: 71.03 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0068/0.5557, allocations: 6.698 MB / 477.3 MB, free: 69.57 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001882/0.5576, allocations: 1.539 MB / 478.9 MB, free: 69.25 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002383/0.5578, allocations: 143.1 kB / 479 MB, free: 69.23 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.604e-05/0.5578, allocations: 86.02 kB / 479.1 MB, free: 69.16 MB / 378.8 MB Notification: Performance of pre-optimization done (n=447): time 7.123e-06/0.5578, allocations: 0 / 479.1 MB, free: 69.16 MB / 378.8 MB Notification: Performance of matching and sorting (n=452): time 0.02268/0.5805, allocations: 12.71 MB / 491.8 MB, free: 58.23 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.311e-05/0.5806, allocations: 104 kB / 491.9 MB, free: 58.11 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003198/0.5838, allocations: 3.828 MB / 495.7 MB, free: 54.39 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.000209/0.584, allocations: 97.7 kB / 495.8 MB, free: 54.29 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001481/0.5855, allocations: 4.616 MB / 0.4887 GB, free: 50.34 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007104/0.5862, allocations: 1.645 MB / 0.4903 GB, free: 48.83 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00111/0.5873, allocations: 1.328 MB / 0.4916 GB, free: 47.49 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 3.465e-05/0.5873, allocations: 484.8 kB / 0.4921 GB, free: 47.01 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001409/0.5887, allocations: 0.9685 MB / 0.493 GB, free: 46.04 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002127/0.5908, allocations: 4.201 MB / 0.4971 GB, free: 40.54 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00412/0.595, allocations: 5.767 MB / 0.5027 GB, free: 33.73 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.737e-05/0.595, allocations: 20.88 kB / 0.5028 GB, free: 33.71 MB / 378.8 MB Notification: Performance of matching and sorting (n=794) (initialization): time 0.006996/0.602, allocations: 5.736 MB / 0.5084 GB, free: 28.43 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.906e-05/0.602, allocations: 36 kB / 0.5084 GB, free: 28.4 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.075e-05/0.6021, allocations: 68 kB / 0.5085 GB, free: 28.33 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002334/0.6044, allocations: 1.266 MB / 0.5097 GB, free: 27.06 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002507/0.6069, allocations: 1.395 MB / 0.5111 GB, free: 25.76 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007128/0.614, allocations: 8.763 MB / 0.5196 GB, free: 16.82 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002372/0.6164, allocations: 339.6 kB / 0.5199 GB, free: 16.49 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002963/0.6167, allocations: 303.9 kB / 0.5202 GB, free: 16.2 MB / 378.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.001703/0.6184, allocations: 0.5528 MB / 0.5208 GB, free: 15.73 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006201/0.619, allocations: 0.6025 MB / 0.5214 GB, free: 15.12 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005915/0.625, allocations: 5.446 MB / 0.5267 GB, free: 9.648 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003895/0.6289, allocations: 2.987 MB / 0.5296 GB, free: 6.688 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.066e-05/0.6289, allocations: 12 kB / 0.5296 GB, free: 6.676 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.259e-05/0.6289, allocations: 23.91 kB / 0.5296 GB, free: 6.652 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01514/0.644, allocations: 12.04 MB / 0.5414 GB, free: 10.64 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.106e-05/0.644, allocations: 4 kB / 0.5414 GB, free: 10.63 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001757/0.6458, allocations: 0.8118 MB / 0.5422 GB, free: 9.863 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002309/0.6481, allocations: 1.15 MB / 0.5433 GB, free: 8.703 MB / 394.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002014/0.6483, allocations: 107.3 kB / 0.5434 GB, free: 8.602 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007579/0.6559, allocations: 8.275 MB / 0.5515 GB, free: 144 kB / 394.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/0.6559, allocations: 15.98 kB / 0.5515 GB, free: 132 kB / 394.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007801/0.6637, allocations: 5.382 MB / 0.5568 GB, free: 10.61 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001418/0.6651, allocations: 0.9379 MB / 0.5577 GB, free: 9.672 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00036/0.6655, allocations: 95.98 kB / 0.5578 GB, free: 9.578 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001099/0.6666, allocations: 223.8 kB / 0.558 GB, free: 9.359 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004803/0.667, allocations: 354.2 kB / 0.5583 GB, free: 9.02 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001969/0.6672, allocations: 136 kB / 0.5585 GB, free: 8.887 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.002315/0.6696, allocations: 1.826 MB / 0.5602 GB, free: 7.082 MB / 410.8 MB Notification: Performance of sort global known variables: time 1.8e-07/0.6696, allocations: 0.7656 kB / 0.5602 GB, free: 7.082 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.003762/0.6733, allocations: 1.715 MB / 0.5619 GB, free: 5.367 MB / 410.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.001107/0.6744, allocations: 0.5123 MB / 0.5624 GB, free: 5.043 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.006534/0.681, allocations: 4.651 MB / 0.567 GB, free: 0.5742 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 6.132e-06/0.681, allocations: 4 kB / 0.567 GB, free: 0.5703 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.00307/0.684, allocations: 2.538 MB / 0.5694 GB, free: 14.09 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00259/0.6866, allocations: 0.9904 MB / 0.5704 GB, free: 13.13 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1333/0.8199, allocations: 15.02 MB / 0.5851 GB, free: 123.4 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003859/0.8238, allocations: 2.748 MB / 0.5878 GB, free: 123.1 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.003444/0.8272, allocations: 1.752 MB / 0.5895 GB, free: 123 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008675/0.8281, allocations: 383.9 kB / 0.5898 GB, free: 123 MB / 426.8 MB Notification: Performance of SimCode: time 1.703e-06/0.8281, allocations: 0 / 0.5898 GB, free: 123 MB / 426.8 MB Notification: Performance of Templates: time 0.08775/0.9159, allocations: 68.59 MB / 0.6568 GB, free: 73.43 MB / 426.8 MB " [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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.412037982139736]