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.001198/0.001198, allocations: 111.6 kB / 17.04 MB, free: 5.812 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.00116/0.00116, allocations: 195 kB / 17.98 MB, free: 5.027 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.383/1.383, 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.2001/0.2001, 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.001536/0.001536, allocations: 64.61 kB / 384.2 MB, free: 56.41 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.1132, allocations: 57.79 MB / 442 MB, free: 6.164 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.01056/0.1238, allocations: 10.55 MB / 452.5 MB, free: 11.56 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007098/0.131, allocations: 3.249 MB / 455.8 MB, free: 8.301 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001745/0.1328, allocations: 51.88 kB / 455.8 MB, free: 8.25 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004771/0.1375, allocations: 2.367 MB / 458.2 MB, free: 5.875 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004194/0.1418, allocations: 1.225 MB / 459.4 MB, free: 4.645 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001582/0.1434, allocations: 0.5185 MB / 459.9 MB, free: 4.125 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004667/0.1481, allocations: 2.975 MB / 462.9 MB, free: 1.145 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004444/0.1526, allocations: 3.021 MB / 465.9 MB, free: 14.07 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00236/0.1549, allocations: 1.285 MB / 467.2 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002345/0.1573, allocations: 1.736 MB / 468.9 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005728/0.1579, allocations: 292 kB / 469.2 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001902/0.1598, allocations: 0.9753 MB / 470.2 MB, free: 9.781 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001445/0.1613, allocations: 1.601 MB / 471.8 MB, free: 8.176 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001928/0.1632, allocations: 1.988 MB / 473.8 MB, free: 6.176 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00642/0.1696, allocations: 6.279 MB / 480.1 MB, free: 15.88 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.1697, allocations: 3.938 kB / 480.1 MB, free: 15.87 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1697, allocations: 0 / 480.1 MB, free: 15.87 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001412/0.1698, allocations: 4 kB / 480.1 MB, free: 15.87 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.00891/0.1787, allocations: 4.249 MB / 484.3 MB, free: 11.55 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.889e-05/0.1788, allocations: 11.89 kB / 484.3 MB, free: 11.54 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005733/0.1845, allocations: 1.809 MB / 486.2 MB, free: 9.723 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004136/0.1887, allocations: 1.781 MB / 487.9 MB, free: 7.891 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001758/0.1889, allocations: 233.7 kB / 488.2 MB, free: 7.66 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005593/0.1895, allocations: 299.8 kB / 488.5 MB, free: 7.367 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01903/0.2085, allocations: 10.63 MB / 499.1 MB, free: 12.12 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001196/0.2087, allocations: 39.59 kB / 499.1 MB, free: 12.08 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003983/0.2091, allocations: 147.8 kB / 499.3 MB, free: 11.93 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003323/0.2124, allocations: 2.044 MB / 0.4896 GB, free: 9.883 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01918/0.2316, allocations: 9.32 MB / 0.4987 GB, free: 0.543 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2783/0.51, allocations: 37.84 MB / 0.5356 GB, free: 63.15 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01015/0.5202, allocations: 4.162 MB / 0.5397 GB, free: 62.44 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002752/0.5229, allocations: 2.311 MB / 0.5419 GB, free: 62.39 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008995/0.532, allocations: 6.017 MB / 0.5478 GB, free: 60.18 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.035e-05/0.532, allocations: 61.95 kB / 0.5479 GB, free: 60.12 MB / 414.1 MB Notification: Performance of pre-optimization done (n=181): time 5.049e-06/0.5321, allocations: 0 / 0.5479 GB, free: 60.12 MB / 414.1 MB Notification: Performance of matching and sorting (n=210): time 0.0588/0.5909, allocations: 21.94 MB / 0.5693 GB, free: 49.14 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.589e-05/0.591, allocations: 149.8 kB / 0.5694 GB, free: 48.96 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004367/0.5953, allocations: 3.393 MB / 0.5728 GB, free: 45.56 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004072/0.5958, allocations: 57.7 kB / 0.5728 GB, free: 45.5 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001271/0.5971, allocations: 2.795 MB / 0.5755 GB, free: 42.71 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008369/0.5979, allocations: 0.8008 MB / 0.5763 GB, free: 41.91 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001354/0.5993, allocations: 1.194 MB / 0.5775 GB, free: 40.71 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 5.083e-05/0.5993, allocations: 305.1 kB / 0.5778 GB, free: 40.41 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002626/0.602, allocations: 2.327 MB / 0.58 GB, free: 38.08 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004277/0.6062, allocations: 5.784 MB / 0.5857 GB, free: 30.63 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008438/0.6147, allocations: 8.808 MB / 0.5943 GB, free: 20.32 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001216/0.6149, allocations: 32 kB / 0.5943 GB, free: 20.29 MB / 414.1 MB Notification: Performance of matching and sorting (n=775) (initialization): time 0.01357/0.6285, allocations: 8.685 MB / 0.6028 GB, free: 11.58 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.024e-05/0.6286, allocations: 56.97 kB / 0.6029 GB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001063/0.6287, allocations: 120 kB / 0.603 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00238/0.6311, allocations: 1.038 MB / 0.604 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004387/0.6355, allocations: 1.381 MB / 0.6053 GB, free: 8.977 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004688/0.6402, allocations: 5.818 MB / 0.611 GB, free: 2.895 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005148/0.6454, allocations: 327.5 kB / 0.6113 GB, free: 2.574 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009166/0.6463, allocations: 360 kB / 0.6117 GB, free: 2.223 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.003723/0.6501, allocations: 1.939 MB / 0.6136 GB, free: 284 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007655/0.6508, allocations: 308.1 kB / 0.6139 GB, free: 15.97 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007518/0.6584, allocations: 3.949 MB / 0.6177 GB, free: 11.99 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.869e-05/0.6584, allocations: 20 kB / 0.6177 GB, free: 11.97 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.6e-05/0.6584, allocations: 9.531 kB / 0.6177 GB, free: 11.96 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.699e-05/0.6585, allocations: 11.91 kB / 0.6178 GB, free: 11.95 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01945/0.6779, allocations: 8.868 MB / 0.6264 GB, free: 3.043 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.991e-05/0.678, allocations: 0 / 0.6264 GB, free: 3.043 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001873/0.6799, allocations: 351.5 kB / 0.6268 GB, free: 2.699 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002549/0.6825, allocations: 0.8731 MB / 0.6276 GB, free: 1.816 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002495/0.6827, allocations: 32 kB / 0.6276 GB, free: 1.785 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00571/0.6885, allocations: 5.107 MB / 0.6326 GB, free: 12.41 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.6885, allocations: 0 / 0.6326 GB, free: 12.41 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01082/0.6993, allocations: 6.863 MB / 0.6393 GB, free: 5.508 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002236/0.7016, allocations: 0.6764 MB / 0.64 GB, free: 4.809 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008568/0.7025, allocations: 36.34 kB / 0.64 GB, free: 4.777 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002064/0.7046, allocations: 119.8 kB / 0.6401 GB, free: 4.66 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003919/0.705, allocations: 117.1 kB / 0.6402 GB, free: 4.547 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001657/0.7051, allocations: 52.38 kB / 0.6403 GB, free: 4.496 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00328/0.7084, allocations: 2.089 MB / 0.6423 GB, free: 2.414 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.7084, allocations: 0 / 0.6423 GB, free: 2.414 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005028/0.7135, allocations: 0.9675 MB / 0.6433 GB, free: 1.449 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.0004921/0.714, allocations: 177.8 kB / 0.6435 GB, free: 1.273 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01046/0.7244, allocations: 6.121 MB / 0.6494 GB, free: 11.11 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.945e-06/0.7245, allocations: 0 / 0.6494 GB, free: 11.11 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004311/0.7288, allocations: 2.482 MB / 0.6519 GB, free: 8.562 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002741/0.7316, allocations: 355.1 kB / 0.6522 GB, free: 8.219 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01615/0.7477, allocations: 9.027 MB / 0.661 GB, free: 15.19 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003243/0.751, allocations: 3.022 MB / 0.664 GB, free: 12.15 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.004387/0.7555, allocations: 1.864 MB / 0.6658 GB, free: 10.29 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007938/0.7563, allocations: 235.4 kB / 0.666 GB, free: 10.05 MB / 478.1 MB Notification: Performance of SimCode: time 9.12e-07/0.7563, allocations: 0 / 0.666 GB, free: 10.05 MB / 478.1 MB Notification: Performance of Templates: time 0.06492/0.8212, allocations: 32.12 MB / 0.6974 GB, free: 10.13 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 gbode -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