Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.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.0007109/0.0007109, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009708/0.001682, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.000693/0.000693, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008759/0.001569, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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.9564/0.9564, allocations: 177.4 MB / 189.9 MB, free: 4.836 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08769/1.044, allocations: 53.87 MB / 243.8 MB, free: 14.91 MB / 250.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_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|imcQS.rotorCage.port_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|imcQS.rotorCage.port_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 245 MB, free: 13.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.803e-05/1.929e-05, allocations: 2.312 kB / 245 MB, free: 13.64 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.02282/0.02284, allocations: 23.5 MB / 268.5 MB, free: 6.027 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1471/0.1699, allocations: 7.795 MB / 276.3 MB, free: 1.434 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004874/0.1748, allocations: 221.2 kB / 276.5 MB, free: 1.434 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01425/0.1891, allocations: 9.317 MB / 285.9 MB, free: 1.191 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01011/0.1992, allocations: 3.014 MB / 288.9 MB, free: 0.7109 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004803/0.204, allocations: 1.731 MB / 290.6 MB, free: 0.582 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01355/0.2175, allocations: 11.37 MB / 302 MB, free: 10.87 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0216/0.2391, allocations: 14.28 MB / 316.3 MB, free: 14.58 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01272/0.2519, allocations: 8.99 MB / 325.2 MB, free: 5.867 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008187/0.26, allocations: 6.28 MB / 331.5 MB, free: 15.95 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004154/0.2642, allocations: 1.668 MB / 333.2 MB, free: 14.28 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006037/0.2702, allocations: 2.069 MB / 335.3 MB, free: 12.23 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00375/0.274, allocations: 2.62 MB / 337.9 MB, free: 9.613 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.008374/0.2824, allocations: 3.467 MB / 341.4 MB, free: 6.141 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01429/0.2967, allocations: 9.842 MB / 351.2 MB, free: 12.68 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.532e-05/0.2967, allocations: 0 / 351.2 MB, free: 12.68 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.2967, allocations: 0 / 351.2 MB, free: 12.68 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0004538/0.2971, allocations: 3 kB / 351.2 MB, free: 12.68 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: 2620 * Number of variables: 2620 Notification: Performance of Generate backend data structure: time 0.02091/0.318, allocations: 13.86 MB / 365.1 MB, free: 15.34 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.3181, allocations: 8.625 kB / 365.1 MB, free: 15.34 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01812/0.3362, allocations: 6.311 MB / 371.4 MB, free: 9.223 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008419/0.3446, allocations: 3.613 MB / 375 MB, free: 5.824 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004543/0.3451, allocations: 0.7006 MB / 375.7 MB, free: 5.133 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002172/0.3472, allocations: 0.9211 MB / 376.6 MB, free: 4.223 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01396/0.3612, allocations: 7.769 MB / 384.4 MB, free: 12.79 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001761/0.3614, allocations: 7.953 kB / 384.4 MB, free: 12.78 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000783/0.3622, allocations: 390.9 kB / 384.8 MB, free: 12.41 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000665/0.3628, allocations: 0.5469 MB / 385.3 MB, free: 11.86 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007802/0.3706, allocations: 3.994 MB / 389.3 MB, free: 7.824 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04929/0.4199, allocations: 30.87 MB / 420.2 MB, free: 8.816 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009018/0.4289, allocations: 5.369 MB / 425.6 MB, free: 3.441 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001754/0.4307, allocations: 1 MB / 426.6 MB, free: 2.434 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002647/0.431, allocations: 131 kB / 426.7 MB, free: 2.305 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.919e-05/0.431, allocations: 69.69 kB / 426.8 MB, free: 2.227 MB / 394.7 MB Notification: Performance of pre-optimization done (n=398): time 7.735e-06/0.431, allocations: 0 / 426.8 MB, free: 2.227 MB / 394.7 MB Notification: Performance of matching and sorting (n=404): time 0.157/0.588, allocations: 7.746 MB / 434.5 MB, free: 98.89 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.935e-05/0.5881, allocations: 93.08 kB / 434.6 MB, free: 98.82 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002669/0.5907, allocations: 2.365 MB / 437 MB, free: 98.46 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001721/0.5909, allocations: 91.67 kB / 437 MB, free: 98.43 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001301/0.5922, allocations: 3.793 MB / 440.8 MB, free: 96.04 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006917/0.5929, allocations: 1.433 MB / 442.3 MB, free: 95.11 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001182/0.5941, allocations: 1.053 MB / 443.3 MB, free: 95.02 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 3.01e-05/0.5941, allocations: 308.5 kB / 443.6 MB, free: 94.72 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001189/0.5953, allocations: 0.7783 MB / 444.4 MB, free: 94.7 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001642/0.5969, allocations: 2.779 MB / 447.2 MB, free: 92.08 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003427/0.6004, allocations: 4.109 MB / 451.3 MB, free: 89.44 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.374e-05/0.6004, allocations: 19.19 kB / 451.3 MB, free: 89.44 MB / 394.7 MB Notification: Performance of matching and sorting (n=752) (initialization): time 0.00561/0.606, allocations: 3.943 MB / 455.2 MB, free: 89.24 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.047e-05/0.6061, allocations: 37.56 kB / 455.3 MB, free: 89.24 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.13e-05/0.6061, allocations: 73.83 kB / 455.4 MB, free: 89.23 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002342/0.6085, allocations: 1.039 MB / 456.4 MB, free: 89.19 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002733/0.6112, allocations: 1.388 MB / 457.8 MB, free: 89.19 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005359/0.6166, allocations: 4.549 MB / 462.3 MB, free: 87.72 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003222/0.6198, allocations: 220.6 kB / 462.6 MB, free: 87.7 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006111/0.6204, allocations: 230.6 kB / 462.8 MB, free: 87.7 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 319 * 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 (694): * Single equations (assignments): 692 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(14,44,41.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002296/0.6227, allocations: 0.4956 MB / 463.3 MB, free: 87.54 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006373/0.6233, allocations: 360.9 kB / 463.6 MB, free: 87.54 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003647/0.627, allocations: 2.737 MB / 466.4 MB, free: 87.27 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002218/0.6292, allocations: 1.773 MB / 468.1 MB, free: 87.12 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.194e-05/0.6292, allocations: 11.72 kB / 468.1 MB, free: 87.12 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.336e-05/0.6292, allocations: 23.31 kB / 468.2 MB, free: 87.12 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01029/0.6395, allocations: 8.244 MB / 476.4 MB, free: 86.12 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.088e-05/0.6395, allocations: 5.344 kB / 476.4 MB, free: 86.12 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00152/0.641, allocations: 0.7405 MB / 477.2 MB, free: 85.8 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001222/0.6423, allocations: 0.5043 MB / 477.7 MB, free: 85.36 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00159/0.6439, allocations: 0.9395 MB / 478.6 MB, free: 84.46 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001464/0.644, allocations: 88.38 kB / 478.7 MB, free: 84.43 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003848/0.6479, allocations: 4.178 MB / 482.9 MB, free: 80.27 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.519e-06/0.6479, allocations: 11.98 kB / 482.9 MB, free: 80.26 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003663/0.6515, allocations: 3.397 MB / 486.3 MB, free: 76.88 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004979/0.652, allocations: 79.98 kB / 486.4 MB, free: 76.8 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008728/0.6529, allocations: 99.98 kB / 486.5 MB, free: 76.7 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003143/0.6532, allocations: 302.6 kB / 486.7 MB, free: 76.41 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001406/0.6533, allocations: 83.97 kB / 486.8 MB, free: 76.33 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001051/0.6544, allocations: 1.083 MB / 487.9 MB, free: 75.38 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.6544, allocations: 4.031 kB / 487.9 MB, free: 75.38 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003666/0.6581, allocations: 1.602 MB / 489.5 MB, free: 73.77 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 2 (imcQS.rotorCage.port_p.reference.gamma,speed.phi) * 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 (389): * Single equations (assignments): 387 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(14,44,40.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000402/0.6585, allocations: 257.7 kB / 489.8 MB, free: 73.56 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003714/0.6622, allocations: 3.234 MB / 493 MB, free: 70.61 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 0.000134/0.6623, allocations: 99.59 kB / 493.1 MB, free: 70.51 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001706/0.664, allocations: 1.694 MB / 494.8 MB, free: 68.93 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002307/0.6663, allocations: 1.223 MB / 496 MB, free: 67.76 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05646/0.7228, allocations: 13.99 MB / 0.4981 GB, free: 53.71 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001944/0.7247, allocations: 1.864 MB / 0.4999 GB, free: 51.82 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002154/0.7269, allocations: 0.67 MB / 0.5005 GB, free: 51.14 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001509/0.7284, allocations: 0.8896 MB / 0.5014 GB, free: 50.24 MB / 394.7 MB Notification: Performance of SimCode: time 4.448e-06/0.7284, allocations: 3.469 kB / 0.5014 GB, free: 50.24 MB / 394.7 MB Notification: Performance of Templates: time 0.2237/0.9521, allocations: 68.58 MB / 0.5684 GB, free: 113.4 MB / 410.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_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_Characteristics/IMC_Characteristics.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: 4.849301897920668]