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.001547/0.001547, allocations: 117.8 kB / 17.08 MB, free: 5.992 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.001854/0.001855, allocations: 194.5 kB / 18.01 MB, free: 5.07 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.488/1.488, allocations: 205.1 MB / 223.9 MB, free: 12.24 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.215/0.215, allocations: 43.52 MB / 314.8 MB, free: 452 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.001612/0.001612, allocations: 77.45 kB / 442.5 MB, free: 5.641 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.1141, allocations: 57.78 MB / 0.4885 GB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.01294/0.1271, allocations: 10.58 MB / 0.4989 GB, free: 1.152 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00783/0.135, allocations: 3.26 MB / 0.5021 GB, free: 13.89 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001859/0.1369, allocations: 51.88 kB / 0.5021 GB, free: 13.84 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005021/0.1419, allocations: 2.351 MB / 0.5044 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00371/0.1457, allocations: 1.221 MB / 0.5056 GB, free: 10.25 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001692/0.1475, allocations: 0.5107 MB / 0.5061 GB, free: 9.738 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004901/0.1524, allocations: 2.983 MB / 0.509 GB, free: 6.746 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004625/0.1571, allocations: 3.029 MB / 0.512 GB, free: 3.664 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002534/0.1596, allocations: 1.289 MB / 0.5132 GB, free: 2.371 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002782/0.1624, allocations: 1.721 MB / 0.5149 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001008/0.1635, allocations: 292 kB / 0.5152 GB, free: 368 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002408/0.1659, allocations: 0.983 MB / 0.5161 GB, free: 15.38 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002146/0.1681, allocations: 1.601 MB / 0.5177 GB, free: 13.77 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003358/0.1715, allocations: 1.988 MB / 0.5196 GB, free: 11.77 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00865/0.1801, allocations: 6.279 MB / 0.5258 GB, free: 5.469 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.663e-06/0.1802, allocations: 3.938 kB / 0.5258 GB, free: 5.465 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.1802, allocations: 0 / 0.5258 GB, free: 5.465 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002447/0.1804, allocations: 0 / 0.5258 GB, free: 5.465 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.01089/0.1913, allocations: 4.249 MB / 0.5299 GB, free: 1.148 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/0.1914, allocations: 15.89 kB / 0.5299 GB, free: 1.133 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2131/0.4045, allocations: 1.802 MB / 0.5317 GB, free: 38.29 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003498/0.408, allocations: 1.785 MB / 0.5335 GB, free: 37.72 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001793/0.4082, allocations: 227.3 kB / 0.5337 GB, free: 37.71 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009684/0.4092, allocations: 300 kB / 0.534 GB, free: 37.71 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01971/0.4289, allocations: 10.63 MB / 0.5443 GB, free: 33.8 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001124/0.4291, allocations: 42.95 kB / 0.5444 GB, free: 33.77 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004045/0.4295, allocations: 143.8 kB / 0.5445 GB, free: 33.71 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003681/0.4332, allocations: 2.039 MB / 0.5465 GB, free: 33.34 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01878/0.452, allocations: 9.325 MB / 0.5556 GB, free: 29.87 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03918/0.4912, allocations: 37.85 MB / 0.5926 GB, free: 8.395 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01087/0.5021, allocations: 4.162 MB / 0.5966 GB, free: 4.066 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003073/0.5052, allocations: 2.317 MB / 0.5989 GB, free: 1.738 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008689/0.5139, allocations: 6.008 MB / 0.6048 GB, free: 11.47 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.199e-05/0.514, allocations: 58.91 kB / 0.6048 GB, free: 11.41 MB / 446.1 MB Notification: Performance of pre-optimization done (n=181): time 4.378e-06/0.514, allocations: 0 / 0.6048 GB, free: 11.41 MB / 446.1 MB Notification: Performance of matching and sorting (n=210): time 0.06702/0.5811, allocations: 21.96 MB / 0.6263 GB, free: 5.285 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.232e-05/0.5812, allocations: 149.8 kB / 0.6264 GB, free: 5.109 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005873/0.5871, allocations: 3.387 MB / 0.6297 GB, free: 1.715 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004837/0.5876, allocations: 57.7 kB / 0.6298 GB, free: 1.652 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00228/0.5899, allocations: 2.794 MB / 0.6325 GB, free: 14.81 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001199/0.5911, allocations: 0.8021 MB / 0.6333 GB, free: 14 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002762/0.5939, allocations: 1.19 MB / 0.6344 GB, free: 12.8 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001139/0.594, allocations: 301.1 kB / 0.6347 GB, free: 12.5 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004005/0.5981, allocations: 2.331 MB / 0.637 GB, free: 10.16 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006739/0.6048, allocations: 5.781 MB / 0.6427 GB, free: 2.668 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01166/0.6165, allocations: 8.81 MB / 0.6513 GB, free: 8.152 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001481/0.6167, allocations: 36 kB / 0.6513 GB, free: 8.117 MB / 494.1 MB Notification: Performance of matching and sorting (n=775) (initialization): time 0.01774/0.6345, allocations: 8.676 MB / 0.6598 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001274/0.6347, allocations: 56 kB / 0.6598 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001883/0.6349, allocations: 128 kB / 0.6599 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002945/0.6378, allocations: 1.038 MB / 0.661 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004856/0.6427, allocations: 1.38 MB / 0.6623 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006455/0.6492, allocations: 5.81 MB / 0.668 GB, free: 6.711 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004375/0.6536, allocations: 323.5 kB / 0.6683 GB, free: 6.395 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001083/0.6547, allocations: 363.9 kB / 0.6686 GB, free: 6.039 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.003985/0.6587, allocations: 1.951 MB / 0.6705 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008349/0.6596, allocations: 308 kB / 0.6708 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008187/0.6678, allocations: 3.95 MB / 0.6747 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.771e-05/0.6678, allocations: 20.19 kB / 0.6747 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.461e-05/0.6679, allocations: 12 kB / 0.6747 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.676e-05/0.6679, allocations: 15.89 kB / 0.6747 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01841/0.6863, allocations: 8.787 MB / 0.6833 GB, free: 6.867 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.291e-05/0.6864, allocations: 3.984 kB / 0.6833 GB, free: 6.863 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001946/0.6884, allocations: 343.5 kB / 0.6836 GB, free: 6.527 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002649/0.691, allocations: 0.8735 MB / 0.6845 GB, free: 5.641 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003833/0.6915, allocations: 32 kB / 0.6845 GB, free: 5.609 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005464/0.6969, allocations: 5.136 MB / 0.6895 GB, free: 196 kB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.644e-05/0.697, allocations: 0 / 0.6895 GB, free: 196 kB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01146/0.7085, allocations: 6.878 MB / 0.6963 GB, free: 9.273 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00172/0.7102, allocations: 0.6804 MB / 0.6969 GB, free: 8.57 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008671/0.7111, allocations: 36 kB / 0.697 GB, free: 8.535 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002099/0.7132, allocations: 115.8 kB / 0.6971 GB, free: 8.422 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004497/0.7137, allocations: 113.1 kB / 0.6972 GB, free: 8.312 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002226/0.7139, allocations: 60.06 kB / 0.6972 GB, free: 8.254 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003945/0.7179, allocations: 2.085 MB / 0.6993 GB, free: 6.176 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.4e-07/0.7179, allocations: 0 / 0.6993 GB, free: 6.176 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.005361/0.7233, allocations: 0.9687 MB / 0.7002 GB, free: 5.207 MB / 0.5294 GB 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.0006896/0.724, allocations: 170.9 kB / 0.7004 GB, free: 5.027 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01249/0.7365, allocations: 6.145 MB / 0.7064 GB, free: 14.84 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.082e-06/0.7366, allocations: 0 / 0.7064 GB, free: 14.84 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004876/0.7414, allocations: 2.476 MB / 0.7088 GB, free: 12.3 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003205/0.7447, allocations: 360.3 kB / 0.7091 GB, free: 11.95 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01972/0.7644, allocations: 9.465 MB / 0.7184 GB, free: 2.445 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005112/0.7696, allocations: 3.025 MB / 0.7213 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001484/0.7711, allocations: 287.3 kB / 0.7216 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of SimCode: time 3.286e-06/0.7711, allocations: 4 kB / 0.7216 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of Templates: time 0.376/1.147, allocations: 125.1 MB / 0.8438 GB, free: 120.1 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