Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Rotational.InitializationConversion.SpringDamper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|relativeStates.phi_rel|relativeStates.w_rel|springDamper1.phi_rel|springDamper1.w_rel|springDamper2.phi_rel|springDamper2.w_rel|springDamper3.phi_rel|springDamper3.w_rel",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper") translateModel(ModelicaTest.Rotational.InitializationConversion.SpringDamper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|relativeStates.phi_rel|relativeStates.w_rel|springDamper1.phi_rel|springDamper1.w_rel|springDamper2.phi_rel|springDamper2.w_rel|springDamper3.phi_rel|springDamper3.w_rel",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001494/0.001494, allocations: 117.6 kB / 17.79 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001798/0.001798, allocations: 200.7 kB / 18.74 MB, free: 4.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.508/1.508, allocations: 227.4 MB / 246.9 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2264/0.2264, allocations: 46.11 MB / 344.3 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 71.88 kB / 481.3 MB, free: 4.051 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4319/0.4331, allocations: 62.43 MB / 0.531 GB, free: 13.57 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.004654/0.4378, allocations: 3.284 MB / 0.5342 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001587/0.4395, allocations: 0.8307 MB / 0.535 GB, free: 10.28 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001964/0.4397, allocations: 10.97 kB / 0.535 GB, free: 10.27 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002085/0.4399, allocations: 70.53 kB / 0.5351 GB, free: 10.21 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003146/0.4402, allocations: 178 kB / 0.5352 GB, free: 10.05 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002379/0.4405, allocations: 112.9 kB / 0.5354 GB, free: 9.953 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005751/0.4411, allocations: 0.5891 MB / 0.5359 GB, free: 9.598 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003281/0.4414, allocations: 172.1 kB / 0.5361 GB, free: 9.496 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002538/0.4417, allocations: 220.7 kB / 0.5363 GB, free: 9.375 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003062/0.442, allocations: 236.1 kB / 0.5365 GB, free: 9.219 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.287e-05/0.4421, allocations: 43.16 kB / 0.5366 GB, free: 9.219 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.86e-05/0.4422, allocations: 47.94 kB / 0.5366 GB, free: 9.215 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.102e-05/0.4423, allocations: 106.3 kB / 0.5367 GB, free: 9.125 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002893/0.4426, allocations: 266 kB / 0.537 GB, free: 8.957 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000605/0.4432, allocations: 0.5647 MB / 0.5375 GB, free: 8.555 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.4432, allocations: 0 / 0.5375 GB, free: 8.555 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.4432, allocations: 0 / 0.5375 GB, free: 8.555 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.484e-05/0.4432, allocations: 0 / 0.5375 GB, free: 8.555 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.001076/0.4443, allocations: 0.768 MB / 0.5383 GB, free: 7.906 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.4443, allocations: 9.031 kB / 0.5383 GB, free: 7.906 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001203/0.4445, allocations: 59.67 kB / 0.5383 GB, free: 7.875 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004138/0.4449, allocations: 326.8 kB / 0.5386 GB, free: 7.559 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.518e-05/0.4449, allocations: 36.53 kB / 0.5387 GB, free: 7.543 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.863e-05/0.445, allocations: 60.81 kB / 0.5387 GB, free: 7.516 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007082/0.4457, allocations: 444.6 kB / 0.5392 GB, free: 7.238 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.406e-05/0.4458, allocations: 10.84 kB / 0.5392 GB, free: 7.23 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.965e-05/0.4458, allocations: 20.28 kB / 0.5392 GB, free: 7.215 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.672e-05/0.4458, allocations: 12.12 kB / 0.5392 GB, free: 7.215 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00052/0.4464, allocations: 311.6 kB / 0.5395 GB, free: 7.074 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001615/0.448, allocations: 1.151 MB / 0.5406 GB, free: 6.156 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007978/0.4488, allocations: 480.5 kB / 0.5411 GB, free: 5.855 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003551/0.4492, allocations: 222.1 kB / 0.5413 GB, free: 5.738 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.214e-05/0.4492, allocations: 10.53 kB / 0.5413 GB, free: 5.734 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.932e-05/0.4492, allocations: 38.44 kB / 0.5413 GB, free: 5.691 MB / 398.1 MB Notification: Performance of pre-optimization done (n=62): time 1.964e-06/0.4493, allocations: 0 / 0.5413 GB, free: 5.691 MB / 398.1 MB Notification: Performance of matching and sorting (n=74): time 0.003442/0.4527, allocations: 2.147 MB / 0.5434 GB, free: 4.129 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.61e-05/0.4528, allocations: 85.95 kB / 0.5435 GB, free: 4.035 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003129/0.4531, allocations: 259 kB / 0.5438 GB, free: 3.852 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.644e-05/0.4532, allocations: 36.48 kB / 0.5438 GB, free: 3.812 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001643/0.4533, allocations: 216.9 kB / 0.544 GB, free: 3.617 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002108/0.4535, allocations: 279.7 kB / 0.5443 GB, free: 3.371 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001752/0.4537, allocations: 123.4 kB / 0.5444 GB, free: 3.293 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001952/0.4539, allocations: 357.1 kB / 0.5447 GB, free: 2.945 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003066/0.4542, allocations: 166.4 kB / 0.5449 GB, free: 2.867 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003903/0.4546, allocations: 277.4 kB / 0.5452 GB, free: 2.668 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006354/0.4553, allocations: 474 kB / 0.5456 GB, free: 2.191 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.4553, allocations: 4 kB / 0.5456 GB, free: 2.188 MB / 398.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0008052/0.4561, allocations: 0.5685 MB / 0.5462 GB, free: 1.613 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.234e-05/0.4561, allocations: 4 kB / 0.5462 GB, free: 1.609 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/0.4562, allocations: 4 kB / 0.5462 GB, free: 1.605 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.069e-05/0.4562, allocations: 8 kB / 0.5462 GB, free: 1.598 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005425/0.4567, allocations: 179.8 kB / 0.5464 GB, free: 1.422 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.533e-05/0.4567, allocations: 7.938 kB / 0.5464 GB, free: 1.414 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002455/0.457, allocations: 27.98 kB / 0.5464 GB, free: 1.387 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.677e-05/0.457, allocations: 27.94 kB / 0.5464 GB, free: 1.359 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (97): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002624/0.4573, allocations: 181.7 kB / 0.5466 GB, free: 1.172 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.822e-05/0.4574, allocations: 47.72 kB / 0.5466 GB, free: 1.125 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001197/0.4575, allocations: 55.64 kB / 0.5467 GB, free: 1.066 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.4576, allocations: 8 kB / 0.5467 GB, free: 1.059 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.401e-05/0.4576, allocations: 4 kB / 0.5467 GB, free: 1.055 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.174e-05/0.4576, allocations: 3.984 kB / 0.5467 GB, free: 1.051 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002097/0.4597, allocations: 1.448 MB / 0.5481 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.4597, allocations: 3.938 kB / 0.5481 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006997/0.4604, allocations: 159.8 kB / 0.5483 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.749e-06/0.4604, allocations: 4 kB / 0.5483 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.985e-05/0.4605, allocations: 19.94 kB / 0.5483 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.576e-06/0.4605, allocations: 8 kB / 0.5483 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.4605, allocations: 0 / 0.5483 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001218/0.4617, allocations: 0.9239 MB / 0.5492 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002158/0.462, allocations: 120.8 kB / 0.5493 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.887e-05/0.462, allocations: 27.92 kB / 0.5493 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002756/0.4623, allocations: 16 kB / 0.5494 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.124e-05/0.4624, allocations: 52.38 kB / 0.5494 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.212e-05/0.4624, allocations: 20 kB / 0.5494 GB, free: 14.07 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001665/0.4626, allocations: 185.9 kB / 0.5496 GB, free: 13.89 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4626, allocations: 0 / 0.5496 GB, free: 13.89 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005158/0.4631, allocations: 140 kB / 0.5497 GB, free: 13.75 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 14 (inertia6.phi,inertia6.w,relativeStates.phi_rel,relativeStates.w_rel,inertia4.phi,inertia4.w,inertia5.phi,inertia5.w,springDamper1.phi_rel,springDamper1.w_rel,springDamper2.phi_rel,springDamper2.w_rel,springDamper3.phi_rel,springDamper3.w_rel) * 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 (74): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001645/0.4633, allocations: 123.1 kB / 0.5499 GB, free: 13.62 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000746/0.4641, allocations: 463.7 kB / 0.5503 GB, free: 13.17 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.4641, allocations: 0 / 0.5503 GB, free: 13.17 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000306/0.4644, allocations: 242.2 kB / 0.5505 GB, free: 12.93 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009045/0.4653, allocations: 123.1 kB / 0.5507 GB, free: 12.82 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002899/0.4682, allocations: 1.671 MB / 0.5523 GB, free: 11.09 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004623/0.4687, allocations: 0.8524 MB / 0.5531 GB, free: 10.21 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002138/0.4689, allocations: 56.64 kB / 0.5532 GB, free: 10.15 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001046/0.469, allocations: 43.44 kB / 0.5532 GB, free: 10.11 MB / 414.1 MB Notification: Performance of SimCode: time 2.3e-07/0.469, allocations: 0 / 0.5532 GB, free: 10.11 MB / 414.1 MB Notification: Performance of Templates: time 0.01124/0.4803, allocations: 5.423 MB / 0.5585 GB, free: 4.742 MB / 414.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/InitializationConversion/SpringDamper/SpringDamper.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches