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.001032/0.001032, allocations: 96.02 kB / 17.35 MB, free: 6.367 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.001224/0.001224, allocations: 176.1 kB / 18.25 MB, free: 5.523 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.493/1.493, allocations: 223.3 MB / 242.3 MB, free: 14.48 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.2128/0.2128, allocations: 44.25 MB / 337.7 MB, free: 2.426 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003692/0.0003692, allocations: 12.78 kB / 410.3 MB, free: 27.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.135, allocations: 61.92 MB / 472.3 MB, free: 13.31 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.03435/0.1694, allocations: 37.4 MB / 0.4977 GB, free: 7.75 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3077/0.4771, allocations: 7.76 MB / 0.5053 GB, free: 10.22 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008906/0.4861, allocations: 158.9 kB / 0.5054 GB, free: 10.22 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001528/0.4876, allocations: 398.3 kB / 0.5058 GB, free: 10.22 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003888/0.4915, allocations: 1.163 MB / 0.507 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001298/0.4928, allocations: 469.6 kB / 0.5074 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007903/0.5008, allocations: 4.328 MB / 0.5116 GB, free: 10.17 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006332/0.5071, allocations: 4.167 MB / 0.5157 GB, free: 9.699 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002015/0.5091, allocations: 0.9206 MB / 0.5166 GB, free: 9.699 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002306/0.5115, allocations: 1.59 MB / 0.5182 GB, free: 9.602 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003781/0.5119, allocations: 134.1 kB / 0.5183 GB, free: 9.598 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00184/0.5137, allocations: 0.891 MB / 0.5192 GB, free: 9.59 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001507/0.5152, allocations: 1.439 MB / 0.5206 GB, free: 9.41 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001779/0.517, allocations: 1.786 MB / 0.5223 GB, free: 8.668 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005914/0.5229, allocations: 5.82 MB / 0.528 GB, free: 5.676 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.839e-06/0.523, allocations: 5.672 kB / 0.528 GB, free: 5.672 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.435e-06/0.523, allocations: 0 / 0.528 GB, free: 5.672 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001774/0.5232, allocations: 0 / 0.528 GB, free: 5.672 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.007272/0.5304, allocations: 3.449 MB / 0.5314 GB, free: 3.484 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.996e-05/0.5305, allocations: 12.16 kB / 0.5314 GB, free: 3.48 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006105/0.5366, allocations: 1.859 MB / 0.5332 GB, free: 2.566 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003202/0.5398, allocations: 1.745 MB / 0.5349 GB, free: 1.887 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001518/0.54, allocations: 224.9 kB / 0.5351 GB, free: 1.852 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005675/0.5406, allocations: 305.4 kB / 0.5354 GB, free: 1.777 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02017/0.5608, allocations: 10.64 MB / 0.5458 GB, free: 9.52 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001087/0.5609, allocations: 38.12 kB / 0.5458 GB, free: 9.5 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003773/0.5613, allocations: 150.4 kB / 0.546 GB, free: 9.391 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003499/0.5648, allocations: 2.04 MB / 0.548 GB, free: 7.379 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01991/0.5847, allocations: 9.337 MB / 0.5571 GB, free: 14.19 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05452/0.6393, allocations: 38.02 MB / 0.5942 GB, free: 7.637 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01208/0.6514, allocations: 4.175 MB / 0.5983 GB, free: 3.309 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003429/0.6549, allocations: 2.306 MB / 0.6005 GB, free: 0.9883 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01056/0.6655, allocations: 6.018 MB / 0.6064 GB, free: 10.75 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.205e-05/0.6656, allocations: 58.41 kB / 0.6065 GB, free: 10.69 MB / 462.1 MB Notification: Performance of pre-optimization done (n=181): time 5.601e-06/0.6656, allocations: 0 / 0.6065 GB, free: 10.69 MB / 462.1 MB Notification: Performance of matching and sorting (n=210): time 0.06846/0.7341, allocations: 21.93 MB / 0.6279 GB, free: 4.637 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.332e-05/0.7342, allocations: 145.8 kB / 0.628 GB, free: 4.461 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006783/0.741, allocations: 3.382 MB / 0.6313 GB, free: 1.07 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005862/0.7417, allocations: 53.7 kB / 0.6314 GB, free: 1.012 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002351/0.744, allocations: 2.798 MB / 0.6341 GB, free: 14.21 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001394/0.7454, allocations: 0.8046 MB / 0.6349 GB, free: 13.41 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00141/0.7469, allocations: 0.4953 MB / 0.6354 GB, free: 12.91 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001173/0.747, allocations: 310.4 kB / 0.6357 GB, free: 12.61 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004683/0.7517, allocations: 2.333 MB / 0.638 GB, free: 10.27 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006974/0.7587, allocations: 5.777 MB / 0.6436 GB, free: 2.836 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01196/0.7707, allocations: 8.811 MB / 0.6522 GB, free: 8.719 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001433/0.7709, allocations: 36 kB / 0.6522 GB, free: 8.684 MB / 0.4981 GB Notification: Performance of matching and sorting (n=775) (initialization): time 0.01847/0.7894, allocations: 8.675 MB / 0.6607 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001402/0.7895, allocations: 56 kB / 0.6608 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001985/0.7897, allocations: 120 kB / 0.6609 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002874/0.7926, allocations: 1.038 MB / 0.6619 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005308/0.798, allocations: 1.38 MB / 0.6632 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006056/0.8041, allocations: 5.409 MB / 0.6685 GB, free: 7.715 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005305/0.8094, allocations: 323.6 kB / 0.6688 GB, free: 7.398 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001476/0.8109, allocations: 360 kB / 0.6692 GB, free: 7.047 MB / 0.5137 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.005764/0.8167, allocations: 1.943 MB / 0.6711 GB, free: 5.09 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001089/0.8178, allocations: 319.9 kB / 0.6714 GB, free: 4.773 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008953/0.8268, allocations: 3.94 MB / 0.6752 GB, free: 0.8086 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.756e-05/0.8268, allocations: 23.52 kB / 0.6752 GB, free: 0.7891 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.012e-05/0.8269, allocations: 8.312 kB / 0.6753 GB, free: 0.7812 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.898e-05/0.8269, allocations: 11.97 kB / 0.6753 GB, free: 0.7695 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0193/0.8462, allocations: 8.877 MB / 0.6839 GB, free: 7.836 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.007e-05/0.8463, allocations: 4 kB / 0.6839 GB, free: 7.832 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001841/0.8481, allocations: 351.4 kB / 0.6843 GB, free: 7.488 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002634/0.8508, allocations: 0.868 MB / 0.6851 GB, free: 6.609 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003124/0.8511, allocations: 43.98 kB / 0.6852 GB, free: 6.566 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00587/0.857, allocations: 4.742 MB / 0.6898 GB, free: 1.562 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.857, allocations: 0 / 0.6898 GB, free: 1.562 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01365/0.8707, allocations: 6.871 MB / 0.6965 GB, free: 10.66 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001266/0.872, allocations: 364.9 kB / 0.6969 GB, free: 10.29 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001073/0.8731, allocations: 32.19 kB / 0.6969 GB, free: 10.25 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002051/0.8752, allocations: 123.8 kB / 0.697 GB, free: 10.13 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005487/0.8758, allocations: 121.1 kB / 0.6971 GB, free: 10.01 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002018/0.876, allocations: 55.98 kB / 0.6972 GB, free: 9.957 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.005491/0.8815, allocations: 2.073 MB / 0.6992 GB, free: 7.891 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8815, allocations: 3.938 kB / 0.6992 GB, free: 7.887 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00712/0.8886, allocations: 0.976 MB / 0.7002 GB, free: 6.914 MB / 0.545 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.0006665/0.8893, allocations: 173.7 kB / 0.7003 GB, free: 6.738 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01359/0.9029, allocations: 6.114 MB / 0.7063 GB, free: 0.582 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/0.9029, allocations: 0 / 0.7063 GB, free: 0.582 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.2742/1.177, allocations: 2.454 MB / 0.7087 GB, free: 164.7 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002517/1.18, allocations: 345 kB / 0.709 GB, free: 164.7 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01737/1.197, allocations: 11.13 MB / 0.7199 GB, free: 160.2 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004446/1.202, allocations: 3.02 MB / 0.7228 GB, free: 159.4 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005336/1.207, allocations: 1.852 MB / 0.7246 GB, free: 159.3 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009064/1.208, allocations: 238.6 kB / 0.7249 GB, free: 159.3 MB / 0.545 GB Notification: Performance of SimCode: time 1.593e-06/1.208, allocations: 1.344 kB / 0.7249 GB, free: 159.3 MB / 0.545 GB Notification: Performance of Templates: time 0.0561/1.264, allocations: 35.27 MB / 0.7593 GB, free: 138.6 MB / 0.545 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