Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001239/0.001239, allocations: 117.7 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001435/0.001436, allocations: 207.8 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.423/1.423, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2322/0.2322, allocations: 46.1 MB / 344.3 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001529/0.001529, allocations: 84.08 kB / 481.3 MB, free: 4.035 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.358/0.3595, allocations: 62.45 MB / 0.531 GB, free: 13.58 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.01177/0.3713, allocations: 10.5 MB / 0.5413 GB, free: 5.344 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007891/0.3793, allocations: 3.249 MB / 0.5444 GB, free: 2.77 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002108/0.3814, allocations: 53.53 kB / 0.5445 GB, free: 2.762 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004681/0.3862, allocations: 2.38 MB / 0.5468 GB, free: 1.148 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003645/0.3898, allocations: 1.202 MB / 0.548 GB, free: 264 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001487/0.3913, allocations: 0.5224 MB / 0.5485 GB, free: 15.73 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004399/0.3958, allocations: 2.92 MB / 0.5513 GB, free: 12.81 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003358/0.3991, allocations: 3.032 MB / 0.5543 GB, free: 9.73 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002/0.4011, allocations: 1.265 MB / 0.5555 GB, free: 8.461 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00236/0.4035, allocations: 1.721 MB / 0.5572 GB, free: 6.734 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005765/0.4041, allocations: 296 kB / 0.5575 GB, free: 6.445 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001796/0.4059, allocations: 1.003 MB / 0.5585 GB, free: 5.441 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001354/0.4073, allocations: 1.582 MB / 0.56 GB, free: 3.855 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001824/0.4091, allocations: 1.961 MB / 0.5619 GB, free: 1.883 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006737/0.4159, allocations: 6.234 MB / 0.568 GB, free: 11.63 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/0.4159, allocations: 0 / 0.568 GB, free: 11.63 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.4159, allocations: 0 / 0.568 GB, free: 11.63 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001398/0.4161, allocations: 0 / 0.568 GB, free: 11.63 MB / 430.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.007818/0.4239, allocations: 4.25 MB / 0.5722 GB, free: 7.312 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.4239, allocations: 12.02 kB / 0.5722 GB, free: 7.301 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006/0.4299, allocations: 1.805 MB / 0.5739 GB, free: 5.488 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003143/0.4331, allocations: 1.765 MB / 0.5757 GB, free: 3.676 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001673/0.4333, allocations: 233.7 kB / 0.5759 GB, free: 3.445 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005921/0.4339, allocations: 303.8 kB / 0.5762 GB, free: 3.148 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02068/0.4546, allocations: 10.65 MB / 0.5866 GB, free: 7.871 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.591e-05/0.4547, allocations: 39.64 kB / 0.5866 GB, free: 7.832 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003938/0.4551, allocations: 139.9 kB / 0.5868 GB, free: 7.695 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003495/0.4586, allocations: 2.04 MB / 0.5887 GB, free: 5.648 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01993/0.4786, allocations: 9.352 MB / 0.5979 GB, free: 12.27 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04522/0.5238, allocations: 37.84 MB / 0.6348 GB, free: 5.41 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01147/0.5354, allocations: 4.192 MB / 0.6389 GB, free: 1.051 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003392/0.5388, allocations: 2.316 MB / 0.6412 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00813/0.547, allocations: 6.096 MB / 0.6471 GB, free: 8.34 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.082e-05/0.5471, allocations: 55.81 kB / 0.6472 GB, free: 8.277 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=181): time 4.058e-06/0.5471, allocations: 0 / 0.6472 GB, free: 8.277 MB / 0.4981 GB Notification: Performance of matching and sorting (n=210): time 0.06651/0.6136, allocations: 22.02 MB / 0.6687 GB, free: 2.086 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.347e-05/0.6137, allocations: 149.8 kB / 0.6688 GB, free: 1.906 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004593/0.6183, allocations: 3.37 MB / 0.6721 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0002322/0.6186, allocations: 57.7 kB / 0.6722 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.00175/0.6203, allocations: 2.794 MB / 0.6749 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007285/0.621, allocations: 0.7943 MB / 0.6757 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001464/0.6225, allocations: 1.198 MB / 0.6769 GB, free: 9.613 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.175e-05/0.6226, allocations: 305.1 kB / 0.6771 GB, free: 9.312 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003289/0.6259, allocations: 2.335 MB / 0.6794 GB, free: 6.973 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005651/0.6316, allocations: 5.796 MB / 0.6851 GB, free: 15.46 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01058/0.6422, allocations: 8.826 MB / 0.6937 GB, free: 4.934 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.501e-05/0.6423, allocations: 36 kB / 0.6937 GB, free: 4.898 MB / 0.545 GB Notification: Performance of matching and sorting (n=775) (initialization): time 0.01667/0.659, allocations: 8.696 MB / 0.7022 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001243/0.6592, allocations: 59.94 kB / 0.7023 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001846/0.6594, allocations: 120 kB / 0.7024 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002856/0.6622, allocations: 1.045 MB / 0.7034 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004812/0.6671, allocations: 1.376 MB / 0.7048 GB, free: 9.57 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006412/0.6735, allocations: 5.815 MB / 0.7105 GB, free: 3.473 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004637/0.6782, allocations: 331.7 kB / 0.7108 GB, free: 3.148 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001368/0.6795, allocations: 360 kB / 0.7111 GB, free: 2.797 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.004288/0.6838, allocations: 1.95 MB / 0.713 GB, free: 0.8398 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009837/0.6848, allocations: 308 kB / 0.7133 GB, free: 0.5352 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007927/0.6928, allocations: 3.955 MB / 0.7172 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-05/0.6929, allocations: 24 kB / 0.7172 GB, free: 12.53 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.993e-05/0.6929, allocations: 4 kB / 0.7172 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.092e-05/0.6929, allocations: 11.97 kB / 0.7172 GB, free: 12.51 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01686/0.7098, allocations: 8.811 MB / 0.7258 GB, free: 3.605 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.572e-05/0.7098, allocations: 0 / 0.7258 GB, free: 3.605 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001846/0.7117, allocations: 347.5 kB / 0.7261 GB, free: 3.266 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002551/0.7142, allocations: 0.8695 MB / 0.727 GB, free: 2.383 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002321/0.7145, allocations: 43.97 kB / 0.727 GB, free: 2.34 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2523/0.9668, allocations: 5.126 MB / 0.732 GB, free: 176.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.9669, allocations: 1.188 kB / 0.732 GB, free: 176.7 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009691/0.9766, allocations: 6.911 MB / 0.7388 GB, free: 174 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007053/0.9773, allocations: 355 kB / 0.7391 GB, free: 173.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003906/0.9777, allocations: 32.25 kB / 0.7392 GB, free: 173.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001435/0.9792, allocations: 122 kB / 0.7393 GB, free: 173.8 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004194/0.9796, allocations: 112.1 kB / 0.7394 GB, free: 173.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001517/0.9798, allocations: 55.69 kB / 0.7394 GB, free: 173.8 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00284/0.9826, allocations: 2.075 MB / 0.7415 GB, free: 173.1 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7.01e-07/0.9826, allocations: 3.438 kB / 0.7415 GB, free: 173.1 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.004151/0.9868, allocations: 0.9565 MB / 0.7424 GB, free: 173 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.000403/0.9872, allocations: 166.9 kB / 0.7426 GB, free: 172.8 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.007993/0.9952, allocations: 6.164 MB / 0.7486 GB, free: 170.5 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.9952, allocations: 0 / 0.7486 GB, free: 170.5 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003536/0.9988, allocations: 2.476 MB / 0.751 GB, free: 169.3 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001941/1.001, allocations: 357.3 kB / 0.7513 GB, free: 169.1 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01253/1.013, allocations: 9.034 MB / 0.7602 GB, free: 162.6 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002474/1.016, allocations: 3.015 MB / 0.7631 GB, free: 160.1 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.003737/1.02, allocations: 1.861 MB / 0.7649 GB, free: 158.2 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009268/1.02, allocations: 243.2 kB / 0.7652 GB, free: 158 MB / 0.5762 GB Notification: Performance of SimCode: time 1.453e-06/1.02, allocations: 0 / 0.7652 GB, free: 158 MB / 0.5762 GB Notification: Performance of Templates: time 0.05346/1.074, allocations: 34.01 MB / 0.7984 GB, free: 124.2 MB / 0.5762 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches