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.001205/0.001205, allocations: 106.8 kB / 17.03 MB, free: 5.703 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.001036/0.001036, allocations: 196.1 kB / 17.96 MB, free: 5.082 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.59/1.59, allocations: 205.1 MB / 223.8 MB, free: 12.26 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.2227/0.2227, allocations: 43.52 MB / 314.7 MB, free: 484 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.001483/0.001483, allocations: 68.06 kB / 384.2 MB, free: 56.43 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.1225, allocations: 57.79 MB / 442 MB, free: 6.141 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.00963/0.1322, allocations: 10.54 MB / 452.5 MB, free: 11.54 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007201/0.1394, allocations: 3.256 MB / 455.8 MB, free: 8.277 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001586/0.141, allocations: 55.88 kB / 455.8 MB, free: 8.223 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004348/0.1455, allocations: 2.367 MB / 458.2 MB, free: 5.848 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004045/0.1495, allocations: 1.217 MB / 459.4 MB, free: 4.625 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001766/0.1513, allocations: 0.5224 MB / 459.9 MB, free: 4.102 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00558/0.1569, allocations: 2.967 MB / 462.9 MB, free: 1.129 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003711/0.1606, allocations: 3.033 MB / 465.9 MB, free: 14.05 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002082/0.1627, allocations: 1.281 MB / 467.2 MB, free: 12.76 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002195/0.1649, allocations: 1.736 MB / 468.9 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005942/0.1655, allocations: 296 kB / 469.2 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001983/0.1675, allocations: 0.9792 MB / 470.2 MB, free: 9.75 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001917/0.1695, allocations: 1.609 MB / 471.8 MB, free: 8.137 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003828/0.1733, allocations: 1.969 MB / 473.8 MB, free: 6.156 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008192/0.1815, allocations: 6.29 MB / 480.1 MB, free: 15.84 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.406e-06/0.1816, allocations: 0 / 480.1 MB, free: 15.84 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.1816, allocations: 4 kB / 480.1 MB, free: 15.84 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002413/0.1818, allocations: 0 / 480.1 MB, free: 15.84 MB / 366.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.01034/0.1922, allocations: 4.253 MB / 484.3 MB, free: 11.52 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.461e-05/0.1923, allocations: 11.89 kB / 484.3 MB, free: 11.51 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005952/0.1982, allocations: 1.809 MB / 486.2 MB, free: 9.691 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00435/0.2026, allocations: 1.778 MB / 487.9 MB, free: 7.863 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002121/0.2028, allocations: 229.7 kB / 488.2 MB, free: 7.637 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007994/0.2037, allocations: 303.8 kB / 488.5 MB, free: 7.34 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02036/0.224, allocations: 10.63 MB / 499.1 MB, free: 12.09 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001458/0.2242, allocations: 35.66 kB / 499.1 MB, free: 12.05 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003789/0.2246, allocations: 143.9 kB / 499.3 MB, free: 11.91 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003506/0.2281, allocations: 2.04 MB / 0.4896 GB, free: 9.863 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01989/0.248, allocations: 9.32 MB / 0.4987 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3153/0.5634, allocations: 37.84 MB / 0.5356 GB, free: 63.1 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01228/0.5758, allocations: 4.161 MB / 0.5397 GB, free: 62.39 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004334/0.5802, allocations: 2.316 MB / 0.5419 GB, free: 62.34 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01103/0.5912, allocations: 6.014 MB / 0.5478 GB, free: 60.14 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.151e-05/0.5913, allocations: 55.72 kB / 0.5479 GB, free: 60.09 MB / 414.1 MB Notification: Performance of pre-optimization done (n=181): time 4.699e-06/0.5913, allocations: 0 / 0.5479 GB, free: 60.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=210): time 0.05653/0.6479, allocations: 21.95 MB / 0.5693 GB, free: 49.11 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.516e-05/0.648, allocations: 148.7 kB / 0.5694 GB, free: 48.93 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004045/0.6521, allocations: 3.388 MB / 0.5727 GB, free: 45.54 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000342/0.6524, allocations: 57.7 kB / 0.5728 GB, free: 45.48 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001304/0.6537, allocations: 2.803 MB / 0.5755 GB, free: 42.68 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007182/0.6545, allocations: 0.7879 MB / 0.5763 GB, free: 41.9 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001276/0.6557, allocations: 1.197 MB / 0.5775 GB, free: 40.69 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 4.69e-05/0.6558, allocations: 305.1 kB / 0.5778 GB, free: 40.39 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002544/0.6583, allocations: 2.331 MB / 0.58 GB, free: 38.05 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004004/0.6624, allocations: 5.785 MB / 0.5857 GB, free: 30.61 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008414/0.6708, allocations: 8.804 MB / 0.5943 GB, free: 20.3 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.869e-05/0.6709, allocations: 36 kB / 0.5943 GB, free: 20.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=775) (initialization): time 0.01222/0.6832, allocations: 8.679 MB / 0.6028 GB, free: 11.57 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.35e-05/0.6832, allocations: 60 kB / 0.6029 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.251e-05/0.6833, allocations: 120 kB / 0.603 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002308/0.6857, allocations: 1.038 MB / 0.604 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003901/0.6896, allocations: 1.377 MB / 0.6053 GB, free: 8.965 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004446/0.694, allocations: 5.83 MB / 0.611 GB, free: 2.875 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004154/0.6982, allocations: 323.1 kB / 0.6113 GB, free: 2.562 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006002/0.6988, allocations: 360 kB / 0.6117 GB, free: 2.211 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.002719/0.7015, allocations: 1.951 MB / 0.6136 GB, free: 256 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000584/0.7021, allocations: 312.1 kB / 0.6139 GB, free: 15.94 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00692/0.7091, allocations: 3.934 MB / 0.6177 GB, free: 11.98 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.962e-05/0.7091, allocations: 24.66 kB / 0.6177 GB, free: 11.95 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.429e-05/0.7091, allocations: 7.938 kB / 0.6177 GB, free: 11.95 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.873e-05/0.7091, allocations: 11.95 kB / 0.6178 GB, free: 11.93 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01569/0.7248, allocations: 8.864 MB / 0.6264 GB, free: 3.023 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.311e-05/0.7249, allocations: 0 / 0.6264 GB, free: 3.023 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001662/0.7266, allocations: 351.4 kB / 0.6267 GB, free: 2.68 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002415/0.729, allocations: 0.8655 MB / 0.6276 GB, free: 1.805 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001926/0.7292, allocations: 43.92 kB / 0.6276 GB, free: 1.762 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0055/0.7347, allocations: 5.09 MB / 0.6326 GB, free: 12.41 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.482e-06/0.7348, allocations: 8.031 kB / 0.6326 GB, free: 12.4 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01066/0.7454, allocations: 6.859 MB / 0.6393 GB, free: 5.5 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002495/0.7479, allocations: 0.6842 MB / 0.64 GB, free: 4.793 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005615/0.7485, allocations: 39.59 kB / 0.64 GB, free: 4.758 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001383/0.7499, allocations: 115.8 kB / 0.6401 GB, free: 4.645 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000392/0.7503, allocations: 129 kB / 0.6403 GB, free: 4.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000157/0.7505, allocations: 51.98 kB / 0.6403 GB, free: 4.469 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003237/0.7537, allocations: 2.085 MB / 0.6423 GB, free: 2.391 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.7538, allocations: 0 / 0.6423 GB, free: 2.391 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00508/0.7588, allocations: 0.9636 MB / 0.6433 GB, free: 1.43 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.0004671/0.7593, allocations: 173.4 kB / 0.6434 GB, free: 1.258 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.009796/0.7691, allocations: 6.121 MB / 0.6494 GB, free: 11.09 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.221e-06/0.7692, allocations: 0 / 0.6494 GB, free: 11.09 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004133/0.7733, allocations: 2.475 MB / 0.6518 GB, free: 8.551 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002319/0.7756, allocations: 353.6 kB / 0.6522 GB, free: 8.211 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01598/0.7916, allocations: 9.033 MB / 0.661 GB, free: 15.18 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003348/0.795, allocations: 3.019 MB / 0.6639 GB, free: 12.14 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.004279/0.7993, allocations: 1.853 MB / 0.6658 GB, free: 10.28 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008427/0.8002, allocations: 247.4 kB / 0.666 GB, free: 10.04 MB / 478.1 MB Notification: Performance of SimCode: time 2.575e-06/0.8002, allocations: 0 / 0.666 GB, free: 10.04 MB / 478.1 MB Notification: Performance of Templates: time 0.06397/0.8642, allocations: 32.11 MB / 0.6974 GB, free: 10.12 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 -s cvode -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