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.001289/0.001289, allocations: 111.8 kB / 18.45 MB, free: 4.578 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.001236/0.001236, allocations: 182.3 kB / 19.38 MB, free: 3.664 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.266/1.266, allocations: 222.9 MB / 243.1 MB, free: 15.07 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.1909/0.1909, allocations: 44.18 MB / 337.4 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 63.91 kB / 471.2 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3285/0.3297, allocations: 60.81 MB / 0.5196 GB, free: 3.625 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.01042/0.3402, allocations: 10.52 MB / 0.5298 GB, free: 12.16 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007814/0.348, allocations: 3.197 MB / 0.533 GB, free: 9.734 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002358/0.3504, allocations: 52.94 kB / 0.533 GB, free: 9.727 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005166/0.3556, allocations: 2.362 MB / 0.5353 GB, free: 8.129 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003877/0.3596, allocations: 1.229 MB / 0.5365 GB, free: 7.215 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001636/0.3612, allocations: 0.5117 MB / 0.537 GB, free: 6.828 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004659/0.3659, allocations: 2.954 MB / 0.5399 GB, free: 5.164 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004709/0.3706, allocations: 3.027 MB / 0.5429 GB, free: 3.383 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002762/0.3734, allocations: 1.279 MB / 0.5441 GB, free: 2.648 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003281/0.3767, allocations: 1.734 MB / 0.5458 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001009/0.3778, allocations: 296 kB / 0.5461 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002482/0.3803, allocations: 0.9909 MB / 0.5471 GB, free: 15.81 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001972/0.3823, allocations: 1.597 MB / 0.5486 GB, free: 14.21 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003319/0.3856, allocations: 1.98 MB / 0.5506 GB, free: 12.21 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008824/0.3944, allocations: 6.281 MB / 0.5567 GB, free: 5.914 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.468e-06/0.3945, allocations: 0 / 0.5567 GB, free: 5.914 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.3945, allocations: 0 / 0.5567 GB, free: 5.914 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003042/0.3948, allocations: 0 / 0.5567 GB, free: 5.914 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.01077/0.4056, allocations: 4.253 MB / 0.5608 GB, free: 1.594 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.4057, allocations: 12.03 kB / 0.5609 GB, free: 1.582 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00655/0.4122, allocations: 1.809 MB / 0.5626 GB, free: 15.76 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003999/0.4163, allocations: 1.774 MB / 0.5643 GB, free: 13.95 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002531/0.4166, allocations: 229.7 kB / 0.5646 GB, free: 13.72 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001248/0.4178, allocations: 307.7 kB / 0.5649 GB, free: 13.42 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02193/0.4398, allocations: 10.63 MB / 0.5752 GB, free: 2.168 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000173/0.44, allocations: 35.66 kB / 0.5753 GB, free: 2.133 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001112/0.4411, allocations: 143.9 kB / 0.5754 GB, free: 1.992 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00371/0.4449, allocations: 2.044 MB / 0.5774 GB, free: 15.95 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02048/0.4654, allocations: 9.317 MB / 0.5865 GB, free: 6.605 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05106/0.5165, allocations: 37.84 MB / 0.6235 GB, free: 15.74 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01109/0.5276, allocations: 4.168 MB / 0.6275 GB, free: 11.4 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003192/0.5309, allocations: 2.312 MB / 0.6298 GB, free: 9.074 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009736/0.5406, allocations: 6.017 MB / 0.6357 GB, free: 2.793 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.364e-05/0.5407, allocations: 47.88 kB / 0.6357 GB, free: 2.738 MB / 494.1 MB Notification: Performance of pre-optimization done (n=181): time 6.241e-06/0.5407, allocations: 3.938 kB / 0.6357 GB, free: 2.734 MB / 494.1 MB Notification: Performance of matching and sorting (n=210): time 0.06785/0.6086, allocations: 21.94 MB / 0.6571 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.915e-05/0.6087, allocations: 150.1 kB / 0.6573 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006095/0.6149, allocations: 3.375 MB / 0.6606 GB, free: 9.051 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.000486/0.6154, allocations: 57.7 kB / 0.6606 GB, free: 8.988 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002184/0.6176, allocations: 2.805 MB / 0.6634 GB, free: 6.141 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001169/0.6188, allocations: 0.7982 MB / 0.6642 GB, free: 5.332 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002792/0.6216, allocations: 1.19 MB / 0.6653 GB, free: 4.129 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.856e-05/0.6217, allocations: 305.1 kB / 0.6656 GB, free: 3.828 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003713/0.6254, allocations: 2.327 MB / 0.6679 GB, free: 1.496 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006072/0.6315, allocations: 5.792 MB / 0.6735 GB, free: 9.984 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01056/0.6421, allocations: 8.798 MB / 0.6821 GB, free: 15.49 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001219/0.6423, allocations: 36 kB / 0.6822 GB, free: 15.45 MB / 0.545 GB Notification: Performance of matching and sorting (n=775) (initialization): time 0.01697/0.6592, allocations: 8.683 MB / 0.6906 GB, free: 6.754 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001257/0.6594, allocations: 56 kB / 0.6907 GB, free: 6.699 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001932/0.6596, allocations: 132.8 kB / 0.6908 GB, free: 6.57 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00279/0.6624, allocations: 1.037 MB / 0.6918 GB, free: 5.52 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004937/0.6674, allocations: 1.372 MB / 0.6932 GB, free: 4.145 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005968/0.6733, allocations: 5.809 MB / 0.6988 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00463/0.678, allocations: 331.5 kB / 0.6992 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001116/0.6792, allocations: 360 kB / 0.6995 GB, free: 13.38 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.004266/0.6834, allocations: 1.935 MB / 0.7014 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008772/0.6843, allocations: 308.3 kB / 0.7017 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007783/0.6921, allocations: 3.943 MB / 0.7055 GB, free: 7.145 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.038e-05/0.6922, allocations: 27.98 kB / 0.7056 GB, free: 7.117 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.317e-05/0.6923, allocations: 7.938 kB / 0.7056 GB, free: 7.109 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.348e-05/0.6923, allocations: 16.02 kB / 0.7056 GB, free: 7.094 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01773/0.71, allocations: 8.81 MB / 0.7142 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.877e-05/0.7101, allocations: 0 / 0.7142 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001814/0.7119, allocations: 355.5 kB / 0.7145 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002558/0.7145, allocations: 0.8656 MB / 0.7154 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002837/0.7148, allocations: 36 kB / 0.7154 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00575/0.7206, allocations: 5.133 MB / 0.7204 GB, free: 7.512 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.7206, allocations: 0 / 0.7204 GB, free: 7.512 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01093/0.7315, allocations: 6.886 MB / 0.7272 GB, free: 0.5859 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001031/0.7326, allocations: 353 kB / 0.7275 GB, free: 224 kB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007302/0.7334, allocations: 35.98 kB / 0.7275 GB, free: 188 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001816/0.7352, allocations: 115.8 kB / 0.7276 GB, free: 72 kB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.2474/0.9826, allocations: 114.7 kB / 0.7277 GB, free: 183.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004137/0.9831, allocations: 59.66 kB / 0.7278 GB, free: 183.3 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.003748/0.9869, allocations: 2.078 MB / 0.7298 GB, free: 183.2 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7.91e-07/0.9869, allocations: 0 / 0.7298 GB, free: 183.2 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.004882/0.9918, allocations: 0.9652 MB / 0.7308 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.0004992/0.9923, allocations: 180.5 kB / 0.7309 GB, free: 183.1 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.009799/1.002, allocations: 6.136 MB / 0.7369 GB, free: 180.9 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/1.002, allocations: 3.938 kB / 0.7369 GB, free: 180.9 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003987/1.006, allocations: 2.478 MB / 0.7394 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.002467/1.009, allocations: 347.8 kB / 0.7397 GB, free: 179.6 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01601/1.025, allocations: 9.457 MB / 0.7489 GB, free: 175.5 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003175/1.028, allocations: 3.031 MB / 0.7519 GB, free: 174.2 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001142/1.029, allocations: 284.4 kB / 0.7522 GB, free: 174.2 MB / 0.5762 GB Notification: Performance of SimCode: time 1.283e-06/1.029, allocations: 0 / 0.7522 GB, free: 174.2 MB / 0.5762 GB Notification: Performance of Templates: time 0.1043/1.133, allocations: 125.2 MB / 0.8744 GB, free: 53.85 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/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