Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_3.2.3_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_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001352/0.001352, allocations: 94.09 kB / 15.98 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001567/0.001568, allocations: 195.6 kB / 16.91 MB, free: 6.195 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.765/1.765, allocations: 205.1 MB / 222.8 MB, free: 4.699 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4177/0.4177, allocations: 43.5 MB / 313.6 MB, free: 8.477 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001624/0.001624, allocations: 67.91 kB / 382.2 MB, free: 8.625 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1492/0.1508, allocations: 57.78 MB / 440 MB, free: 14.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.006849/0.1578, allocations: 3.304 MB / 443.3 MB, free: 11.43 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002753/0.1606, allocations: 0.8463 MB / 444.2 MB, free: 10.57 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003607/0.161, allocations: 11.94 kB / 444.2 MB, free: 10.56 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003/0.1614, allocations: 55.56 kB / 444.2 MB, free: 10.5 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005146/0.1619, allocations: 142.8 kB / 444.4 MB, free: 10.36 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003853/0.1623, allocations: 95.91 kB / 444.5 MB, free: 10.27 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007995/0.1631, allocations: 0.5986 MB / 445 MB, free: 9.668 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003815/0.1635, allocations: 173.3 kB / 445.2 MB, free: 9.492 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002964/0.1638, allocations: 219.2 kB / 445.4 MB, free: 9.277 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003411/0.1642, allocations: 242.9 kB / 445.7 MB, free: 9.039 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001037/0.1643, allocations: 40 kB / 445.7 MB, free: 9 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.724e-05/0.1644, allocations: 44 kB / 445.8 MB, free: 8.957 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001129/0.1645, allocations: 99.69 kB / 445.8 MB, free: 8.859 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003147/0.1648, allocations: 274.7 kB / 446.1 MB, free: 8.59 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006802/0.1655, allocations: 0.5488 MB / 446.7 MB, free: 8.039 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.1655, allocations: 0 / 446.7 MB, free: 8.039 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.185e-06/0.1656, allocations: 0 / 446.7 MB, free: 8.039 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.062e-05/0.1656, allocations: 0 / 446.7 MB, free: 8.039 MB / 382.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.00145/0.167, allocations: 0.7601 MB / 447.4 MB, free: 7.227 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.251e-05/0.1671, allocations: 11.89 kB / 447.4 MB, free: 7.215 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000116/0.1672, allocations: 56.28 kB / 447.5 MB, free: 7.16 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004461/0.1677, allocations: 322.4 kB / 447.8 MB, free: 6.809 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.946e-05/0.1678, allocations: 33.38 kB / 447.8 MB, free: 6.777 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001088/0.1679, allocations: 56.28 kB / 447.9 MB, free: 6.723 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009122/0.1688, allocations: 438.9 kB / 448.3 MB, free: 6.277 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.517e-05/0.1689, allocations: 7.906 kB / 448.3 MB, free: 6.27 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.831e-05/0.1689, allocations: 24 kB / 448.4 MB, free: 6.246 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.79e-05/0.1689, allocations: 12 kB / 448.4 MB, free: 6.234 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006468/0.1696, allocations: 312.5 kB / 448.7 MB, free: 5.93 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002244/0.1718, allocations: 1.15 MB / 449.8 MB, free: 4.727 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008058/0.1727, allocations: 489.1 kB / 450.3 MB, free: 4.211 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002984/0.173, allocations: 211 kB / 450.5 MB, free: 4 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.955e-05/0.173, allocations: 8.438 kB / 450.5 MB, free: 3.992 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.131e-05/0.1731, allocations: 35 kB / 450.5 MB, free: 3.945 MB / 382.1 MB Notification: Performance of pre-optimization done (n=62): time 1.473e-06/0.1731, allocations: 224 / 450.5 MB, free: 3.945 MB / 382.1 MB Notification: Performance of matching and sorting (n=74): time 0.002834/0.1759, allocations: 2.151 MB / 452.7 MB, free: 1.625 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.988e-05/0.176, allocations: 81.67 kB / 452.8 MB, free: 1.527 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002402/0.1762, allocations: 262.9 kB / 453 MB, free: 1.258 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.267e-05/0.1763, allocations: 33.7 kB / 453.1 MB, free: 1.219 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001345/0.1764, allocations: 213 kB / 453.3 MB, free: 1.008 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000168/0.1766, allocations: 264.1 kB / 453.5 MB, free: 0.7461 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001434/0.1767, allocations: 122.7 kB / 453.7 MB, free: 0.6211 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.1769, allocations: 354.7 kB / 454 MB, free: 272 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002287/0.1771, allocations: 161.9 kB / 454.2 MB, free: 108 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2547/0.4318, allocations: 269 kB / 454.4 MB, free: 48.77 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007138/0.4325, allocations: 473.3 kB / 454.9 MB, free: 48.66 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.4326, allocations: 0 / 454.9 MB, free: 48.66 MB / 382.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0008255/0.4334, allocations: 0.5651 MB / 455.4 MB, free: 48.61 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/0.4334, allocations: 9.078 kB / 455.5 MB, free: 48.61 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/0.4334, allocations: 5.281 kB / 455.5 MB, free: 48.61 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.221e-05/0.4335, allocations: 7.516 kB / 455.5 MB, free: 48.61 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005236/0.434, allocations: 183.3 kB / 455.6 MB, free: 48.61 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.703e-05/0.434, allocations: 8.531 kB / 455.7 MB, free: 48.61 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003052/0.4343, allocations: 25.91 kB / 455.7 MB, free: 48.61 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.093e-05/0.4344, allocations: 23.19 kB / 455.7 MB, free: 48.61 MB / 382.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.0001764/0.4346, allocations: 188.3 kB / 455.9 MB, free: 48.5 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.006e-05/0.4347, allocations: 46.95 kB / 455.9 MB, free: 48.5 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001016/0.4348, allocations: 54.02 kB / 456 MB, free: 48.5 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.233e-06/0.4348, allocations: 8.375 kB / 456 MB, free: 48.5 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/0.4348, allocations: 0 / 456 MB, free: 48.5 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.206e-06/0.4348, allocations: 6.656 kB / 456 MB, free: 48.5 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001729/0.4365, allocations: 1.443 MB / 457.4 MB, free: 47.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.4366, allocations: 4.375 kB / 457.4 MB, free: 47.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005577/0.4371, allocations: 157.1 kB / 457.6 MB, free: 47.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.618e-06/0.4371, allocations: 6.125 kB / 457.6 MB, free: 47.93 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.765e-05/0.4372, allocations: 24.83 kB / 457.6 MB, free: 47.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.436e-06/0.4372, allocations: 14.34 kB / 457.6 MB, free: 47.93 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.157e-06/0.4372, allocations: 5.156 kB / 457.7 MB, free: 47.93 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008078/0.438, allocations: 0.9054 MB / 458.6 MB, free: 47.61 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.892e-05/0.4381, allocations: 115.8 kB / 458.7 MB, free: 47.52 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.108e-05/0.4382, allocations: 23.78 kB / 458.7 MB, free: 47.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002831/0.4385, allocations: 22.83 kB / 458.7 MB, free: 47.51 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.628e-05/0.4386, allocations: 45 kB / 458.8 MB, free: 47.51 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.601e-05/0.4386, allocations: 26.3 kB / 458.8 MB, free: 47.51 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001277/0.4387, allocations: 178.8 kB / 459 MB, free: 47.43 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4387, allocations: 0 / 459 MB, free: 47.43 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004904/0.4392, allocations: 146.4 kB / 459.1 MB, free: 47.43 MB / 382.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.0001424/0.4394, allocations: 128.2 kB / 459.2 MB, free: 47.34 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007537/0.4402, allocations: 485.2 kB / 459.7 MB, free: 47.33 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/0.4402, allocations: 0 / 459.7 MB, free: 47.33 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002708/0.4404, allocations: 243.4 kB / 459.9 MB, free: 47.33 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008634/0.4413, allocations: 130.9 kB / 460.1 MB, free: 47.29 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002279/0.4436, allocations: 1.867 MB / 461.9 MB, free: 45.97 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003594/0.444, allocations: 0.8442 MB / 462.8 MB, free: 45.27 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003367/0.4443, allocations: 60.45 kB / 462.8 MB, free: 45.26 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001118/0.4445, allocations: 44.19 kB / 462.9 MB, free: 45.25 MB / 382.1 MB Notification: Performance of SimCode: time 4.71e-07/0.4445, allocations: 0 / 462.9 MB, free: 45.25 MB / 382.1 MB Notification: Performance of Templates: time 0.01135/0.4558, allocations: 5.296 MB / 468.2 MB, free: 44.89 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/InitializationConversion/SpringDamper/SpringDamper.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches