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.0008875/0.0008873, allocations: 88.19 kB / 15.7 MB, free: 460 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.001073/0.001073, allocations: 173.9 kB / 16.58 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.717/1.717, allocations: 205.4 MB / 222.8 MB, free: 5.66 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.4146/0.4146, allocations: 43.58 MB / 314.6 MB, free: 9.012 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.0005336/0.0005339, allocations: 12 kB / 384 MB, free: 8.227 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1424/0.1429, allocations: 58.87 MB / 442.8 MB, free: 13.25 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.3136/0.4565, allocations: 34.86 MB / 477.7 MB, free: 30.23 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02251/0.4791, allocations: 7.477 MB / 485.2 MB, free: 25.13 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009076/0.4883, allocations: 157.4 kB / 485.3 MB, free: 25.11 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006601/0.4949, allocations: 1.781 MB / 487.1 MB, free: 24.47 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01524/0.5102, allocations: 4.957 MB / 492.1 MB, free: 22.36 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002854/0.513, allocations: 413.5 kB / 492.5 MB, free: 22.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005355/0.5184, allocations: 3.478 MB / 495.9 MB, free: 20.89 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007971/0.5264, allocations: 3.782 MB / 499.7 MB, free: 19.39 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003706/0.5302, allocations: 1.006 MB / 0.489 GB, free: 19.05 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004351/0.5346, allocations: 1.563 MB / 0.4905 GB, free: 18.54 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001392/0.536, allocations: 133.7 kB / 0.4906 GB, free: 18.54 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003326/0.5393, allocations: 0.7378 MB / 0.4914 GB, free: 18.38 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003358/0.5427, allocations: 1.384 MB / 0.4927 GB, free: 17.95 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002565/0.5453, allocations: 0.7579 MB / 0.4935 GB, free: 17.41 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01083/0.5562, allocations: 4.788 MB / 0.4981 GB, free: 16.01 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.334e-05/0.5562, allocations: 0 / 0.4981 GB, free: 16.01 MB / 382.1 MB Notification: Performance of FrontEnd: time 5.29e-06/0.5562, allocations: 0 / 0.4981 GB, free: 16.01 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004982/0.5568, allocations: 1 kB / 0.4981 GB, free: 16.01 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.0139/0.5707, allocations: 3.506 MB / 0.5016 GB, free: 13.51 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.809e-05/0.5707, allocations: 10.25 kB / 0.5016 GB, free: 13.51 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007952/0.5787, allocations: 1.85 MB / 0.5034 GB, free: 12.54 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006539/0.5853, allocations: 1.727 MB / 0.5051 GB, free: 11.36 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004332/0.5858, allocations: 235.8 kB / 0.5053 GB, free: 11.25 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002331/0.5881, allocations: 298.5 kB / 0.5056 GB, free: 11.14 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02736/0.6155, allocations: 10.61 MB / 0.5159 GB, free: 4.758 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002192/0.6158, allocations: 43.58 kB / 0.516 GB, free: 4.715 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00145/0.6172, allocations: 147.8 kB / 0.5161 GB, free: 4.57 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00331/0.6206, allocations: 2.033 MB / 0.5181 GB, free: 2.535 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02228/0.6429, allocations: 9.293 MB / 0.5272 GB, free: 9.215 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06192/0.7048, allocations: 38.02 MB / 0.5643 GB, free: 2.211 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01134/0.7162, allocations: 4.173 MB / 0.5684 GB, free: 13.88 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003709/0.7199, allocations: 2.299 MB / 0.5706 GB, free: 11.56 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01126/0.7312, allocations: 6.017 MB / 0.5765 GB, free: 5.285 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.401e-05/0.7313, allocations: 47.88 kB / 0.5765 GB, free: 5.23 MB / 446.1 MB Notification: Performance of pre-optimization done (n=181): time 4.498e-06/0.7313, allocations: 4 kB / 0.5765 GB, free: 5.227 MB / 446.1 MB Notification: Performance of matching and sorting (n=210): time 0.06657/0.7979, allocations: 21.93 MB / 0.598 GB, free: 15.12 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.596e-05/0.7981, allocations: 149.8 kB / 0.5981 GB, free: 14.94 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00554/0.8036, allocations: 3.367 MB / 0.6014 GB, free: 11.57 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005943/0.8042, allocations: 57.7 kB / 0.6014 GB, free: 11.5 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002193/0.8064, allocations: 2.798 MB / 0.6042 GB, free: 8.664 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001121/0.8076, allocations: 0.7904 MB / 0.605 GB, free: 7.863 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002949/0.8079, allocations: 120 kB / 0.6051 GB, free: 7.746 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0004028/0.8083, allocations: 0.5619 MB / 0.6056 GB, free: 7.176 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003767/0.812, allocations: 2.307 MB / 0.6079 GB, free: 4.863 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006639/0.8187, allocations: 5.757 MB / 0.6135 GB, free: 13.39 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005757/0.8245, allocations: 3.573 MB / 0.617 GB, free: 9.816 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.812e-05/0.8246, allocations: 36 kB / 0.617 GB, free: 9.781 MB / 494.1 MB Notification: Performance of matching and sorting (n=775) (initialization): time 0.01594/0.8405, allocations: 8.625 MB / 0.6254 GB, free: 1.137 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.155e-05/0.8406, allocations: 59.98 kB / 0.6255 GB, free: 1.078 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001311/0.8408, allocations: 124 kB / 0.6256 GB, free: 0.957 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.2953/1.136, allocations: 1.054 MB / 0.6266 GB, free: 139.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005565/1.142, allocations: 1.376 MB / 0.628 GB, free: 139.7 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005124/1.147, allocations: 5.404 MB / 0.6333 GB, free: 137.2 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006644/1.154, allocations: 328 kB / 0.6336 GB, free: 137.2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001985/1.156, allocations: 357.3 kB / 0.6339 GB, free: 137.2 MB / 494.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 (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.005953/1.162, allocations: 1.95 MB / 0.6358 GB, free: 136.9 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001004/1.163, allocations: 310.8 kB / 0.6361 GB, free: 136.9 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006917/1.169, allocations: 3.935 MB / 0.64 GB, free: 136.2 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.858e-05/1.17, allocations: 22.5 kB / 0.64 GB, free: 136.2 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.439e-05/1.17, allocations: 6.281 kB / 0.64 GB, free: 136.2 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.513e-05/1.17, allocations: 16.84 kB / 0.64 GB, free: 136.2 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0143/1.184, allocations: 8.88 MB / 0.6487 GB, free: 132.7 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.56e-05/1.184, allocations: 0 / 0.6487 GB, free: 132.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001636/1.186, allocations: 346.8 kB / 0.649 GB, free: 132.7 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002197/1.188, allocations: 0.8728 MB / 0.6499 GB, free: 132.5 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001751/1.188, allocations: 39.05 kB / 0.6499 GB, free: 132.4 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004147/1.192, allocations: 4.736 MB / 0.6545 GB, free: 129 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/1.192, allocations: 1.406 kB / 0.6545 GB, free: 129 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0109/1.203, allocations: 6.85 MB / 0.6612 GB, free: 126.2 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002144/1.205, allocations: 0.6822 MB / 0.6619 GB, free: 125.9 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004166/1.206, allocations: 39.95 kB / 0.6619 GB, free: 125.9 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001319/1.207, allocations: 118.3 kB / 0.662 GB, free: 125.8 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003559/1.207, allocations: 124.1 kB / 0.6621 GB, free: 125.8 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001834/1.208, allocations: 60.3 kB / 0.6622 GB, free: 125.8 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.005002/1.213, allocations: 2.064 MB / 0.6642 GB, free: 125.1 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/1.213, allocations: 0 / 0.6642 GB, free: 125.1 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.008228/1.221, allocations: 0.9691 MB / 0.6652 GB, free: 125 MB / 494.1 MB 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.0005994/1.221, allocations: 172 kB / 0.6653 GB, free: 124.8 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01388/1.235, allocations: 6.086 MB / 0.6713 GB, free: 122.5 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.426e-06/1.235, allocations: 1.188 kB / 0.6713 GB, free: 122.5 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00448/1.24, allocations: 2.457 MB / 0.6737 GB, free: 121.3 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002707/1.243, allocations: 337.8 kB / 0.674 GB, free: 121.1 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01809/1.261, allocations: 10.73 MB / 0.6845 GB, free: 115.6 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003152/1.264, allocations: 3.025 MB / 0.6874 GB, free: 114 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004461/1.268, allocations: 1.855 MB / 0.6892 GB, free: 112.9 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007281/1.269, allocations: 234.9 kB / 0.6895 GB, free: 112.6 MB / 494.1 MB Notification: Performance of SimCode: time 9.52e-07/1.269, allocations: 4 kB / 0.6895 GB, free: 112.6 MB / 494.1 MB Notification: Performance of Templates: time 0.06007/1.329, allocations: 34.52 MB / 0.7232 GB, free: 79.87 MB / 494.1 MB 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