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.00142/0.00142, allocations: 105.2 kB / 17.63 MB, free: 5.344 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.001593/0.001593, allocations: 192 kB / 18.56 MB, free: 4.434 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.347/1.347, allocations: 222.9 MB / 242.2 MB, free: 15.16 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.1958/0.1958, allocations: 44.19 MB / 336.6 MB, free: 2.746 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001176, allocations: 80.03 kB / 408.4 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09804/0.09924, allocations: 60.82 MB / 469.3 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.01039/0.1097, allocations: 10.52 MB / 479.8 MB, free: 3.789 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006333/0.116, allocations: 3.197 MB / 483 MB, free: 0.582 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001461/0.1176, allocations: 59.81 kB / 483 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004102/0.1217, allocations: 2.355 MB / 485.4 MB, free: 14.16 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00329/0.125, allocations: 1.227 MB / 486.6 MB, free: 12.93 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001499/0.1265, allocations: 0.5146 MB / 487.1 MB, free: 12.41 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003848/0.1304, allocations: 2.959 MB / 490.1 MB, free: 9.449 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00346/0.1339, allocations: 3.017 MB / 493.1 MB, free: 6.383 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002059/0.136, allocations: 1.269 MB / 494.4 MB, free: 5.109 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002219/0.1382, allocations: 1.728 MB / 496.1 MB, free: 3.375 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007013/0.1389, allocations: 300 kB / 496.4 MB, free: 3.082 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001796/0.1407, allocations: 0.987 MB / 497.4 MB, free: 2.094 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001436/0.1422, allocations: 1.605 MB / 499 MB, free: 496 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001917/0.1441, allocations: 1.981 MB / 0.4892 GB, free: 14.49 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005834/0.15, allocations: 6.039 MB / 0.4951 GB, free: 8.434 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.15, allocations: 0 / 0.4951 GB, free: 8.434 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.15, allocations: 0 / 0.4951 GB, free: 8.434 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.877e-05/0.1501, allocations: 0 / 0.4951 GB, free: 8.434 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.00654/0.1567, allocations: 4.253 MB / 0.4993 GB, free: 4.113 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.1567, allocations: 12.03 kB / 0.4993 GB, free: 4.102 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005617/0.1623, allocations: 1.809 MB / 0.5011 GB, free: 2.285 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002792/0.1651, allocations: 1.746 MB / 0.5028 GB, free: 500 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001589/0.1653, allocations: 233.7 kB / 0.503 GB, free: 264 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.1963/0.3616, allocations: 296.2 kB / 0.5033 GB, free: 45.88 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01992/0.3815, allocations: 10.62 MB / 0.5136 GB, free: 41.96 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.97e-05/0.3817, allocations: 39 kB / 0.5137 GB, free: 41.95 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003696/0.3821, allocations: 148.5 kB / 0.5138 GB, free: 41.88 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003177/0.3852, allocations: 2.042 MB / 0.5158 GB, free: 41.51 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01667/0.4019, allocations: 9.323 MB / 0.5249 GB, free: 37.27 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03469/0.4367, allocations: 38.01 MB / 0.562 GB, free: 14.57 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01018/0.4469, allocations: 4.164 MB / 0.5661 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002629/0.4495, allocations: 2.309 MB / 0.5684 GB, free: 7.914 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007418/0.457, allocations: 6.018 MB / 0.5742 GB, free: 1.637 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.319e-05/0.457, allocations: 51.81 kB / 0.5743 GB, free: 1.578 MB / 398.1 MB Notification: Performance of pre-optimization done (n=181): time 4.618e-06/0.457, allocations: 0 / 0.5743 GB, free: 1.578 MB / 398.1 MB Notification: Performance of matching and sorting (n=210): time 0.05993/0.517, allocations: 21.95 MB / 0.5957 GB, free: 11.46 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.017e-05/0.5171, allocations: 157.7 kB / 0.5959 GB, free: 11.27 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004235/0.5213, allocations: 3.382 MB / 0.5992 GB, free: 7.879 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003591/0.5217, allocations: 57.7 kB / 0.5992 GB, free: 7.816 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001702/0.5234, allocations: 2.794 MB / 0.602 GB, free: 4.98 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008095/0.5242, allocations: 0.7981 MB / 0.6027 GB, free: 4.172 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001533/0.5258, allocations: 1.19 MB / 0.6039 GB, free: 2.969 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000109/0.5259, allocations: 305.1 kB / 0.6042 GB, free: 2.668 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003369/0.5293, allocations: 2.327 MB / 0.6065 GB, free: 344 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005715/0.535, allocations: 5.785 MB / 0.6121 GB, free: 8.836 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009761/0.5448, allocations: 8.812 MB / 0.6207 GB, free: 14.32 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.728e-05/0.5449, allocations: 36 kB / 0.6207 GB, free: 14.29 MB / 462.1 MB Notification: Performance of matching and sorting (n=775) (initialization): time 0.01538/0.5603, allocations: 8.675 MB / 0.6292 GB, free: 5.598 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.845e-05/0.5604, allocations: 56 kB / 0.6293 GB, free: 5.543 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001203/0.5605, allocations: 128.2 kB / 0.6294 GB, free: 5.418 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002616/0.5632, allocations: 1.037 MB / 0.6304 GB, free: 4.367 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004538/0.5677, allocations: 1.376 MB / 0.6318 GB, free: 2.988 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005801/0.5735, allocations: 5.83 MB / 0.6374 GB, free: 12.88 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00393/0.5775, allocations: 327.6 kB / 0.6378 GB, free: 12.55 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007371/0.5782, allocations: 360 kB / 0.6381 GB, free: 12.2 MB / 478.1 MB 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.003063/0.5813, allocations: 1.939 MB / 0.64 GB, free: 10.25 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006386/0.582, allocations: 312 kB / 0.6403 GB, free: 9.941 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006694/0.5887, allocations: 3.937 MB / 0.6441 GB, free: 5.98 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.973e-05/0.5887, allocations: 24 kB / 0.6442 GB, free: 5.957 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.905e-05/0.5888, allocations: 4 kB / 0.6442 GB, free: 5.953 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-05/0.5888, allocations: 11.95 kB / 0.6442 GB, free: 5.941 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01554/0.6044, allocations: 8.879 MB / 0.6528 GB, free: 12.96 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.309e-05/0.6044, allocations: 0 / 0.6528 GB, free: 12.96 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001675/0.6061, allocations: 351.5 kB / 0.6532 GB, free: 12.62 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002375/0.6085, allocations: 0.8696 MB / 0.654 GB, free: 11.74 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001736/0.6087, allocations: 39.98 kB / 0.6541 GB, free: 11.7 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004924/0.6136, allocations: 5.098 MB / 0.659 GB, free: 6.32 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.6136, allocations: 0 / 0.659 GB, free: 6.32 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009617/0.6232, allocations: 6.861 MB / 0.6657 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001024/0.6243, allocations: 353 kB / 0.6661 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004551/0.6248, allocations: 36 kB / 0.6661 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001443/0.6262, allocations: 111.8 kB / 0.6662 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003141/0.6266, allocations: 133.2 kB / 0.6664 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001462/0.6267, allocations: 59.98 kB / 0.6664 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002864/0.6296, allocations: 2.081 MB / 0.6684 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.4e-07/0.6296, allocations: 0 / 0.6684 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003922/0.6335, allocations: 0.9661 MB / 0.6694 GB, free: 11.69 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.0004081/0.6339, allocations: 173.7 kB / 0.6696 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01258/0.6465, allocations: 7.851 MB / 0.6772 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5e-06/0.6466, allocations: 0 / 0.6772 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003917/0.6505, allocations: 2.468 MB / 0.6796 GB, free: 1.105 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00224/0.6527, allocations: 353.7 kB / 0.68 GB, free: 0.7617 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01408/0.6668, allocations: 9.128 MB / 0.6889 GB, free: 7.602 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00291/0.6698, allocations: 3.014 MB / 0.6918 GB, free: 4.559 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.004225/0.674, allocations: 1.865 MB / 0.6936 GB, free: 2.684 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007342/0.6748, allocations: 239.4 kB / 0.6939 GB, free: 2.449 MB / 0.5137 GB Notification: Performance of SimCode: time 8.51e-07/0.6748, allocations: 0 / 0.6939 GB, free: 2.449 MB / 0.5137 GB Notification: Performance of Templates: time 0.2366/0.9114, allocations: 37.05 MB / 0.7301 GB, free: 156.4 MB / 0.5137 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/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_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches