Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.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.Damper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.frame_a.r_0.1.|body.v_0.1.|heatCapacitor.T|prismatic1.s|prismatic1.v|prismatic2.s|prismatic2.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper") translateModel(ModelicaTest.MultiBody.Forces.Damper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.frame_a.r_0.1.|body.v_0.1.|heatCapacitor.T|prismatic1.s|prismatic1.v|prismatic2.s|prismatic2.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001347/0.001348, allocations: 105.7 kB / 17.03 MB, free: 5.703 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.001577/0.001577, allocations: 196.1 kB / 17.96 MB, free: 5.082 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.594/1.594, allocations: 205.1 MB / 223.8 MB, free: 12.26 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.2311/0.2311, allocations: 43.52 MB / 314.7 MB, free: 488 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.001724/0.001724, allocations: 71.17 kB / 384.2 MB, free: 56.38 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1273/0.129, allocations: 57.79 MB / 442 MB, free: 6.16 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.01727/0.1463, allocations: 17.63 MB / 459.6 MB, free: 4.453 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01367/0.16, allocations: 5.2 MB / 464.8 MB, free: 15.24 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004468/0.1645, allocations: 107.8 kB / 464.9 MB, free: 15.13 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01029/0.1749, allocations: 5.245 MB / 470.1 MB, free: 9.871 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009489/0.1845, allocations: 2.73 MB / 472.9 MB, free: 7.129 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003534/0.188, allocations: 1.186 MB / 474.1 MB, free: 5.941 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01102/0.1991, allocations: 7.035 MB / 481.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01003/0.2091, allocations: 6.539 MB / 487.6 MB, free: 8.281 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006319/0.2155, allocations: 2.784 MB / 490.4 MB, free: 5.488 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007412/0.223, allocations: 3.992 MB / 494.4 MB, free: 1.484 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002229/0.2252, allocations: 0.6328 MB / 495 MB, free: 0.8516 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003731/0.229, allocations: 1.311 MB / 496.3 MB, free: 15.54 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00407/0.2331, allocations: 3.511 MB / 499.9 MB, free: 12.02 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005403/0.2385, allocations: 4.005 MB / 0.4921 GB, free: 7.992 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01434/0.2528, allocations: 12.23 MB / 0.504 GB, free: 11.72 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/0.2529, allocations: 4 kB / 0.504 GB, free: 11.71 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.2529, allocations: 0 / 0.504 GB, free: 11.71 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0005361/0.2534, allocations: 0 / 0.504 GB, free: 11.71 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2763 * Number of variables: 2763 Notification: Performance of Generate backend data structure: time 0.02867/0.2821, allocations: 8.194 MB / 0.512 GB, free: 3.438 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.219e-05/0.2822, allocations: 11.89 kB / 0.512 GB, free: 3.426 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01257/0.2948, allocations: 2.721 MB / 0.5147 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01119/0.306, allocations: 4.006 MB / 0.5186 GB, free: 12.62 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005178/0.3066, allocations: 464 kB / 0.519 GB, free: 12.17 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002817/0.3094, allocations: 0.5971 MB / 0.5196 GB, free: 11.57 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4906/0.8, allocations: 21.22 MB / 0.5403 GB, free: 76.93 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002458/0.8003, allocations: 70.33 kB / 0.5404 GB, free: 76.9 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008417/0.8012, allocations: 281.9 kB / 0.5407 GB, free: 76.79 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0057/0.8069, allocations: 3.547 MB / 0.5441 GB, free: 76.14 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03876/0.8457, allocations: 17.2 MB / 0.5609 GB, free: 67.55 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08103/0.9267, allocations: 67.49 MB / 0.6268 GB, free: 14.99 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01792/0.9447, allocations: 6.683 MB / 0.6334 GB, free: 8.164 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004089/0.9488, allocations: 2.282 MB / 0.6356 GB, free: 5.871 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01767/0.9665, allocations: 9.775 MB / 0.6451 GB, free: 11.79 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.819e-05/0.9666, allocations: 78.36 kB / 0.6452 GB, free: 11.71 MB / 446.1 MB Notification: Performance of pre-optimization done (n=296): time 5.09e-06/0.9667, allocations: 0 / 0.6452 GB, free: 11.71 MB / 446.1 MB Notification: Performance of matching and sorting (n=330): time 0.06337/1.03, allocations: 22.75 MB / 0.6674 GB, free: 4.797 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001298/1.03, allocations: 170.6 kB / 0.6676 GB, free: 4.598 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009278/1.04, allocations: 6.029 MB / 0.6735 GB, free: 14.55 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006367/1.04, allocations: 77.7 kB / 0.6736 GB, free: 14.47 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003889/1.044, allocations: 5.191 MB / 0.6786 GB, free: 9.207 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001581/1.046, allocations: 1.245 MB / 0.6798 GB, free: 7.945 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002458/1.048, allocations: 1.936 MB / 0.6817 GB, free: 5.996 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001001/1.048, allocations: 305.1 kB / 0.682 GB, free: 5.695 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004537/1.053, allocations: 2.854 MB / 0.6848 GB, free: 2.836 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00861/1.061, allocations: 8.671 MB / 0.6933 GB, free: 7.297 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01558/1.077, allocations: 12.53 MB / 0.7055 GB, free: 7.859 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001703/1.077, allocations: 56 kB / 0.7056 GB, free: 7.805 MB / 0.4982 GB Notification: Performance of matching and sorting (n=1291) (initialization): time 0.02413/1.101, allocations: 11.25 MB / 0.7166 GB, free: 12.51 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.000161/1.102, allocations: 92 kB / 0.7166 GB, free: 12.42 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003669/1.102, allocations: 205.3 kB / 0.7168 GB, free: 12.22 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003035/1.102, allocations: 276 kB / 0.7171 GB, free: 11.95 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009353/1.112, allocations: 2.363 MB / 0.7194 GB, free: 9.582 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005891/1.112, allocations: 406.4 kB / 0.7198 GB, free: 9.184 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009511/1.122, allocations: 471.5 kB / 0.7202 GB, free: 8.723 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001834/1.124, allocations: 0.5819 MB / 0.7208 GB, free: 8.141 MB / 0.5138 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 934 * Number of states: 0 () * Number of discrete variables: 72 (fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],force2.connectionLineColor[3],force2.connectionLineColor[2],force2.connectionLineColor[1],force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],prismatic2.boxColor[3],prismatic2.boxColor[2],prismatic2.boxColor[1],damper2.color_b[3],damper2.color_b[2],damper2.color_b[1],damper2.color_a[3],damper2.color_a[2],damper2.color_a[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceColor[3],force1.forceColor[2],force1.forceColor[1],prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],damper1.color_b[3],damper1.color_b[2],damper1.color_b[1],damper1.color_a[3],damper1.color_a[2],damper1.color_a[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],force.connectionLineColor[3],force.connectionLineColor[2],force.connectionLineColor[1],force.forceColor[3],force.forceColor[2],force.forceColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],damper.color_b[3],damper.color_b[2],damper.color_b[1],damper.color_a[3],damper.color_a[2],damper.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 (1267): * Single equations (assignments): 1264 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007691/1.131, allocations: 3.401 MB / 0.7241 GB, free: 4.723 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001385/1.133, allocations: 0.5398 MB / 0.7247 GB, free: 4.176 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008009/1.141, allocations: 3.446 MB / 0.728 GB, free: 0.6758 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.208e-05/1.141, allocations: 32 kB / 0.7281 GB, free: 0.6445 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.939e-05/1.141, allocations: 11.88 kB / 0.7281 GB, free: 0.6328 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.23e-05/1.141, allocations: 15.94 kB / 0.7281 GB, free: 0.6172 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.263/1.404, allocations: 13.75 MB / 0.7415 GB, free: 167.3 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-05/1.404, allocations: 31.88 kB / 0.7415 GB, free: 167.3 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002416/1.407, allocations: 0.6105 MB / 0.7421 GB, free: 167.2 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.538e-05/1.407, allocations: 47.84 kB / 0.7422 GB, free: 167.2 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002146/1.407, allocations: 99.73 kB / 0.7423 GB, free: 167.2 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.77e-05/1.407, allocations: 70.61 kB / 0.7423 GB, free: 167.2 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.332e-05/1.407, allocations: 52.97 kB / 0.7424 GB, free: 167.2 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008647/1.416, allocations: 6.303 MB / 0.7486 GB, free: 163.6 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002743/1.418, allocations: 0.8463 MB / 0.7494 GB, free: 163.4 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008836/1.419, allocations: 98.53 kB / 0.7495 GB, free: 163.4 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002197/1.421, allocations: 142.8 kB / 0.7496 GB, free: 163.4 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003546/1.422, allocations: 304.9 kB / 0.7499 GB, free: 163.3 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001759/1.422, allocations: 132.7 kB / 0.75 GB, free: 163.2 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.005338/1.427, allocations: 3.747 MB / 0.7537 GB, free: 162 MB / 0.5138 GB Notification: Performance of sort global known variables: time 2.91e-07/1.427, allocations: 0 / 0.7537 GB, free: 162 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.008391/1.436, allocations: 1.57 MB / 0.7552 GB, free: 161.8 MB / 0.5138 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 148 * Number of states: 7 (body.frame_a.r_0[1],body.v_0[1],prismatic1.s,prismatic1.v,heatCapacitor.T,prismatic2.s,prismatic2.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 (317): * Single equations (assignments): 314 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008665/1.437, allocations: 278.2 kB / 0.7555 GB, free: 161.6 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01054/1.447, allocations: 6.589 MB / 0.7619 GB, free: 159.5 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 5.505e-05/1.447, allocations: 10.47 kB / 0.7619 GB, free: 159.5 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.002841/1.45, allocations: 1.578 MB / 0.7635 GB, free: 159 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005288/1.456, allocations: 0.7858 MB / 0.7642 GB, free: 158.6 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02519/1.481, allocations: 15.61 MB / 0.7795 GB, free: 145.7 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005717/1.487, allocations: 5.134 MB / 0.7845 GB, free: 141.3 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.005727/1.492, allocations: 2.759 MB / 0.7872 GB, free: 138.6 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001102/1.493, allocations: 419.4 kB / 0.7876 GB, free: 138.2 MB / 0.5138 GB Notification: Performance of SimCode: time 1.232e-06/1.493, allocations: 4 kB / 0.7876 GB, free: 138.1 MB / 0.5138 GB Notification: Performance of Templates: time 0.07708/1.57, allocations: 42.22 MB / 0.8288 GB, free: 96.23 MB / 0.5138 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/Damper/Damper.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches