Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 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 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 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_3.2.3_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_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.001468/0.001468, allocations: 106 kB / 16.41 MB, free: 6.504 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.00126/0.00126, allocations: 192.2 kB / 17.34 MB, free: 5.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.574/1.574, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2199/0.2199, allocations: 43.52 MB / 314.1 MB, free: 460 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001386/0.001386, allocations: 69.47 kB / 441.8 MB, free: 5.652 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.1312, allocations: 57.78 MB / 499.6 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.01102/0.1422, allocations: 10.57 MB / 0.4982 GB, free: 1.164 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007496/0.1498, allocations: 3.256 MB / 0.5014 GB, free: 13.9 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001962/0.1518, allocations: 55.81 kB / 0.5014 GB, free: 13.85 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004652/0.1565, allocations: 2.363 MB / 0.5038 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004052/0.1606, allocations: 1.26 MB / 0.505 GB, free: 10.21 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00156/0.1622, allocations: 0.5224 MB / 0.5055 GB, free: 9.688 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004136/0.1663, allocations: 2.971 MB / 0.5084 GB, free: 6.707 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003479/0.1698, allocations: 3.025 MB / 0.5113 GB, free: 3.629 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001752/0.1716, allocations: 1.289 MB / 0.5126 GB, free: 2.336 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002262/0.1738, allocations: 1.729 MB / 0.5143 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006317/0.1745, allocations: 296 kB / 0.5146 GB, free: 320 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00186/0.1764, allocations: 0.983 MB / 0.5155 GB, free: 15.33 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001593/0.178, allocations: 1.605 MB / 0.5171 GB, free: 13.72 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002027/0.18, allocations: 1.973 MB / 0.519 GB, free: 11.73 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007232/0.1872, allocations: 6.279 MB / 0.5252 GB, free: 5.434 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.508e-06/0.1873, allocations: 4 kB / 0.5252 GB, free: 5.43 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.366e-06/0.1873, allocations: 0 / 0.5252 GB, free: 5.43 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001722/0.1875, allocations: 0 / 0.5252 GB, free: 5.43 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.009199/0.1967, allocations: 4.257 MB / 0.5293 GB, free: 1.105 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.861e-05/0.1968, allocations: 11.89 kB / 0.5293 GB, free: 1.094 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2841/0.4809, allocations: 1.809 MB / 0.5311 GB, free: 36.95 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003269/0.4842, allocations: 1.78 MB / 0.5328 GB, free: 36.39 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001608/0.4844, allocations: 224.7 kB / 0.5331 GB, free: 36.39 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005762/0.485, allocations: 301.1 kB / 0.5333 GB, free: 36.38 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02144/0.5064, allocations: 10.63 MB / 0.5437 GB, free: 32.78 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001309/0.5066, allocations: 39.53 kB / 0.5438 GB, free: 32.76 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004566/0.5071, allocations: 145.6 kB / 0.5439 GB, free: 32.69 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004068/0.5111, allocations: 2.036 MB / 0.5459 GB, free: 32.33 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02036/0.5315, allocations: 9.333 MB / 0.555 GB, free: 28.83 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03931/0.5709, allocations: 37.84 MB / 0.592 GB, free: 7.312 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01138/0.5823, allocations: 4.182 MB / 0.596 GB, free: 2.969 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003432/0.5858, allocations: 2.308 MB / 0.5983 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008432/0.5943, allocations: 6.019 MB / 0.6042 GB, free: 10.37 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.519e-05/0.5943, allocations: 51.88 kB / 0.6042 GB, free: 10.31 MB / 446.1 MB Notification: Performance of pre-optimization done (n=181): time 4.398e-06/0.5943, allocations: 0 / 0.6042 GB, free: 10.31 MB / 446.1 MB Notification: Performance of matching and sorting (n=210): time 0.06583/0.6602, allocations: 21.95 MB / 0.6257 GB, free: 4.195 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.065e-05/0.6603, allocations: 157.8 kB / 0.6258 GB, free: 4.012 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004418/0.6647, allocations: 3.387 MB / 0.6291 GB, free: 0.6172 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003654/0.6651, allocations: 57.7 kB / 0.6292 GB, free: 0.5547 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001796/0.6669, allocations: 2.798 MB / 0.6319 GB, free: 13.71 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008474/0.6678, allocations: 0.7982 MB / 0.6327 GB, free: 12.91 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001633/0.6694, allocations: 1.194 MB / 0.6338 GB, free: 11.7 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001051/0.6695, allocations: 301.1 kB / 0.6341 GB, free: 11.4 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003431/0.673, allocations: 2.327 MB / 0.6364 GB, free: 9.07 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005921/0.6789, allocations: 5.785 MB / 0.642 GB, free: 1.57 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01031/0.6893, allocations: 8.808 MB / 0.6507 GB, free: 7.059 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.665e-05/0.6894, allocations: 32 kB / 0.6507 GB, free: 7.027 MB / 494.1 MB Notification: Performance of matching and sorting (n=775) (initialization): time 0.01691/0.7063, allocations: 8.672 MB / 0.6592 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.196e-05/0.7064, allocations: 60.92 kB / 0.6592 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001801/0.7066, allocations: 120 kB / 0.6593 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00275/0.7094, allocations: 1.045 MB / 0.6603 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004759/0.7141, allocations: 1.38 MB / 0.6617 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006153/0.7203, allocations: 5.81 MB / 0.6674 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00511/0.7254, allocations: 319.5 kB / 0.6677 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000979/0.7264, allocations: 360 kB / 0.668 GB, free: 4.953 MB / 0.4981 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.0035/0.73, allocations: 1.959 MB / 0.6699 GB, free: 2.984 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000865/0.7308, allocations: 312 kB / 0.6702 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007425/0.7383, allocations: 3.938 MB / 0.6741 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.615e-05/0.7383, allocations: 24 kB / 0.6741 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-05/0.7383, allocations: 4 kB / 0.6741 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.472e-05/0.7384, allocations: 11.95 kB / 0.6741 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01453/0.7529, allocations: 8.797 MB / 0.6827 GB, free: 5.781 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-05/0.753, allocations: 8 kB / 0.6827 GB, free: 5.773 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001846/0.7548, allocations: 343.5 kB / 0.683 GB, free: 5.438 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002516/0.7573, allocations: 0.8657 MB / 0.6839 GB, free: 4.559 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001978/0.7576, allocations: 36 kB / 0.6839 GB, free: 4.523 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005313/0.7629, allocations: 5.132 MB / 0.6889 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.652e-06/0.7629, allocations: 4.031 kB / 0.6889 GB, free: 15.1 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01072/0.7737, allocations: 6.878 MB / 0.6956 GB, free: 8.184 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001517/0.7752, allocations: 0.6765 MB / 0.6963 GB, free: 7.484 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004534/0.7757, allocations: 32.19 kB / 0.6963 GB, free: 7.453 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001479/0.7772, allocations: 123.8 kB / 0.6965 GB, free: 7.332 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003548/0.7775, allocations: 121.1 kB / 0.6966 GB, free: 7.215 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001571/0.7777, allocations: 55.98 kB / 0.6966 GB, free: 7.16 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003081/0.7808, allocations: 2.081 MB / 0.6987 GB, free: 5.086 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.81e-07/0.7808, allocations: 3.938 kB / 0.6987 GB, free: 5.082 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.005064/0.7859, allocations: 0.9673 MB / 0.6996 GB, free: 4.117 MB / 0.5294 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.0005738/0.7865, allocations: 176.4 kB / 0.6998 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01113/0.7976, allocations: 6.133 MB / 0.7058 GB, free: 13.77 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/0.7976, allocations: 0 / 0.7058 GB, free: 13.77 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004935/0.8026, allocations: 2.48 MB / 0.7082 GB, free: 11.21 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002722/0.8054, allocations: 361.2 kB / 0.7085 GB, free: 10.87 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01535/0.8207, allocations: 9.038 MB / 0.7174 GB, free: 1.805 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003062/0.8238, allocations: 3.021 MB / 0.7203 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004135/0.828, allocations: 1.861 MB / 0.7221 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008482/0.8289, allocations: 247.4 kB / 0.7224 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of SimCode: time 1.292e-06/0.8289, allocations: 0 / 0.7224 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of Templates: time 0.3072/1.136, allocations: 34.12 MB / 0.7557 GB, free: 190.1 MB / 0.5762 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches