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.001248/0.001255, allocations: 104.2 kB / 16.27 MB, free: 6 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.001377/0.001377, allocations: 184 kB / 17.19 MB, free: 5.621 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.567/1.567, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.2355/0.2355, allocations: 43.54 MB / 313.9 MB, free: 0.5273 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.001399/0.001399, allocations: 68.09 kB / 382.7 MB, free: 56.69 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09239/0.0938, allocations: 57.79 MB / 440.5 MB, free: 6.906 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.009579/0.1034, allocations: 10.55 MB / 451.1 MB, free: 12.3 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006858/0.1103, allocations: 3.241 MB / 454.3 MB, free: 9.047 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001982/0.1123, allocations: 59.81 kB / 454.4 MB, free: 8.988 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004676/0.1171, allocations: 2.371 MB / 456.7 MB, free: 6.609 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003443/0.1206, allocations: 1.221 MB / 458 MB, free: 5.383 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00127/0.1219, allocations: 0.5107 MB / 458.5 MB, free: 4.871 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003581/0.1254, allocations: 2.971 MB / 461.4 MB, free: 1.895 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00314/0.1286, allocations: 3.029 MB / 464.5 MB, free: 14.81 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001422/0.13, allocations: 1.277 MB / 465.8 MB, free: 13.53 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001811/0.1319, allocations: 1.732 MB / 467.5 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004521/0.1323, allocations: 292 kB / 467.8 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001565/0.1339, allocations: 0.9792 MB / 468.8 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001231/0.1352, allocations: 1.613 MB / 470.4 MB, free: 8.91 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001683/0.1368, allocations: 1.981 MB / 472.3 MB, free: 6.918 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005383/0.1422, allocations: 6.043 MB / 478.4 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.1423, allocations: 0 / 478.4 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1423, allocations: 0 / 478.4 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.8e-05/0.1424, allocations: 4 kB / 478.4 MB, free: 0.8516 MB / 350.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.006619/0.149, allocations: 4.257 MB / 482.6 MB, free: 12.53 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.149, allocations: 15.89 kB / 482.7 MB, free: 12.51 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005717/0.1548, allocations: 1.809 MB / 484.5 MB, free: 10.7 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002724/0.1575, allocations: 1.75 MB / 486.2 MB, free: 8.895 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001522/0.1577, allocations: 233.7 kB / 486.5 MB, free: 8.664 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004916/0.1582, allocations: 299.8 kB / 486.7 MB, free: 8.371 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0185/0.1767, allocations: 10.63 MB / 497.4 MB, free: 13.12 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.261e-05/0.1768, allocations: 39.64 kB / 497.4 MB, free: 13.08 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003717/0.1772, allocations: 139.9 kB / 497.5 MB, free: 12.95 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003425/0.1806, allocations: 2.044 MB / 499.6 MB, free: 10.89 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0199/0.2005, allocations: 9.324 MB / 0.497 GB, free: 1.551 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2509/0.4515, allocations: 38 MB / 0.5341 GB, free: 64.34 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01038/0.4619, allocations: 4.164 MB / 0.5382 GB, free: 63.63 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002634/0.4646, allocations: 2.314 MB / 0.5404 GB, free: 63.59 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007255/0.4718, allocations: 6.022 MB / 0.5463 GB, free: 61.42 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.535e-05/0.4719, allocations: 57 kB / 0.5464 GB, free: 61.38 MB / 414.1 MB Notification: Performance of pre-optimization done (n=181): time 4.488e-06/0.4719, allocations: 0 / 0.5464 GB, free: 61.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=210): time 0.05564/0.5276, allocations: 21.94 MB / 0.5678 GB, free: 50.33 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.947e-05/0.5276, allocations: 149.3 kB / 0.5679 GB, free: 50.16 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003297/0.531, allocations: 3.393 MB / 0.5712 GB, free: 46.76 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002352/0.5312, allocations: 57.7 kB / 0.5713 GB, free: 46.7 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009921/0.5322, allocations: 2.791 MB / 0.574 GB, free: 43.91 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005211/0.5327, allocations: 0.7923 MB / 0.5748 GB, free: 43.12 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001185/0.5339, allocations: 1.197 MB / 0.576 GB, free: 41.91 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 4.838e-05/0.534, allocations: 309 kB / 0.5763 GB, free: 41.61 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002594/0.5366, allocations: 2.331 MB / 0.5785 GB, free: 39.27 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004034/0.5406, allocations: 5.781 MB / 0.5842 GB, free: 31.83 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007582/0.5483, allocations: 8.806 MB / 0.5928 GB, free: 21.52 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.741e-05/0.5484, allocations: 36 kB / 0.5928 GB, free: 21.49 MB / 414.1 MB Notification: Performance of matching and sorting (n=775) (initialization): time 0.01245/0.5608, allocations: 8.683 MB / 0.6013 GB, free: 12.79 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.857e-05/0.5609, allocations: 56.19 kB / 0.6014 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.851e-05/0.561, allocations: 128 kB / 0.6015 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002381/0.5634, allocations: 1.041 MB / 0.6025 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003884/0.5673, allocations: 1.376 MB / 0.6038 GB, free: 10.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004339/0.5716, allocations: 5.82 MB / 0.6095 GB, free: 4.094 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004071/0.5757, allocations: 328.2 kB / 0.6098 GB, free: 3.773 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004864/0.5762, allocations: 363.9 kB / 0.6102 GB, free: 3.418 MB / 414.1 MB 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.002276/0.5785, allocations: 1.944 MB / 0.6121 GB, free: 1.465 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004491/0.579, allocations: 308 kB / 0.6124 GB, free: 1.16 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006434/0.5854, allocations: 3.943 MB / 0.6162 GB, free: 13.19 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.85e-05/0.5855, allocations: 24 kB / 0.6162 GB, free: 13.16 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.359e-05/0.5855, allocations: 7.516 kB / 0.6163 GB, free: 13.16 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.042e-05/0.5855, allocations: 15.91 kB / 0.6163 GB, free: 13.14 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01464/0.6002, allocations: 8.89 MB / 0.625 GB, free: 4.207 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.767e-05/0.6002, allocations: 0 / 0.625 GB, free: 4.207 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00177/0.602, allocations: 351.5 kB / 0.6253 GB, free: 3.863 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002486/0.6045, allocations: 0.8812 MB / 0.6261 GB, free: 2.969 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002413/0.6048, allocations: 32 kB / 0.6262 GB, free: 2.938 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005606/0.6104, allocations: 5.09 MB / 0.6311 GB, free: 13.57 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.672e-06/0.6104, allocations: 11.91 kB / 0.6312 GB, free: 13.56 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01084/0.6213, allocations: 6.857 MB / 0.6379 GB, free: 6.676 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001513/0.6228, allocations: 0.6726 MB / 0.6385 GB, free: 5.98 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004234/0.6232, allocations: 36 kB / 0.6385 GB, free: 5.945 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001437/0.6247, allocations: 116 kB / 0.6387 GB, free: 5.832 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003444/0.625, allocations: 125.1 kB / 0.6388 GB, free: 5.707 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001493/0.6252, allocations: 52 kB / 0.6388 GB, free: 5.656 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0031/0.6283, allocations: 2.085 MB / 0.6409 GB, free: 3.578 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6283, allocations: 0 / 0.6409 GB, free: 3.578 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004516/0.6328, allocations: 0.9659 MB / 0.6418 GB, free: 2.617 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 7 (sps1.s_damper,universal1.phi_a,universal1.phi_b,universal1.w_a,universal1.w_b,prismatic1.s,prismatic1.v) * 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 (178): * Single equations (assignments): 171 * 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,6,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004924/0.6334, allocations: 181.5 kB / 0.642 GB, free: 2.438 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01402/0.6474, allocations: 7.836 MB / 0.6496 GB, free: 10.58 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.051e-05/0.6474, allocations: 0 / 0.6496 GB, free: 10.58 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004517/0.652, allocations: 2.471 MB / 0.652 GB, free: 8.039 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002447/0.6544, allocations: 359.3 kB / 0.6524 GB, free: 7.691 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01687/0.6713, allocations: 9.137 MB / 0.6613 GB, free: 14.55 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00377/0.6752, allocations: 3.022 MB / 0.6643 GB, free: 11.5 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.005231/0.6804, allocations: 1.865 MB / 0.6661 GB, free: 9.621 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009284/0.6814, allocations: 239.4 kB / 0.6663 GB, free: 9.387 MB / 478.1 MB Notification: Performance of SimCode: time 1.072e-06/0.6814, allocations: 0 / 0.6663 GB, free: 9.387 MB / 478.1 MB Notification: Performance of Templates: time 0.0716/0.753, allocations: 37.02 MB / 0.7025 GB, free: 4.477 MB / 0.4981 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/SpringDamperSeries/SpringDamperSeries.csv","/var/lib/jenkins/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