Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries.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.MultiBody.Forces.SpringDamperSeries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic1.s|prismatic1.v|sps1.s_damper|universal1.phi_a|universal1.phi_b|universal1.w_a|universal1.w_b",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries") translateModel(ModelicaTest.MultiBody.Forces.SpringDamperSeries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic1.s|prismatic1.v|sps1.s_damper|universal1.phi_a|universal1.phi_b|universal1.w_a|universal1.w_b",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001274/0.001274, allocations: 107.5 kB / 17.09 MB, free: 6.008 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.001352/0.001352, allocations: 199.3 kB / 18.02 MB, free: 5.094 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.33/1.33, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1992/0.1992, allocations: 43.53 MB / 314.8 MB, free: 472 kB / 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.001678/0.001679, allocations: 72.36 kB / 442.5 MB, free: 5.668 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1195, allocations: 57.78 MB / 0.4885 GB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.01355/0.1331, allocations: 10.57 MB / 0.4989 GB, free: 1.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008142/0.1413, allocations: 3.245 MB / 0.502 GB, free: 13.93 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002033/0.1433, allocations: 59.81 kB / 0.5021 GB, free: 13.87 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004639/0.148, allocations: 2.355 MB / 0.5044 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003877/0.1519, allocations: 1.217 MB / 0.5056 GB, free: 10.28 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001565/0.1535, allocations: 0.5185 MB / 0.5061 GB, free: 9.762 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004527/0.1581, allocations: 2.983 MB / 0.509 GB, free: 6.77 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00418/0.1622, allocations: 3.021 MB / 0.512 GB, free: 3.695 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002264/0.1645, allocations: 1.289 MB / 0.5132 GB, free: 2.402 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002819/0.1674, allocations: 1.729 MB / 0.5149 GB, free: 0.668 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001051/0.1684, allocations: 292 kB / 0.5152 GB, free: 392 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002454/0.1709, allocations: 0.9792 MB / 0.5161 GB, free: 15.4 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002052/0.173, allocations: 1.605 MB / 0.5177 GB, free: 13.79 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003366/0.1763, allocations: 1.988 MB / 0.5197 GB, free: 11.79 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007462/0.1838, allocations: 6.279 MB / 0.5258 GB, free: 5.492 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.1839, allocations: 0 / 0.5258 GB, free: 5.492 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.1839, allocations: 0 / 0.5258 GB, free: 5.492 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001581/0.184, allocations: 0 / 0.5258 GB, free: 5.492 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1473 * Number of variables: 1473 Notification: Performance of Generate backend data structure: time 0.007884/0.1919, allocations: 4.257 MB / 0.5299 GB, free: 1.172 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.402e-05/0.192, allocations: 15.88 kB / 0.53 GB, free: 1.156 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2706/0.4626, allocations: 1.802 MB / 0.5317 GB, free: 36.94 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003709/0.4664, allocations: 1.777 MB / 0.5334 GB, free: 36.39 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001765/0.4666, allocations: 230.5 kB / 0.5337 GB, free: 36.38 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006007/0.4672, allocations: 301.2 kB / 0.534 GB, free: 36.38 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02052/0.4877, allocations: 10.63 MB / 0.5443 GB, free: 32.77 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001021/0.4879, allocations: 42.41 kB / 0.5444 GB, free: 32.74 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003664/0.4882, allocations: 146.9 kB / 0.5445 GB, free: 32.68 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003481/0.4917, allocations: 2.039 MB / 0.5465 GB, free: 32.31 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02016/0.5119, allocations: 9.329 MB / 0.5556 GB, free: 28.88 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03916/0.5511, allocations: 37.85 MB / 0.5926 GB, free: 7.371 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01029/0.5614, allocations: 4.176 MB / 0.5967 GB, free: 3.035 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002687/0.5641, allocations: 2.307 MB / 0.5989 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007944/0.5721, allocations: 6.02 MB / 0.6048 GB, free: 10.44 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.935e-05/0.5722, allocations: 55.88 kB / 0.6048 GB, free: 10.38 MB / 446.1 MB Notification: Performance of pre-optimization done (n=181): time 4.879e-06/0.5722, allocations: 0 / 0.6048 GB, free: 10.38 MB / 446.1 MB Notification: Performance of matching and sorting (n=210): time 0.06397/0.6362, allocations: 21.95 MB / 0.6263 GB, free: 4.258 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.087e-05/0.6363, allocations: 153.8 kB / 0.6264 GB, free: 4.078 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005651/0.6419, allocations: 3.391 MB / 0.6297 GB, free: 0.6797 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003058/0.6423, allocations: 57.64 kB / 0.6298 GB, free: 0.6172 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002101/0.6444, allocations: 2.794 MB / 0.6325 GB, free: 13.78 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001027/0.6454, allocations: 0.7982 MB / 0.6333 GB, free: 12.97 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002493/0.6479, allocations: 1.198 MB / 0.6345 GB, free: 11.76 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001216/0.6481, allocations: 301.1 kB / 0.6347 GB, free: 11.46 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003737/0.6518, allocations: 2.327 MB / 0.637 GB, free: 9.133 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006467/0.6583, allocations: 5.785 MB / 0.6427 GB, free: 1.633 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01095/0.6693, allocations: 8.805 MB / 0.6513 GB, free: 7.121 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.936e-05/0.6694, allocations: 32 kB / 0.6513 GB, free: 7.09 MB / 494.1 MB Notification: Performance of matching and sorting (n=775) (initialization): time 0.01529/0.6847, allocations: 8.673 MB / 0.6598 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.471e-05/0.6848, allocations: 59.98 kB / 0.6598 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001163/0.6849, allocations: 120 kB / 0.6599 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00276/0.6877, allocations: 1.042 MB / 0.661 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004542/0.6922, allocations: 1.388 MB / 0.6623 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006531/0.6988, allocations: 5.81 MB / 0.668 GB, free: 5.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004326/0.7031, allocations: 319.5 kB / 0.6683 GB, free: 5.367 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009917/0.7041, allocations: 364.1 kB / 0.6686 GB, free: 5.012 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 553 * Number of states: 0 () * Number of discrete variables: 36 (prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],universal1.cylinderColor[3],universal1.cylinderColor[2],universal1.cylinderColor[1],pointMass.sphereColor[3],pointMass.sphereColor[2],pointMass.sphereColor[1],s1.color[3],s1.color[2],s1.color[1],s1.massColor[3],s1.massColor[2],s1.massColor[1],sps1.color[3],sps1.color[2],sps1.color[1],sps1.color_b[3],sps1.color_b[2],sps1.color_b[1],sps1.color_a[3],sps1.color_a[2],sps1.color_a[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (734): * Single equations (assignments): 727 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(3,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,9,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004029/0.7082, allocations: 1.955 MB / 0.6705 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000878/0.709, allocations: 308 kB / 0.6708 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009014/0.7181, allocations: 3.942 MB / 0.6747 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.789e-05/0.7181, allocations: 15.95 kB / 0.6747 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.003e-06/0.7181, allocations: 0 / 0.6747 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001904/0.72, allocations: 0.6765 MB / 0.6754 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008181/0.7209, allocations: 32 kB / 0.6754 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001794/0.7227, allocations: 115.8 kB / 0.6755 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003627/0.7231, allocations: 129 kB / 0.6756 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.009235/0.7323, allocations: 4.497 MB / 0.68 GB, free: 9.27 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.008787/0.7411, allocations: 6.187 MB / 0.6861 GB, free: 3.066 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00217/0.7433, allocations: 1.666 MB / 0.6877 GB, free: 1.398 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003595/0.7469, allocations: 2.085 MB / 0.6897 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of Backend: time 6.81e-07/0.7469, allocations: 0 / 0.6897 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.009617/0.7566, allocations: 4.855 MB / 0.6945 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of SimCode: time 0.01449/0.7711, allocations: 8.495 MB / 0.7028 GB, free: 1.887 MB / 0.5294 GB Notification: Performance of Templates: time 0.08558/0.8567, allocations: 45.74 MB / 0.7474 GB, free: 4.121 MB / 0.5762 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/SpringDamperSeries/SpringDamperSeries.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches