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.001243/0.001243, allocations: 105.3 kB / 17.2 MB, free: 6.27 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.001346/0.001346, allocations: 194 kB / 18.12 MB, free: 5.363 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.412/1.412, allocations: 222.9 MB / 241.8 MB, free: 15.55 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.2267/0.2267, allocations: 44.17 MB / 336.1 MB, free: 3.023 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001366, allocations: 74.12 kB / 407.7 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.134/0.1353, allocations: 60.83 MB / 468.5 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.03653/0.1719, allocations: 38.47 MB / 0.4951 GB, free: 8.203 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02029/0.1923, allocations: 7.806 MB / 0.5027 GB, free: 380 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00846/0.2008, allocations: 159.6 kB / 0.5029 GB, free: 220 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2505/0.4513, allocations: 2.334 MB / 0.5052 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004071/0.4554, allocations: 1.149 MB / 0.5063 GB, free: 10.33 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001672/0.4571, allocations: 478.5 kB / 0.5068 GB, free: 10.32 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006548/0.4637, allocations: 4.327 MB / 0.511 GB, free: 10.31 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00449/0.4682, allocations: 2.992 MB / 0.5139 GB, free: 9.969 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002414/0.4706, allocations: 1.124 MB / 0.515 GB, free: 9.969 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003251/0.4739, allocations: 1.829 MB / 0.5168 GB, free: 9.793 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00098/0.4749, allocations: 217.8 kB / 0.517 GB, free: 9.789 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002409/0.4773, allocations: 0.9752 MB / 0.5179 GB, free: 9.781 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00193/0.4793, allocations: 1.554 MB / 0.5195 GB, free: 9.602 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002762/0.482, allocations: 1.917 MB / 0.5213 GB, free: 8.887 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0069/0.489, allocations: 5.993 MB / 0.5272 GB, free: 5.605 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.712e-06/0.489, allocations: 0 / 0.5272 GB, free: 5.605 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.489, allocations: 0 / 0.5272 GB, free: 5.605 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000235/0.4893, allocations: 0 / 0.5272 GB, free: 5.605 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.008318/0.4976, allocations: 4.258 MB / 0.5313 GB, free: 2.688 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.311e-05/0.4977, allocations: 7.781 kB / 0.5313 GB, free: 2.688 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005494/0.5032, allocations: 1.803 MB / 0.5331 GB, free: 1.727 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002963/0.5061, allocations: 1.76 MB / 0.5348 GB, free: 0.668 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001278/0.5063, allocations: 224 kB / 0.535 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006277/0.5069, allocations: 303.2 kB / 0.5353 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01922/0.5262, allocations: 10.63 MB / 0.5457 GB, free: 7.555 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001024/0.5263, allocations: 35.12 kB / 0.5457 GB, free: 7.539 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003873/0.5267, allocations: 145.7 kB / 0.5459 GB, free: 7.434 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00333/0.53, allocations: 2.038 MB / 0.5479 GB, free: 5.426 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01926/0.5493, allocations: 9.32 MB / 0.557 GB, free: 12.25 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04706/0.5964, allocations: 38.01 MB / 0.5941 GB, free: 5.715 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01043/0.6069, allocations: 4.18 MB / 0.5982 GB, free: 1.383 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003497/0.6104, allocations: 2.309 MB / 0.6004 GB, free: 15.07 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00978/0.6202, allocations: 6.022 MB / 0.6063 GB, free: 8.828 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.928e-05/0.6203, allocations: 54.5 kB / 0.6064 GB, free: 8.77 MB / 462.1 MB Notification: Performance of pre-optimization done (n=181): time 5.019e-06/0.6203, allocations: 4 kB / 0.6064 GB, free: 8.766 MB / 462.1 MB Notification: Performance of matching and sorting (n=210): time 0.06236/0.6827, allocations: 21.92 MB / 0.6278 GB, free: 2.719 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000104/0.6828, allocations: 152.6 kB / 0.6279 GB, free: 2.539 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004523/0.6874, allocations: 3.382 MB / 0.6312 GB, free: 15.15 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003434/0.6877, allocations: 57.7 kB / 0.6313 GB, free: 15.09 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001793/0.6895, allocations: 2.801 MB / 0.634 GB, free: 12.29 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008871/0.6904, allocations: 0.785 MB / 0.6348 GB, free: 11.51 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001597/0.692, allocations: 1.198 MB / 0.636 GB, free: 10.3 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001052/0.6921, allocations: 305.1 kB / 0.6362 GB, free: 9.996 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003425/0.6956, allocations: 2.338 MB / 0.6385 GB, free: 7.652 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005806/0.7014, allocations: 5.78 MB / 0.6442 GB, free: 224 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01138/0.7128, allocations: 8.808 MB / 0.6528 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000104/0.713, allocations: 36 kB / 0.6528 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of matching and sorting (n=775) (initialization): time 0.01693/0.7299, allocations: 8.673 MB / 0.6613 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001019/0.73, allocations: 60 kB / 0.6613 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001697/0.7302, allocations: 120 kB / 0.6615 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002883/0.7331, allocations: 1.03 MB / 0.6625 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004853/0.738, allocations: 1.388 MB / 0.6638 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006029/0.744, allocations: 5.409 MB / 0.6691 GB, free: 5.215 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004815/0.7489, allocations: 323.4 kB / 0.6694 GB, free: 4.898 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008871/0.7498, allocations: 364 kB / 0.6698 GB, free: 4.543 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.003218/0.753, allocations: 1.939 MB / 0.6716 GB, free: 2.59 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006632/0.7537, allocations: 308.2 kB / 0.6719 GB, free: 2.285 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006877/0.7606, allocations: 3.938 MB / 0.6758 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.691e-05/0.7607, allocations: 31.28 kB / 0.6758 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.869e-05/0.7607, allocations: 11.94 kB / 0.6758 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.561e-05/0.7607, allocations: 15.89 kB / 0.6758 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01764/0.7784, allocations: 8.884 MB / 0.6845 GB, free: 5.336 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.49e-05/0.7784, allocations: 0 / 0.6845 GB, free: 5.336 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001797/0.7802, allocations: 347.5 kB / 0.6849 GB, free: 4.996 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002605/0.7828, allocations: 0.8696 MB / 0.6857 GB, free: 4.113 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003094/0.7832, allocations: 35.98 kB / 0.6857 GB, free: 4.078 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004935/0.7881, allocations: 4.742 MB / 0.6904 GB, free: 15.07 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.7881, allocations: 0 / 0.6904 GB, free: 15.07 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01097/0.7991, allocations: 6.875 MB / 0.6971 GB, free: 8.168 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001167/0.8003, allocations: 364.8 kB / 0.6974 GB, free: 7.789 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008005/0.8011, allocations: 36 kB / 0.6975 GB, free: 7.754 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001845/0.803, allocations: 111.8 kB / 0.6976 GB, free: 7.645 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004392/0.8035, allocations: 119.6 kB / 0.6977 GB, free: 7.527 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001891/0.8037, allocations: 55.98 kB / 0.6977 GB, free: 7.473 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004545/0.8082, allocations: 2.073 MB / 0.6998 GB, free: 5.406 MB / 0.545 GB Notification: Performance of sort global known variables: time 4.11e-07/0.8082, allocations: 0 / 0.6998 GB, free: 5.406 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00687/0.8151, allocations: 0.9687 MB / 0.7007 GB, free: 4.438 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.0008955/0.816, allocations: 177.8 kB / 0.7009 GB, free: 4.258 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.2896/1.106, allocations: 6.106 MB / 0.7068 GB, free: 163.7 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.184e-06/1.106, allocations: 0.5 kB / 0.7068 GB, free: 163.7 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004391/1.11, allocations: 2.47 MB / 0.7093 GB, free: 163.3 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002454/1.113, allocations: 341.4 kB / 0.7096 GB, free: 163.3 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01873/1.131, allocations: 11 MB / 0.7203 GB, free: 158.9 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004149/1.135, allocations: 3.013 MB / 0.7233 GB, free: 158.1 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005298/1.141, allocations: 1.861 MB / 0.7251 GB, free: 157.9 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008425/1.142, allocations: 241.6 kB / 0.7253 GB, free: 157.9 MB / 0.545 GB Notification: Performance of SimCode: time 1.272e-06/1.142, allocations: 2.734 kB / 0.7253 GB, free: 157.9 MB / 0.545 GB Notification: Performance of Templates: time 0.05944/1.201, allocations: 35.81 MB / 0.7603 GB, free: 136.6 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/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