Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Damper,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_Damper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Damper,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_Damper",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001105/0.001105, allocations: 122.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00119/0.00119, allocations: 202 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.339/1.339, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2163/0.2163, allocations: 46.1 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001588/0.001588, allocations: 75.88 kB / 480.8 MB, free: 4.535 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3433/0.3449, allocations: 62.45 MB / 0.5305 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.01728/0.3622, allocations: 16.09 MB / 0.5463 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01216/0.3744, allocations: 4.975 MB / 0.5511 GB, free: 12.62 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003917/0.3784, allocations: 99.69 kB / 0.5512 GB, free: 12.53 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01041/0.3888, allocations: 5.163 MB / 0.5563 GB, free: 7.348 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007908/0.3968, allocations: 2.529 MB / 0.5587 GB, free: 4.809 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003378/0.4002, allocations: 1.189 MB / 0.5599 GB, free: 3.617 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01064/0.4109, allocations: 6.666 MB / 0.5664 GB, free: 12.93 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009399/0.4203, allocations: 6.327 MB / 0.5726 GB, free: 6.531 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005059/0.4254, allocations: 2.594 MB / 0.5751 GB, free: 3.93 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005312/0.4308, allocations: 3.665 MB / 0.5787 GB, free: 260 kB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001869/0.4327, allocations: 0.5704 MB / 0.5792 GB, free: 15.68 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003488/0.4362, allocations: 1.276 MB / 0.5805 GB, free: 14.41 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003966/0.4402, allocations: 3.215 MB / 0.5836 GB, free: 11.18 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005696/0.4459, allocations: 3.67 MB / 0.5872 GB, free: 7.492 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01386/0.4598, allocations: 11.16 MB / 0.5981 GB, free: 12.29 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.776e-06/0.4599, allocations: 8 kB / 0.5981 GB, free: 12.28 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.4599, allocations: 0 / 0.5981 GB, free: 12.28 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0004036/0.4603, allocations: 0 / 0.5981 GB, free: 12.28 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2520 * Number of variables: 2520 Notification: Performance of Generate backend data structure: time 0.01997/0.4803, allocations: 7.808 MB / 0.6057 GB, free: 4.379 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.4803, allocations: 8.031 kB / 0.6057 GB, free: 4.371 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00317/0.4835, allocations: 1.186 MB / 0.6069 GB, free: 3.176 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01147/0.495, allocations: 2.668 MB / 0.6095 GB, free: 0.5 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009764/0.5048, allocations: 4.268 MB / 0.6137 GB, free: 12.17 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004312/0.5053, allocations: 431 kB / 0.6141 GB, free: 11.75 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002114/0.5074, allocations: 0.5583 MB / 0.6146 GB, free: 11.19 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04515/0.5526, allocations: 19.74 MB / 0.6339 GB, free: 6.316 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003906/0.553, allocations: 71.38 kB / 0.634 GB, free: 6.246 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00196/0.555, allocations: 275.8 kB / 0.6342 GB, free: 5.977 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005129/0.5601, allocations: 3.149 MB / 0.6373 GB, free: 2.824 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0359/0.5961, allocations: 15.85 MB / 0.6528 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08022/0.6763, allocations: 63.86 MB / 0.7152 GB, free: 1.426 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.464/1.14, allocations: 6.326 MB / 0.7213 GB, free: 161 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002852/1.143, allocations: 2.079 MB / 0.7234 GB, free: 160.9 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01255/1.156, allocations: 9.2 MB / 0.7324 GB, free: 157.1 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.104e-05/1.156, allocations: 62.84 kB / 0.7324 GB, free: 157.1 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=257): time 5.38e-06/1.156, allocations: 0 / 0.7324 GB, free: 157.1 MB / 0.5607 GB Notification: Performance of matching and sorting (n=291): time 0.04926/1.205, allocations: 21.76 MB / 0.7537 GB, free: 142 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.804e-05/1.205, allocations: 158.5 kB / 0.7538 GB, free: 141.8 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005642/1.211, allocations: 5.792 MB / 0.7595 GB, free: 136.1 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0003134/1.211, allocations: 65.7 kB / 0.7595 GB, free: 136 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.001707/1.213, allocations: 5.04 MB / 0.7645 GB, free: 131.3 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007567/1.214, allocations: 1.161 MB / 0.7656 GB, free: 130.2 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001561/1.215, allocations: 1.815 MB / 0.7674 GB, free: 128.3 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 3.677e-05/1.215, allocations: 301.1 kB / 0.7676 GB, free: 128 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003157/1.219, allocations: 2.614 MB / 0.7702 GB, free: 125.4 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004677/1.223, allocations: 8.171 MB / 0.7782 GB, free: 114.6 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009618/1.233, allocations: 11.72 MB / 0.7896 GB, free: 100.1 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001573/1.233, allocations: 60 kB / 0.7897 GB, free: 100 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1195) (initialization): time 0.01671/1.25, allocations: 10.5 MB / 0.7999 GB, free: 89.53 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001079/1.25, allocations: 92.22 kB / 0.8 GB, free: 89.44 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001971/1.25, allocations: 196 kB / 0.8002 GB, free: 89.25 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001778/1.25, allocations: 264 kB / 0.8005 GB, free: 88.99 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006358/1.257, allocations: 2.199 MB / 0.8026 GB, free: 86.79 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001904/1.257, allocations: 386.5 kB / 0.803 GB, free: 86.41 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005779/1.263, allocations: 459.5 kB / 0.8034 GB, free: 85.96 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009424/1.264, allocations: 0.5351 MB / 0.8039 GB, free: 85.42 MB / 0.5607 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 895 * Number of states: 0 () * Number of discrete variables: 78 (force2.forceArrow.twoHeadedArrow,force2.forceArrow.headAtOrigin,force1.forceArrow.twoHeadedArrow,force1.forceArrow.headAtOrigin,force.forceArrow.twoHeadedArrow,force.forceArrow.headAtOrigin,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 (1171): * Single equations (assignments): 1168 * 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.004346/1.268, allocations: 3.151 MB / 0.807 GB, free: 82.26 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009347/1.269, allocations: 0.5355 MB / 0.8075 GB, free: 81.72 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004268/1.273, allocations: 2.991 MB / 0.8105 GB, free: 78.71 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.034e-05/1.273, allocations: 35.94 kB / 0.8105 GB, free: 78.68 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.087e-05/1.273, allocations: 4 kB / 0.8105 GB, free: 78.67 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.017e-05/1.273, allocations: 11.95 kB / 0.8105 GB, free: 78.66 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01798/1.291, allocations: 12.27 MB / 0.8225 GB, free: 65.92 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.163e-05/1.291, allocations: 28 kB / 0.8225 GB, free: 65.89 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001812/1.293, allocations: 0.5466 MB / 0.8231 GB, free: 65.34 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-05/1.293, allocations: 44 kB / 0.8231 GB, free: 65.3 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001333/1.293, allocations: 91.98 kB / 0.8232 GB, free: 65.21 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.96e-05/1.293, allocations: 63.78 kB / 0.8232 GB, free: 65.15 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-05/1.293, allocations: 51.75 kB / 0.8233 GB, free: 65.1 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005845/1.299, allocations: 5.641 MB / 0.8288 GB, free: 58.92 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001526/1.301, allocations: 0.6066 MB / 0.8294 GB, free: 58.29 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006107/1.302, allocations: 94.05 kB / 0.8295 GB, free: 58.2 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001981/1.303, allocations: 139.9 kB / 0.8296 GB, free: 58.07 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002747/1.304, allocations: 271.9 kB / 0.8299 GB, free: 57.8 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001441/1.304, allocations: 120 kB / 0.83 GB, free: 57.68 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.004696/1.309, allocations: 3.586 MB / 0.8335 GB, free: 54.13 MB / 0.5607 GB Notification: Performance of sort global known variables: time 3.21e-07/1.309, allocations: 0 / 0.8335 GB, free: 54.13 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.006533/1.315, allocations: 1.41 MB / 0.8349 GB, free: 52.72 MB / 0.5607 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 142 * 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 (275): * Single equations (assignments): 272 * 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.005833/1.321, allocations: 6.355 MB / 0.8411 GB, free: 45.83 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.00817/1.329, allocations: 6.038 MB / 0.847 GB, free: 39.83 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 2.242e-05/1.329, allocations: 8 kB / 0.847 GB, free: 39.82 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.001772/1.331, allocations: 1.365 MB / 0.8483 GB, free: 38.46 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004288/1.335, allocations: 0.7541 MB / 0.849 GB, free: 37.73 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08318/1.419, allocations: 67.66 MB / 0.9151 GB, free: 8.039 MB / 0.6076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006396/1.425, allocations: 4.76 MB / 0.9198 GB, free: 3.25 MB / 0.6076 GB Notification: Performance of simCode: alias equations: time 0.005894/1.431, allocations: 2.571 MB / 0.9223 GB, free: 0.6719 MB / 0.6076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004486/1.435, allocations: 3.206 MB / 0.9254 GB, free: 13.49 MB / 0.6232 GB Notification: Performance of SimCode: time 8.72e-07/1.435, allocations: 0 / 0.9254 GB, free: 13.49 MB / 0.6232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3705/1.806, allocations: 92.58 MB / 1.016 GB, free: 177.6 MB / 0.6388 GB Notification: Performance of buildModelFMU: Generate platform static: time 27.44/29.25, allocations: 11.84 kB / 1.016 GB, free: 177.6 MB / 0.6388 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper_res.csv --start-time 0 --stop-time 7 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0028 ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_Damper.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/Damper/Damper.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches