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.00119/0.00119, allocations: 96.14 kB / 15.87 MB, free: 16 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001299/0.001299, allocations: 203.7 kB / 16.79 MB, free: 6.84 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.614/1.614, allocations: 205.1 MB / 222.6 MB, free: 4.746 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3648/0.3648, allocations: 43.49 MB / 313.5 MB, free: 8.551 MB / 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.00143/0.00143, allocations: 67.89 kB / 382 MB, free: 8.746 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1524/0.1539, allocations: 57.78 MB / 439.8 MB, free: 14.86 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.329/0.4829, allocations: 38.53 MB / 478.3 MB, free: 27.64 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01884/0.5018, allocations: 7.845 MB / 486.2 MB, free: 22.75 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01021/0.5121, allocations: 158.8 kB / 486.3 MB, free: 22.73 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004528/0.5167, allocations: 2.343 MB / 488.7 MB, free: 21.64 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003821/0.5205, allocations: 1.149 MB / 489.8 MB, free: 21.09 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001404/0.522, allocations: 479.2 kB / 490.3 MB, free: 20.84 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005061/0.527, allocations: 4.332 MB / 494.6 MB, free: 19.44 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005026/0.5321, allocations: 3.008 MB / 497.6 MB, free: 18.35 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002469/0.5346, allocations: 1.126 MB / 498.8 MB, free: 17.89 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002896/0.5375, allocations: 1.842 MB / 0.4889 GB, free: 17.21 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008809/0.5384, allocations: 217.5 kB / 0.4891 GB, free: 17.21 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003236/0.5416, allocations: 0.9568 MB / 0.49 GB, free: 16.99 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002874/0.5445, allocations: 1.555 MB / 0.4915 GB, free: 16.44 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00342/0.5479, allocations: 1.917 MB / 0.4934 GB, free: 15.11 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01149/0.5594, allocations: 5.988 MB / 0.4993 GB, free: 12.92 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.194e-05/0.5595, allocations: 0 / 0.4993 GB, free: 12.92 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.875e-06/0.5595, allocations: 0 / 0.4993 GB, free: 12.92 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003056/0.5598, allocations: 1.219 kB / 0.4993 GB, free: 12.92 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.01526/0.5751, allocations: 4.267 MB / 0.5034 GB, free: 10.45 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.804e-05/0.5752, allocations: 9.781 kB / 0.5034 GB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007298/0.5825, allocations: 1.81 MB / 0.5052 GB, free: 9.703 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004872/0.5874, allocations: 1.747 MB / 0.5069 GB, free: 8.504 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002762/0.5877, allocations: 232 kB / 0.5071 GB, free: 8.391 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001532/0.5892, allocations: 304.2 kB / 0.5074 GB, free: 8.281 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02628/0.6155, allocations: 10.63 MB / 0.5178 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002078/0.6158, allocations: 31.75 kB / 0.5178 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001429/0.6172, allocations: 143.9 kB / 0.518 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003689/0.6209, allocations: 2.04 MB / 0.52 GB, free: 14.65 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02337/0.6443, allocations: 9.326 MB / 0.5291 GB, free: 5.297 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06392/0.7083, allocations: 38.02 MB / 0.5662 GB, free: 14.29 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01238/0.7207, allocations: 4.176 MB / 0.5703 GB, free: 9.953 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003806/0.7246, allocations: 2.309 MB / 0.5725 GB, free: 7.629 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01151/0.7361, allocations: 6.013 MB / 0.5784 GB, free: 1.352 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.732e-05/0.7362, allocations: 55.81 kB / 0.5785 GB, free: 1.289 MB / 446.1 MB Notification: Performance of pre-optimization done (n=181): time 5.58e-06/0.7362, allocations: 0 / 0.5785 GB, free: 1.289 MB / 446.1 MB Notification: Performance of matching and sorting (n=210): time 0.07192/0.8082, allocations: 21.95 MB / 0.5999 GB, free: 11.17 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001134/0.8083, allocations: 153.9 kB / 0.6 GB, free: 10.98 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008279/0.8166, allocations: 3.387 MB / 0.6033 GB, free: 7.59 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007419/0.8174, allocations: 57.7 kB / 0.6034 GB, free: 7.527 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002863/0.8203, allocations: 2.798 MB / 0.6061 GB, free: 4.691 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001644/0.8219, allocations: 0.7942 MB / 0.6069 GB, free: 3.887 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00353/0.8255, allocations: 1.194 MB / 0.6081 GB, free: 2.68 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000113/0.8256, allocations: 309 kB / 0.6084 GB, free: 2.375 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004316/0.83, allocations: 2.331 MB / 0.6106 GB, free: 40 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00742/0.8374, allocations: 5.784 MB / 0.6163 GB, free: 8.539 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01446/0.8519, allocations: 8.806 MB / 0.6249 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001541/0.8521, allocations: 36 kB / 0.6249 GB, free: 14 MB / 0.4981 GB Notification: Performance of matching and sorting (n=775) (initialization): time 0.02082/0.8729, allocations: 8.681 MB / 0.6334 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.00015/0.8731, allocations: 56 kB / 0.6335 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000239/0.8734, allocations: 122 kB / 0.6336 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002964/0.8764, allocations: 1.045 MB / 0.6346 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005451/0.8818, allocations: 1.372 MB / 0.6359 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3461/1.228, allocations: 5.394 MB / 0.6412 GB, free: 126.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006657/1.235, allocations: 333 kB / 0.6415 GB, free: 126.4 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001648/1.236, allocations: 360.4 kB / 0.6419 GB, free: 126.4 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.006222/1.243, allocations: 1.935 MB / 0.6437 GB, free: 126.3 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001216/1.244, allocations: 314.1 kB / 0.644 GB, free: 126.3 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007972/1.252, allocations: 3.947 MB / 0.6479 GB, free: 126.1 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.354e-05/1.252, allocations: 22.06 kB / 0.6479 GB, free: 126.1 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.574e-05/1.252, allocations: 7.578 kB / 0.6479 GB, free: 126.1 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.823e-05/1.252, allocations: 15.16 kB / 0.6479 GB, free: 126.1 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02083/1.273, allocations: 8.882 MB / 0.6566 GB, free: 123.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.626e-05/1.273, allocations: 7.094 kB / 0.6566 GB, free: 123.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001793/1.275, allocations: 347.9 kB / 0.657 GB, free: 123.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002713/1.277, allocations: 0.8689 MB / 0.6578 GB, free: 123.3 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002788/1.278, allocations: 38.95 kB / 0.6578 GB, free: 123.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004663/1.282, allocations: 4.748 MB / 0.6625 GB, free: 119.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.1e-06/1.282, allocations: 5.281 kB / 0.6625 GB, free: 119.8 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0118/1.294, allocations: 6.859 MB / 0.6692 GB, free: 117 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002093/1.296, allocations: 0.6777 MB / 0.6698 GB, free: 116.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005071/1.297, allocations: 33.53 kB / 0.6699 GB, free: 116.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001449/1.298, allocations: 115.9 kB / 0.67 GB, free: 116.8 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004291/1.299, allocations: 124.4 kB / 0.6701 GB, free: 116.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001776/1.299, allocations: 57.55 kB / 0.6702 GB, free: 116.7 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.004115/1.303, allocations: 2.081 MB / 0.6722 GB, free: 116 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.454e-06/1.303, allocations: 0 / 0.6722 GB, free: 116 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.006679/1.31, allocations: 0.9684 MB / 0.6731 GB, free: 115.9 MB / 0.4981 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.0005638/1.31, allocations: 181.7 kB / 0.6733 GB, free: 115.8 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01169/1.322, allocations: 6.121 MB / 0.6793 GB, free: 113.7 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.168e-05/1.322, allocations: 2.562 kB / 0.6793 GB, free: 113.7 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004484/1.327, allocations: 2.469 MB / 0.6817 GB, free: 112.6 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003019/1.33, allocations: 350.7 kB / 0.682 GB, free: 112.4 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01737/1.347, allocations: 11 MB / 0.6928 GB, free: 106.5 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003064/1.35, allocations: 3.025 MB / 0.6957 GB, free: 105.3 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.004779/1.355, allocations: 1.853 MB / 0.6975 GB, free: 105.2 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007898/1.356, allocations: 237 kB / 0.6978 GB, free: 105.2 MB / 0.4981 GB Notification: Performance of SimCode: time 8.92e-07/1.356, allocations: 0 / 0.6978 GB, free: 105.2 MB / 0.4981 GB Notification: Performance of Templates: time 0.05859/1.414, allocations: 35.77 MB / 0.7327 GB, free: 70.07 MB / 0.4981 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","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches