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.001062/0.001062, allocations: 113.8 kB / 17.78 MB, free: 5.285 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.001047/0.001047, allocations: 183.1 kB / 18.71 MB, free: 4.371 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.38/1.38, allocations: 222.9 MB / 242.4 MB, free: 15.06 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.2184/0.2184, allocations: 44.19 MB / 336.7 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001423/0.001423, allocations: 63.91 kB / 470.5 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.408/0.4094, allocations: 60.82 MB / 0.5189 GB, free: 3.602 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.01182/0.4213, allocations: 10.53 MB / 0.5292 GB, free: 12.13 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008327/0.4297, allocations: 3.188 MB / 0.5323 GB, free: 9.727 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0023/0.432, allocations: 53.41 kB / 0.5324 GB, free: 9.719 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004724/0.4368, allocations: 2.369 MB / 0.5347 GB, free: 8.113 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004132/0.441, allocations: 1.271 MB / 0.5359 GB, free: 7.172 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00143/0.4424, allocations: 0.5087 MB / 0.5364 GB, free: 6.789 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004727/0.4472, allocations: 2.955 MB / 0.5393 GB, free: 5.125 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003892/0.4511, allocations: 3.017 MB / 0.5422 GB, free: 3.352 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00236/0.4535, allocations: 1.28 MB / 0.5435 GB, free: 2.617 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002955/0.4564, allocations: 1.728 MB / 0.5452 GB, free: 1.062 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006953/0.4571, allocations: 300 kB / 0.5455 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002091/0.4592, allocations: 0.9948 MB / 0.5464 GB, free: 15.77 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001528/0.4608, allocations: 1.609 MB / 0.548 GB, free: 14.16 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002164/0.463, allocations: 1.98 MB / 0.5499 GB, free: 12.17 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007635/0.4706, allocations: 6.269 MB / 0.5561 GB, free: 5.879 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.914e-06/0.4707, allocations: 4 kB / 0.5561 GB, free: 5.875 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.4707, allocations: 0 / 0.5561 GB, free: 5.875 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002154/0.4709, allocations: 0 / 0.5561 GB, free: 5.875 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.009493/0.4804, allocations: 4.253 MB / 0.5602 GB, free: 1.555 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.288e-05/0.4805, allocations: 12.03 kB / 0.5602 GB, free: 1.543 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006167/0.4866, allocations: 1.805 MB / 0.562 GB, free: 15.73 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004023/0.4907, allocations: 1.781 MB / 0.5637 GB, free: 13.9 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001937/0.4909, allocations: 229.7 kB / 0.564 GB, free: 13.68 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007897/0.4917, allocations: 299.8 kB / 0.5642 GB, free: 13.38 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02095/0.5127, allocations: 10.62 MB / 0.5746 GB, free: 2.137 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001179/0.5128, allocations: 39.59 kB / 0.5747 GB, free: 2.098 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000449/0.5133, allocations: 143.9 kB / 0.5748 GB, free: 1.957 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003685/0.517, allocations: 2.04 MB / 0.5768 GB, free: 15.91 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02218/0.5392, allocations: 9.331 MB / 0.5859 GB, free: 6.562 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06011/0.5993, allocations: 37.84 MB / 0.6228 GB, free: 15.69 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01179/0.6112, allocations: 4.164 MB / 0.6269 GB, free: 11.36 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003314/0.6145, allocations: 2.305 MB / 0.6292 GB, free: 9.035 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00999/0.6246, allocations: 6.025 MB / 0.635 GB, free: 2.75 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.431e-05/0.6246, allocations: 51.88 kB / 0.6351 GB, free: 2.691 MB / 494.1 MB Notification: Performance of pre-optimization done (n=181): time 4.779e-06/0.6246, allocations: 0 / 0.6351 GB, free: 2.691 MB / 494.1 MB Notification: Performance of matching and sorting (n=210): time 0.06938/0.694, allocations: 21.95 MB / 0.6565 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.555e-05/0.6942, allocations: 153.9 kB / 0.6567 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005712/0.6999, allocations: 3.378 MB / 0.66 GB, free: 8.996 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0004087/0.7003, allocations: 57.7 kB / 0.66 GB, free: 8.934 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002237/0.7026, allocations: 2.801 MB / 0.6628 GB, free: 6.09 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001082/0.7037, allocations: 0.7982 MB / 0.6635 GB, free: 5.281 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00246/0.7061, allocations: 1.19 MB / 0.6647 GB, free: 4.078 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.858e-05/0.7062, allocations: 305.1 kB / 0.665 GB, free: 3.777 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003678/0.7099, allocations: 2.331 MB / 0.6673 GB, free: 1.441 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006282/0.7162, allocations: 5.785 MB / 0.6729 GB, free: 9.941 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01064/0.7269, allocations: 8.803 MB / 0.6815 GB, free: 15.43 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001069/0.727, allocations: 32 kB / 0.6816 GB, free: 15.4 MB / 0.545 GB Notification: Performance of matching and sorting (n=775) (initialization): time 0.01593/0.743, allocations: 8.689 MB / 0.69 GB, free: 6.695 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001078/0.7431, allocations: 56 kB / 0.6901 GB, free: 6.641 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001851/0.7433, allocations: 120.9 kB / 0.6902 GB, free: 6.523 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002893/0.7462, allocations: 1.034 MB / 0.6912 GB, free: 5.477 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004857/0.7511, allocations: 1.38 MB / 0.6926 GB, free: 4.094 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006526/0.7576, allocations: 5.809 MB / 0.6982 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00454/0.7622, allocations: 323.5 kB / 0.6985 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009628/0.7632, allocations: 360.3 kB / 0.6989 GB, free: 13.34 MB / 0.5606 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.003745/0.7669, allocations: 1.939 MB / 0.7008 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008075/0.7677, allocations: 308 kB / 0.7011 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007916/0.7757, allocations: 3.94 MB / 0.7049 GB, free: 7.105 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.671e-05/0.7757, allocations: 27.94 kB / 0.705 GB, free: 7.078 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.794e-05/0.7758, allocations: 15.86 kB / 0.705 GB, free: 7.062 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.707e-05/0.7758, allocations: 7.969 kB / 0.705 GB, free: 7.055 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01748/0.7933, allocations: 8.81 MB / 0.7136 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.816e-05/0.7933, allocations: 4 kB / 0.7136 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001887/0.7952, allocations: 343.5 kB / 0.7139 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002631/0.7979, allocations: 0.8735 MB / 0.7148 GB, free: 12.92 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002915/0.7982, allocations: 35.98 kB / 0.7148 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005346/0.8036, allocations: 5.136 MB / 0.7198 GB, free: 7.465 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.8036, allocations: 0 / 0.7198 GB, free: 7.465 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01094/0.8145, allocations: 6.882 MB / 0.7265 GB, free: 0.543 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000884/0.8155, allocations: 357 kB / 0.7269 GB, free: 176 kB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007464/0.8162, allocations: 32 kB / 0.7269 GB, free: 144 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001841/0.8181, allocations: 111.8 kB / 0.727 GB, free: 32 kB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.2616/1.08, allocations: 118.4 kB / 0.7271 GB, free: 183.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002853/1.08, allocations: 54.72 kB / 0.7272 GB, free: 183.4 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.003936/1.084, allocations: 2.077 MB / 0.7292 GB, free: 183.2 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.61e-07/1.084, allocations: 0 / 0.7292 GB, free: 183.2 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.004901/1.089, allocations: 0.9705 MB / 0.7302 GB, free: 183.2 MB / 0.5762 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.0004782/1.089, allocations: 175.8 kB / 0.7303 GB, free: 183.2 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01045/1.1, allocations: 6.136 MB / 0.7363 GB, free: 181 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/1.1, allocations: 0 / 0.7363 GB, free: 181 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003998/1.104, allocations: 2.478 MB / 0.7387 GB, free: 179.8 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002454/1.106, allocations: 356.6 kB / 0.7391 GB, free: 179.6 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01329/1.12, allocations: 9.025 MB / 0.7479 GB, free: 175.8 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002673/1.122, allocations: 3.019 MB / 0.7508 GB, free: 174.5 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.003686/1.126, allocations: 1.866 MB / 0.7527 GB, free: 174.4 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007429/1.127, allocations: 239.3 kB / 0.7529 GB, free: 174.4 MB / 0.5762 GB Notification: Performance of SimCode: time 9.32e-07/1.127, allocations: 0 / 0.7529 GB, free: 174.4 MB / 0.5762 GB Notification: Performance of Templates: time 0.0497/1.177, allocations: 34.15 MB / 0.7862 GB, free: 143.8 MB / 0.5762 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","/var/lib/jenkins/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