Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.SpringDamperSeries.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_ModelicaTest.MultiBody.Forces.SpringDamperSeries") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009455/0.0009454, allocations: 179.2 kB / 16.72 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.208/1.208, allocations: 205.4 MB / 222.9 MB, free: 9.027 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007783/0.0007783, allocations: 88.8 kB / 271.2 MB, free: 8.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3048/0.3048, allocations: 43.57 MB / 363.1 MB, free: 52.17 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003556/0.0003557, allocations: 12 kB / 432 MB, free: 5.82 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09964/0.1, allocations: 58.85 MB / 490.8 MB, free: 10.88 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.1897/0.2897, allocations: 34.88 MB / 0.5134 GB, free: 25.68 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01481/0.3046, allocations: 7.471 MB / 0.5207 GB, free: 20.57 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00664/0.3113, allocations: 159.9 kB / 0.5208 GB, free: 20.55 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005016/0.3163, allocations: 1.779 MB / 0.5226 GB, free: 19.91 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01193/0.3283, allocations: 4.968 MB / 0.5274 GB, free: 17.79 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00255/0.3309, allocations: 457.7 kB / 0.5279 GB, free: 17.58 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004013/0.3349, allocations: 3.522 MB / 0.5313 GB, free: 16.29 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004323/0.3392, allocations: 4.015 MB / 0.5352 GB, free: 14.66 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001293/0.3406, allocations: 1.005 MB / 0.5362 GB, free: 14.31 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001549/0.3421, allocations: 1.564 MB / 0.5377 GB, free: 13.8 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003666/0.3425, allocations: 128.4 kB / 0.5378 GB, free: 13.8 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00142/0.3439, allocations: 0.8781 MB / 0.5387 GB, free: 13.59 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001211/0.3452, allocations: 1.392 MB / 0.5401 GB, free: 13.16 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001485/0.3466, allocations: 1.686 MB / 0.5417 GB, free: 11.98 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005643/0.3523, allocations: 4.792 MB / 0.5464 GB, free: 10.6 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.3523, allocations: 0 / 0.5464 GB, free: 10.6 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.3524, allocations: 0 / 0.5464 GB, free: 10.6 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002/0.3526, allocations: 1.5 kB / 0.5464 GB, free: 10.6 MB / 378.7 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.007536/0.3601, allocations: 3.46 MB / 0.5498 GB, free: 8.098 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.3602, allocations: 9.75 kB / 0.5498 GB, free: 8.098 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006113/0.3663, allocations: 1.851 MB / 0.5516 GB, free: 7.125 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003812/0.3701, allocations: 1.748 MB / 0.5533 GB, free: 5.926 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001998/0.3704, allocations: 236.1 kB / 0.5535 GB, free: 5.809 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007484/0.3711, allocations: 303.2 kB / 0.5538 GB, free: 5.699 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01827/0.3894, allocations: 10.61 MB / 0.5642 GB, free: 14.56 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001058/0.3896, allocations: 39.59 kB / 0.5642 GB, free: 14.52 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004595/0.39, allocations: 147.8 kB / 0.5643 GB, free: 14.38 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003276/0.3933, allocations: 2.033 MB / 0.5663 GB, free: 12.34 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01885/0.4122, allocations: 9.301 MB / 0.5754 GB, free: 3.02 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04499/0.4572, allocations: 38.05 MB / 0.6126 GB, free: 11.98 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009852/0.4671, allocations: 4.164 MB / 0.6166 GB, free: 7.648 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002742/0.4699, allocations: 2.301 MB / 0.6189 GB, free: 5.332 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008104/0.478, allocations: 6.013 MB / 0.6248 GB, free: 15.05 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.739e-05/0.4781, allocations: 47.88 kB / 0.6248 GB, free: 15 MB / 458.7 MB Notification: Performance of pre-optimization done (n=181): time 5.31e-06/0.4781, allocations: 4 kB / 0.6248 GB, free: 14.99 MB / 458.7 MB Notification: Performance of matching and sorting (n=210): time 0.06361/0.5417, allocations: 21.93 MB / 0.6462 GB, free: 8.887 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.352e-05/0.5419, allocations: 149.8 kB / 0.6464 GB, free: 8.707 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006098/0.548, allocations: 3.367 MB / 0.6497 GB, free: 5.332 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003806/0.5484, allocations: 57.7 kB / 0.6497 GB, free: 5.27 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002189/0.5506, allocations: 2.797 MB / 0.6524 GB, free: 2.434 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001055/0.5516, allocations: 0.7943 MB / 0.6532 GB, free: 1.629 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005465/0.5522, allocations: 120 kB / 0.6533 GB, free: 1.508 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0004787/0.5527, allocations: 0.558 MB / 0.6539 GB, free: 0.9414 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003876/0.5566, allocations: 2.303 MB / 0.6561 GB, free: 14.63 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006011/0.5626, allocations: 5.765 MB / 0.6618 GB, free: 7.152 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00999/0.5726, allocations: 8.764 MB / 0.6703 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001168/0.5728, allocations: 36 kB / 0.6703 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of matching and sorting (n=775) (initialization): time 0.01697/0.5898, allocations: 8.638 MB / 0.6788 GB, free: 3.992 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001156/0.5899, allocations: 56.19 kB / 0.6788 GB, free: 3.938 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001559/0.5901, allocations: 124 kB / 0.679 GB, free: 3.816 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002682/0.5928, allocations: 1.046 MB / 0.68 GB, free: 2.758 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004831/0.5976, allocations: 1.372 MB / 0.6813 GB, free: 1.383 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1898/0.7874, allocations: 5.393 MB / 0.6866 GB, free: 148.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004461/0.7919, allocations: 327.8 kB / 0.6869 GB, free: 148.6 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001196/0.7931, allocations: 361.5 kB / 0.6872 GB, free: 148.6 MB / 0.4948 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 (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 9,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005049/0.7982, allocations: 1.944 MB / 0.6891 GB, free: 148.4 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008249/0.799, allocations: 309.4 kB / 0.6894 GB, free: 148.4 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007326/0.8064, allocations: 3.937 MB / 0.6933 GB, free: 147.4 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.364e-05/0.8065, allocations: 26.31 kB / 0.6933 GB, free: 147.4 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.478e-05/0.8065, allocations: 9.062 kB / 0.6933 GB, free: 147.4 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.398e-05/0.8065, allocations: 10.08 kB / 0.6933 GB, free: 147.4 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01494/0.8215, allocations: 8.871 MB / 0.702 GB, free: 144 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.384e-05/0.8215, allocations: 3.5 kB / 0.702 GB, free: 144 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001616/0.8231, allocations: 349 kB / 0.7023 GB, free: 144 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00206/0.8252, allocations: 0.867 MB / 0.7032 GB, free: 143.7 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002105/0.8254, allocations: 38.22 kB / 0.7032 GB, free: 143.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003582/0.829, allocations: 4.751 MB / 0.7078 GB, free: 140.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.8291, allocations: 6.25 kB / 0.7078 GB, free: 140.2 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008469/0.8375, allocations: 6.846 MB / 0.7145 GB, free: 137.5 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001531/0.8391, allocations: 0.6889 MB / 0.7152 GB, free: 137.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004783/0.8396, allocations: 33.69 kB / 0.7152 GB, free: 137.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001329/0.8409, allocations: 121 kB / 0.7154 GB, free: 137.2 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003131/0.8412, allocations: 118.5 kB / 0.7155 GB, free: 137.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001431/0.8414, allocations: 56.72 kB / 0.7155 GB, free: 137.1 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.003159/0.8446, allocations: 2.061 MB / 0.7175 GB, free: 136.4 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.01e-07/0.8446, allocations: 0 / 0.7175 GB, free: 136.4 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004768/0.8494, allocations: 0.972 MB / 0.7185 GB, free: 136.3 MB / 0.4948 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 (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004741/0.8498, allocations: 177.1 kB / 0.7187 GB, free: 136.2 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.009255/0.8591, allocations: 6.087 MB / 0.7246 GB, free: 133.8 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/0.8592, allocations: 3.938 kB / 0.7246 GB, free: 133.8 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003841/0.863, allocations: 2.459 MB / 0.727 GB, free: 132.7 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002689/0.8657, allocations: 336 kB / 0.7273 GB, free: 132.5 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01843/0.8842, allocations: 11.17 MB / 0.7382 GB, free: 126.8 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003532/0.8877, allocations: 3.033 MB / 0.7412 GB, free: 125.5 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001178/0.8889, allocations: 287.5 kB / 0.7415 GB, free: 125.5 MB / 0.4948 GB Notification: Performance of SimCode: time 8.71e-07/0.889, allocations: 0 / 0.7415 GB, free: 125.5 MB / 0.4948 GB Notification: Performance of Templates: time 0.1136/1.003, allocations: 123.8 MB / 0.8623 GB, free: 6.566 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.SpringDamperSeries.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.SpringDamperSeries.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.SpringDamperSeries --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.SpringDamperSeries_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/SpringDamperSeries/SpringDamperSeries.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.SpringDamperSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches