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/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 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 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) 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000822/0.0008221, allocations: 98.86 kB / 18.01 MB, free: 5.734 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.0008246/0.0008247, allocations: 177.8 kB / 18.91 MB, free: 4.871 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.362/1.362, allocations: 223.3 MB / 243 MB, free: 14.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2015/0.2015, allocations: 44.24 MB / 338.3 MB, free: 2.418 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003125/0.0003124, allocations: 8 kB / 411 MB, free: 27.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09891/0.09925, allocations: 61.92 MB / 472.9 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.03493/0.1342, allocations: 37.41 MB / 0.4984 GB, free: 7.75 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2271/0.3614, allocations: 7.76 MB / 0.5059 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006576/0.368, allocations: 157.5 kB / 0.5061 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001689/0.3697, allocations: 399.2 kB / 0.5065 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003997/0.3738, allocations: 1.163 MB / 0.5076 GB, free: 10.19 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001539/0.3753, allocations: 471 kB / 0.5081 GB, free: 10.17 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006615/0.382, allocations: 4.322 MB / 0.5123 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007449/0.3895, allocations: 4.175 MB / 0.5164 GB, free: 9.688 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002537/0.392, allocations: 0.9196 MB / 0.5173 GB, free: 9.688 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00326/0.3953, allocations: 1.592 MB / 0.5188 GB, free: 9.59 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00105/0.3964, allocations: 129.3 kB / 0.5189 GB, free: 9.59 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002683/0.3991, allocations: 0.8942 MB / 0.5198 GB, free: 9.582 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002348/0.4015, allocations: 1.437 MB / 0.5212 GB, free: 9.398 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003515/0.405, allocations: 1.789 MB / 0.523 GB, free: 8.656 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005776/0.4108, allocations: 4.785 MB / 0.5276 GB, free: 6.316 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.4108, allocations: 0 / 0.5276 GB, free: 6.316 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.525e-06/0.4108, allocations: 0 / 0.5276 GB, free: 6.316 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002545/0.4111, allocations: 1.812 kB / 0.5276 GB, free: 6.316 MB / 382.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.008589/0.4197, allocations: 3.46 MB / 0.531 GB, free: 4.117 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/0.4198, allocations: 7.406 kB / 0.531 GB, free: 4.117 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006632/0.4264, allocations: 1.859 MB / 0.5328 GB, free: 3.207 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004332/0.4308, allocations: 1.748 MB / 0.5345 GB, free: 2.523 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002866/0.4311, allocations: 226.5 kB / 0.5348 GB, free: 2.516 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001611/0.4327, allocations: 303.4 kB / 0.535 GB, free: 2.508 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0219/0.4546, allocations: 10.63 MB / 0.5454 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001902/0.4549, allocations: 42 kB / 0.5455 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001059/0.456, allocations: 145.9 kB / 0.5456 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003867/0.4598, allocations: 2.039 MB / 0.5476 GB, free: 8.383 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02117/0.481, allocations: 9.335 MB / 0.5567 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05046/0.5315, allocations: 38.03 MB / 0.5938 GB, free: 8.641 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01102/0.5426, allocations: 4.176 MB / 0.5979 GB, free: 4.312 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003156/0.5458, allocations: 2.306 MB / 0.6002 GB, free: 1.992 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009429/0.5553, allocations: 6.027 MB / 0.6061 GB, free: 11.75 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.71e-05/0.5553, allocations: 46.5 kB / 0.6061 GB, free: 11.7 MB / 462.1 MB Notification: Performance of pre-optimization done (n=181): time 4.92e-06/0.5554, allocations: 0 / 0.6061 GB, free: 11.7 MB / 462.1 MB Notification: Performance of matching and sorting (n=210): time 0.06772/0.6231, allocations: 21.94 MB / 0.6275 GB, free: 5.641 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.199e-05/0.6232, allocations: 152.6 kB / 0.6277 GB, free: 5.461 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006216/0.6294, allocations: 3.382 MB / 0.631 GB, free: 2.07 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005062/0.63, allocations: 57.7 kB / 0.631 GB, free: 2.008 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002237/0.6322, allocations: 2.785 MB / 0.6338 GB, free: 15.22 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001178/0.6334, allocations: 0.8048 MB / 0.6345 GB, free: 14.42 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001366/0.6348, allocations: 0.4953 MB / 0.635 GB, free: 13.92 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001219/0.635, allocations: 309.3 kB / 0.6353 GB, free: 13.61 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004305/0.6393, allocations: 2.331 MB / 0.6376 GB, free: 11.28 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006636/0.6459, allocations: 5.782 MB / 0.6432 GB, free: 3.84 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01119/0.6571, allocations: 8.809 MB / 0.6518 GB, free: 9.738 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001165/0.6573, allocations: 32 kB / 0.6519 GB, free: 9.707 MB / 0.4981 GB Notification: Performance of matching and sorting (n=775) (initialization): time 0.01745/0.6748, allocations: 8.687 MB / 0.6604 GB, free: 1.008 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001435/0.6749, allocations: 56 kB / 0.6604 GB, free: 0.9531 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000198/0.6752, allocations: 120 kB / 0.6605 GB, free: 0.8359 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002946/0.6781, allocations: 1.034 MB / 0.6615 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005014/0.6831, allocations: 1.384 MB / 0.6629 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005864/0.689, allocations: 5.401 MB / 0.6682 GB, free: 8.734 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004589/0.6937, allocations: 329.8 kB / 0.6685 GB, free: 8.414 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00114/0.6948, allocations: 356 kB / 0.6688 GB, free: 8.066 MB / 0.5137 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.004345/0.6992, allocations: 1.939 MB / 0.6707 GB, free: 6.113 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008193/0.7, allocations: 311.9 kB / 0.671 GB, free: 5.805 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007891/0.7079, allocations: 3.947 MB / 0.6749 GB, free: 1.832 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.694e-05/0.708, allocations: 27.28 kB / 0.6749 GB, free: 1.809 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.05e-05/0.708, allocations: 8.312 kB / 0.6749 GB, free: 1.801 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.648e-05/0.7081, allocations: 7.969 kB / 0.6749 GB, free: 1.793 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01807/0.7261, allocations: 8.893 MB / 0.6836 GB, free: 8.844 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.796e-05/0.7262, allocations: 0 / 0.6836 GB, free: 8.844 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001938/0.7281, allocations: 351.5 kB / 0.6839 GB, free: 8.5 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002625/0.7308, allocations: 0.8689 MB / 0.6848 GB, free: 7.621 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003296/0.7311, allocations: 39.98 kB / 0.6848 GB, free: 7.582 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004908/0.7361, allocations: 4.748 MB / 0.6894 GB, free: 2.574 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.7361, allocations: 0 / 0.6894 GB, free: 2.574 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01139/0.7475, allocations: 6.871 MB / 0.6962 GB, free: 11.67 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009825/0.7485, allocations: 364.8 kB / 0.6965 GB, free: 11.29 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008048/0.7493, allocations: 35.98 kB / 0.6965 GB, free: 11.26 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001904/0.7512, allocations: 115.8 kB / 0.6966 GB, free: 11.14 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004256/0.7517, allocations: 117.1 kB / 0.6968 GB, free: 11.03 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002096/0.7519, allocations: 59.83 kB / 0.6968 GB, free: 10.97 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003948/0.7559, allocations: 2.081 MB / 0.6988 GB, free: 8.898 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.8e-07/0.7559, allocations: 0 / 0.6988 GB, free: 8.898 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005552/0.7614, allocations: 0.9687 MB / 0.6998 GB, free: 7.93 MB / 0.545 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.0006962/0.7621, allocations: 179.1 kB / 0.7 GB, free: 7.75 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01064/0.7728, allocations: 6.105 MB / 0.7059 GB, free: 1.602 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/0.7728, allocations: 3.938 kB / 0.7059 GB, free: 1.598 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.2536/1.026, allocations: 2.456 MB / 0.7083 GB, free: 164.5 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003794/1.03, allocations: 340.8 kB / 0.7087 GB, free: 164.5 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02168/1.052, allocations: 11.58 MB / 0.72 GB, free: 160 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005576/1.058, allocations: 3.021 MB / 0.7229 GB, free: 159.2 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001755/1.059, allocations: 284.3 kB / 0.7232 GB, free: 159.2 MB / 0.545 GB Notification: Performance of SimCode: time 1.443e-06/1.059, allocations: 3.828 kB / 0.7232 GB, free: 159.2 MB / 0.545 GB Notification: Performance of Templates: time 0.1367/1.196, allocations: 123.8 MB / 0.8441 GB, free: 52.69 MB / 0.545 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/SpringDamperSeries/SpringDamperSeries.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches