Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) 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_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009978/0.0009978, allocations: 181.2 kB / 17.06 MB, free: 5.094 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.176/1.176, allocations: 223.2 MB / 241 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000817/0.0008169, allocations: 94.42 kB / 292.2 MB, free: 10.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3372/0.3372, allocations: 44.21 MB / 387.5 MB, free: 38.8 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003146/0.0003146, allocations: 8 kB / 459.9 MB, free: 1.523 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2944/0.2948, allocations: 61.9 MB / 0.5096 GB, free: 38.07 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1317/0.4265, allocations: 108.1 MB / 0.6151 GB, free: 2.988 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003383/0.4269, allocations: 79.97 kB / 0.6152 GB, free: 2.91 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4055/0.8325, allocations: 72.22 MB / 0.6857 GB, free: 96.22 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.8325, allocations: 7 kB / 0.6857 GB, free: 96.22 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001339/0.8327, allocations: 72.2 kB / 0.6858 GB, free: 96.22 MB / 490.7 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.009667/0.8424, allocations: 3.731 MB / 0.6895 GB, free: 94.67 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.492e-05/0.8424, allocations: 8.656 kB / 0.6895 GB, free: 94.67 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008155/0.8506, allocations: 2.059 MB / 0.6915 GB, free: 94.41 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005759/0.8564, allocations: 2.084 MB / 0.6935 GB, free: 93.94 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002323/0.8566, allocations: 307.1 kB / 0.6938 GB, free: 93.93 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001101/0.8577, allocations: 407.9 kB / 0.6942 GB, free: 93.93 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0194/0.8772, allocations: 11.12 MB / 0.7051 GB, free: 91.43 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001582/0.8774, allocations: 60.69 kB / 0.7051 GB, free: 91.43 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005286/0.8779, allocations: 197.3 kB / 0.7053 GB, free: 91.43 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001175/0.8791, allocations: 1.067 MB / 0.7063 GB, free: 91.42 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01972/0.8988, allocations: 9.505 MB / 0.7156 GB, free: 90.89 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04278/0.9416, allocations: 45.88 MB / 0.7604 GB, free: 56.81 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009012/0.9507, allocations: 4.27 MB / 0.7646 GB, free: 55.12 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007078/0.9578, allocations: 5.766 MB / 0.7702 GB, free: 51.67 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.984e-05/0.9579, allocations: 54.75 kB / 0.7703 GB, free: 51.62 MB / 490.7 MB Notification: Performance of pre-optimization done (n=181): time 3.717e-06/0.9579, allocations: 0 / 0.7703 GB, free: 51.62 MB / 490.7 MB Notification: Performance of matching and sorting (n=224): time 0.07347/1.031, allocations: 27.67 MB / 0.7973 GB, free: 38.24 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.261e-05/1.031, allocations: 154.5 kB / 0.7975 GB, free: 38.06 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005529/1.037, allocations: 3.003 MB / 0.8004 GB, free: 35.51 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000629/1.038, allocations: 61.61 kB / 0.8004 GB, free: 35.45 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001799/1.039, allocations: 2.8 MB / 0.8032 GB, free: 32.94 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00117/1.041, allocations: 0.8405 MB / 0.804 GB, free: 32.19 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008013/1.042, allocations: 119.8 kB / 0.8041 GB, free: 32.08 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0006172/1.042, allocations: 0.5639 MB / 0.8047 GB, free: 31.58 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00388/1.046, allocations: 2.566 MB / 0.8072 GB, free: 29.38 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004982/1.051, allocations: 5.984 MB / 0.813 GB, free: 22.16 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004935/1.056, allocations: 3.843 MB / 0.8168 GB, free: 18.7 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.671e-05/1.056, allocations: 36 kB / 0.8168 GB, free: 18.66 MB / 490.7 MB Notification: Performance of matching and sorting (n=786) (initialization): time 0.01417/1.07, allocations: 9.186 MB / 0.8258 GB, free: 10.53 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.522e-05/1.07, allocations: 62.19 kB / 0.8258 GB, free: 10.47 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001388/1.071, allocations: 120 kB / 0.8259 GB, free: 10.35 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00246/1.073, allocations: 1.066 MB / 0.827 GB, free: 9.273 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004623/1.078, allocations: 1.411 MB / 0.8284 GB, free: 7.859 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004573/1.082, allocations: 5.49 MB / 0.8337 GB, free: 2.105 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004711/1.087, allocations: 322.6 kB / 0.834 GB, free: 1.793 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001694/1.089, allocations: 360 kB / 0.8344 GB, free: 1.441 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 550 * 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 (745): * Single equations (assignments): 738 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 9,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004939/1.094, allocations: 1.974 MB / 0.8363 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001087/1.095, allocations: 320 kB / 0.8366 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009811/1.105, allocations: 4.549 MB / 0.8411 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.541e-05/1.105, allocations: 27.69 kB / 0.8411 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.943e-05/1.105, allocations: 4 kB / 0.8411 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.915e-05/1.105, allocations: 15.91 kB / 0.8411 GB, free: 10.53 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02197/1.127, allocations: 9.952 MB / 0.8508 GB, free: 0.5273 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.839e-05/1.127, allocations: 4 kB / 0.8508 GB, free: 0.5234 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002032/1.129, allocations: 379.5 kB / 0.8512 GB, free: 156 kB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002544/1.131, allocations: 0.8755 MB / 0.852 GB, free: 15.27 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002892/1.132, allocations: 43.92 kB / 0.8521 GB, free: 15.22 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005069/1.137, allocations: 4.831 MB / 0.8568 GB, free: 10.14 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/1.137, allocations: 7.938 kB / 0.8568 GB, free: 10.14 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01197/1.149, allocations: 7.917 MB / 0.8645 GB, free: 2.164 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001084/1.15, allocations: 368.9 kB / 0.8649 GB, free: 1.781 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004747/1.151, allocations: 35.59 kB / 0.8649 GB, free: 1.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001473/1.152, allocations: 123.8 kB / 0.865 GB, free: 1.629 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003243/1.152, allocations: 129.8 kB / 0.8652 GB, free: 1.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001691/1.153, allocations: 52 kB / 0.8652 GB, free: 1.449 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.003408/1.156, allocations: 2.061 MB / 0.8672 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.3e-07/1.156, allocations: 4 kB / 0.8672 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005181/1.161, allocations: 1.016 MB / 0.8682 GB, free: 14.38 MB / 0.5261 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 (190): * Single equations (assignments): 183 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005711/1.162, allocations: 187.6 kB / 0.8684 GB, free: 14.19 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01076/1.172, allocations: 6.681 MB / 0.8749 GB, free: 7.465 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.636e-06/1.173, allocations: 0 / 0.8749 GB, free: 7.465 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004939/1.177, allocations: 2.765 MB / 0.8776 GB, free: 4.633 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002254/1.18, allocations: 319.8 kB / 0.8779 GB, free: 4.328 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2493/1.429, allocations: 11.12 MB / 0.8888 GB, free: 127 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002867/1.432, allocations: 3.132 MB / 0.8918 GB, free: 126.2 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.004262/1.436, allocations: 1.952 MB / 0.8938 GB, free: 126.2 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000895/1.437, allocations: 238.9 kB / 0.894 GB, free: 126.2 MB / 0.5261 GB Notification: Performance of SimCode: time 9.52e-07/1.437, allocations: 0 / 0.894 GB, free: 126.2 MB / 0.5261 GB Notification: Performance of Templates: time 0.07004/1.507, allocations: 36.79 MB / 0.9299 GB, free: 124.8 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/SpringDamperSeries/SpringDamperSeries.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches