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: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Damper,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_Damper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Damper,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_Damper",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001282/0.001282, allocations: 105.4 kB / 16.27 MB, free: 5.879 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.001198/0.001199, allocations: 189.3 kB / 17.19 MB, free: 5.523 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.426/1.426, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.2049/0.2049, allocations: 43.52 MB / 313.9 MB, free: 0.5352 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.001861/0.001861, allocations: 69.84 kB / 382.8 MB, free: 56.72 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1021/0.1039, allocations: 57.79 MB / 440.6 MB, free: 6.82 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.01737/0.1213, allocations: 17.62 MB / 458.2 MB, free: 5.113 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01076/0.1321, allocations: 5.204 MB / 463.4 MB, free: 15.89 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003034/0.1352, allocations: 107.8 kB / 463.6 MB, free: 15.79 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009874/0.1451, allocations: 5.245 MB / 468.8 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008404/0.1536, allocations: 2.723 MB / 471.5 MB, free: 7.793 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003355/0.157, allocations: 1.186 MB / 472.7 MB, free: 6.605 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0126/0.1696, allocations: 7.032 MB / 479.7 MB, free: 15.56 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01063/0.1803, allocations: 6.547 MB / 486.3 MB, free: 8.941 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005949/0.1862, allocations: 2.796 MB / 489.1 MB, free: 6.137 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006288/0.1926, allocations: 3.984 MB / 493.1 MB, free: 2.141 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002616/0.1952, allocations: 0.625 MB / 493.7 MB, free: 1.516 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004328/0.1996, allocations: 1.323 MB / 495 MB, free: 196 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005247/0.2048, allocations: 3.507 MB / 498.5 MB, free: 12.68 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008077/0.213, allocations: 4.032 MB / 0.4908 GB, free: 8.621 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01437/0.2274, allocations: 11.85 MB / 0.5023 GB, free: 12.74 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.706e-06/0.2274, allocations: 4 kB / 0.5023 GB, free: 12.73 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.2274, allocations: 0 / 0.5023 GB, free: 12.73 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0004857/0.2279, allocations: 0 / 0.5023 GB, free: 12.73 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.0233/0.2512, allocations: 8.249 MB / 0.5104 GB, free: 4.402 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.434e-05/0.2513, allocations: 15.89 kB / 0.5104 GB, free: 4.387 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004579/0.2559, allocations: 1.294 MB / 0.5117 GB, free: 3.082 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01293/0.2689, allocations: 2.759 MB / 0.5144 GB, free: 316 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01113/0.28, allocations: 5.134 MB / 0.5194 GB, free: 11.11 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005162/0.2806, allocations: 475.7 kB / 0.5198 GB, free: 10.65 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002531/0.2831, allocations: 0.5817 MB / 0.5204 GB, free: 10.07 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4044/0.6875, allocations: 21.21 MB / 0.5411 GB, free: 76.32 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002531/0.6878, allocations: 77.5 kB / 0.5412 GB, free: 76.29 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001036/0.6889, allocations: 279.6 kB / 0.5415 GB, free: 76.16 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006231/0.6951, allocations: 3.548 MB / 0.5449 GB, free: 75.51 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0382/0.7333, allocations: 17.2 MB / 0.5617 GB, free: 65.66 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0744/0.8078, allocations: 67.88 MB / 0.628 GB, free: 12.71 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0184/0.8262, allocations: 6.668 MB / 0.6345 GB, free: 5.895 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003828/0.8301, allocations: 2.286 MB / 0.6368 GB, free: 3.598 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0168/0.8469, allocations: 9.781 MB / 0.6463 GB, free: 9.488 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.612e-05/0.847, allocations: 72.5 kB / 0.6464 GB, free: 9.41 MB / 446.1 MB Notification: Performance of pre-optimization done (n=296): time 6.433e-06/0.8471, allocations: 0 / 0.6464 GB, free: 9.41 MB / 446.1 MB Notification: Performance of matching and sorting (n=330): time 0.06941/0.9165, allocations: 22.88 MB / 0.6687 GB, free: 2.367 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001215/0.9166, allocations: 166.6 kB / 0.6689 GB, free: 2.172 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01316/0.9298, allocations: 6.063 MB / 0.6748 GB, free: 12.09 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007389/0.9306, allocations: 81.7 kB / 0.6749 GB, free: 12.01 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00481/0.9354, allocations: 5.191 MB / 0.68 GB, free: 6.746 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001839/0.9373, allocations: 1.253 MB / 0.6812 GB, free: 5.477 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004372/0.9417, allocations: 1.92 MB / 0.6831 GB, free: 3.543 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001024/0.9418, allocations: 301.1 kB / 0.6833 GB, free: 3.246 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005325/0.9471, allocations: 2.83 MB / 0.6861 GB, free: 420 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009203/0.9564, allocations: 8.635 MB / 0.6945 GB, free: 4.906 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01559/0.972, allocations: 12.48 MB / 0.7067 GB, free: 5.516 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001856/0.9722, allocations: 60 kB / 0.7068 GB, free: 5.457 MB / 0.4982 GB Notification: Performance of matching and sorting (n=1279) (initialization): time 0.02525/0.9974, allocations: 11.2 MB / 0.7177 GB, free: 10.21 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004347/0.9979, allocations: 92.47 kB / 0.7178 GB, free: 10.12 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005475/0.9985, allocations: 204 kB / 0.718 GB, free: 9.922 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004204/0.9989, allocations: 276 kB / 0.7183 GB, free: 9.652 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008377/1.007, allocations: 2.344 MB / 0.7206 GB, free: 7.305 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004803/1.008, allocations: 414.3 kB / 0.7209 GB, free: 6.898 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006577/1.014, allocations: 471.3 kB / 0.7214 GB, free: 6.438 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001359/1.016, allocations: 0.5781 MB / 0.722 GB, free: 5.859 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 (1255): * Single equations (assignments): 1252 * 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.005735/1.022, allocations: 3.389 MB / 0.7253 GB, free: 2.453 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001124/1.023, allocations: 0.5476 MB / 0.7258 GB, free: 1.898 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2263/1.249, allocations: 3.45 MB / 0.7292 GB, free: 170 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.533e-05/1.249, allocations: 33.56 kB / 0.7292 GB, free: 170 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.656e-05/1.249, allocations: 6.875 kB / 0.7292 GB, free: 170 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.74e-05/1.249, allocations: 16.23 kB / 0.7292 GB, free: 170 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02523/1.274, allocations: 13.78 MB / 0.7427 GB, free: 166.4 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.083e-05/1.275, allocations: 33.34 kB / 0.7427 GB, free: 166.4 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002479/1.277, allocations: 0.6127 MB / 0.7433 GB, free: 166.3 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.459e-05/1.277, allocations: 46.47 kB / 0.7434 GB, free: 166.3 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002032/1.277, allocations: 105.4 kB / 0.7435 GB, free: 166.3 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.126e-05/1.277, allocations: 73.98 kB / 0.7435 GB, free: 166.3 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-05/1.277, allocations: 48.78 kB / 0.7436 GB, free: 166.2 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007586/1.285, allocations: 6.319 MB / 0.7497 GB, free: 162.7 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002641/1.288, allocations: 0.842 MB / 0.7506 GB, free: 162.5 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007874/1.289, allocations: 98.44 kB / 0.7507 GB, free: 162.5 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002051/1.291, allocations: 149.8 kB / 0.7508 GB, free: 162.4 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003312/1.291, allocations: 300 kB / 0.7511 GB, free: 162.3 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001788/1.291, allocations: 131.8 kB / 0.7512 GB, free: 162.3 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.005551/1.297, allocations: 3.774 MB / 0.7549 GB, free: 161.1 MB / 0.5138 GB Notification: Performance of sort global known variables: time 1.71e-07/1.297, allocations: 0 / 0.7549 GB, free: 161.1 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.007813/1.305, allocations: 1.559 MB / 0.7564 GB, free: 160.9 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.008159/1.313, allocations: 7.044 MB / 0.7633 GB, free: 156.7 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01237/1.325, allocations: 7.429 MB / 0.7706 GB, free: 153.3 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-05/1.325, allocations: 4 kB / 0.7706 GB, free: 153.3 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.002307/1.328, allocations: 1.578 MB / 0.7721 GB, free: 151.9 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004794/1.332, allocations: 0.7847 MB / 0.7729 GB, free: 151.3 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09966/1.432, allocations: 88.3 MB / 0.8591 GB, free: 50.23 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008396/1.44, allocations: 5.146 MB / 0.8641 GB, free: 45.05 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.00668/1.447, allocations: 2.75 MB / 0.8668 GB, free: 42.3 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004357/1.452, allocations: 3.495 MB / 0.8702 GB, free: 38.8 MB / 0.5138 GB Notification: Performance of SimCode: time 1.283e-06/1.452, allocations: 0 / 0.8702 GB, free: 38.8 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3671/1.819, allocations: 105.7 MB / 0.9735 GB, free: 156.3 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/13.02, allocations: 11.19 kB / 0.9735 GB, free: 156.3 MB / 0.5294 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_Damper_fmu --startTime=0 --stopTime=7 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_Damper.fmu > 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