Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_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 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: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Damper,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_Damper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Damper,fileNamePrefix="ModelicaTest_4_0_0_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.0009666/0.0009663, allocations: 98.95 kB / 17 MB, free: 6.418 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.001164/0.001164, allocations: 191.4 kB / 17.89 MB, free: 5.945 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.375/1.375, allocations: 223.2 MB / 241.9 MB, free: 236 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2268/0.2268, allocations: 44.22 MB / 337.2 MB, free: 2.793 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004446/0.0004448, allocations: 8.844 kB / 409.7 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.139/0.1394, allocations: 61.92 MB / 471.6 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.3483/0.4877, allocations: 78.35 MB / 0.5371 GB, free: 8.391 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0402/0.528, allocations: 15.81 MB / 0.5525 GB, free: 14.13 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02094/0.549, allocations: 367.8 kB / 0.5529 GB, free: 14.08 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01815/0.5671, allocations: 4.139 MB / 0.5569 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03539/0.6026, allocations: 11.97 MB / 0.5686 GB, free: 1.184 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006499/0.6091, allocations: 1.069 MB / 0.5697 GB, free: 116 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0124/0.6215, allocations: 7.715 MB / 0.5772 GB, free: 8.383 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02045/0.642, allocations: 8.409 MB / 0.5854 GB, free: 15.91 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006832/0.6489, allocations: 2.036 MB / 0.5874 GB, free: 13.86 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008153/0.6571, allocations: 3.338 MB / 0.5907 GB, free: 10.52 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002643/0.6598, allocations: 256 kB / 0.5909 GB, free: 10.27 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00466/0.6645, allocations: 0.8739 MB / 0.5918 GB, free: 9.391 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00591/0.6704, allocations: 2.871 MB / 0.5946 GB, free: 6.512 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003596/0.674, allocations: 1.345 MB / 0.5959 GB, free: 5.156 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01408/0.6881, allocations: 8.81 MB / 0.6045 GB, free: 12.32 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/0.6882, allocations: 0 / 0.6045 GB, free: 12.32 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.445e-06/0.6882, allocations: 0 / 0.6045 GB, free: 12.32 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0005317/0.6887, allocations: 0 / 0.6045 GB, free: 12.32 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2607 * Number of variables: 2607 Notification: Performance of Generate backend data structure: time 0.0168/0.7056, allocations: 6.418 MB / 0.6107 GB, free: 5.824 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/0.7056, allocations: 12.02 kB / 0.6108 GB, free: 5.812 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004872/0.7105, allocations: 1.227 MB / 0.612 GB, free: 4.574 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01154/0.7221, allocations: 2.747 MB / 0.6146 GB, free: 1.812 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0105/0.7326, allocations: 4.505 MB / 0.619 GB, free: 13.24 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005783/0.7332, allocations: 443 kB / 0.6195 GB, free: 12.81 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002318/0.7356, allocations: 0.5699 MB / 0.62 GB, free: 12.24 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04592/0.7815, allocations: 20.28 MB / 0.6398 GB, free: 6.809 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003631/0.7819, allocations: 71.39 kB / 0.6399 GB, free: 6.738 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002119/0.7841, allocations: 279.7 kB / 0.6402 GB, free: 6.465 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005487/0.7896, allocations: 3.33 MB / 0.6434 GB, free: 3.133 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0361/0.8257, allocations: 16.28 MB / 0.6593 GB, free: 2.824 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5809/1.407, allocations: 65.27 MB / 0.723 GB, free: 146.1 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01616/1.423, allocations: 6.299 MB / 0.7292 GB, free: 145.4 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003135/1.426, allocations: 2.056 MB / 0.7312 GB, free: 145.4 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01289/1.439, allocations: 9.13 MB / 0.7401 GB, free: 141.9 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.691e-05/1.439, allocations: 65.47 kB / 0.7402 GB, free: 141.9 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=257): time 4.94e-06/1.439, allocations: 0 / 0.7402 GB, free: 141.9 MB / 0.5294 GB Notification: Performance of matching and sorting (n=291): time 0.0476/1.487, allocations: 21.35 MB / 0.761 GB, free: 131.6 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.808e-05/1.487, allocations: 158.3 kB / 0.7612 GB, free: 131.4 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006373/1.493, allocations: 5.831 MB / 0.7669 GB, free: 125.5 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.000325/1.493, allocations: 69.7 kB / 0.7669 GB, free: 125.5 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002154/1.496, allocations: 4.958 MB / 0.7718 GB, free: 120.5 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008585/1.496, allocations: 1.113 MB / 0.7729 GB, free: 119.4 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002731/1.497, allocations: 187.8 kB / 0.773 GB, free: 119.2 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0003015/1.497, allocations: 0.6961 MB / 0.7737 GB, free: 118.5 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003179/1.5, allocations: 2.563 MB / 0.7762 GB, free: 116 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005448/1.506, allocations: 8.178 MB / 0.7842 GB, free: 105.3 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005703/1.511, allocations: 4.445 MB / 0.7886 GB, free: 101 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001607/1.512, allocations: 56 kB / 0.7886 GB, free: 101 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1204) (initialization): time 0.01615/1.528, allocations: 10.43 MB / 0.7988 GB, free: 90.64 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.879e-05/1.528, allocations: 88 kB / 0.7989 GB, free: 90.55 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001762/1.528, allocations: 204 kB / 0.7991 GB, free: 90.36 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002072/1.528, allocations: 288.8 kB / 0.7994 GB, free: 90.07 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005985/1.534, allocations: 2.203 MB / 0.8015 GB, free: 87.87 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002075/1.534, allocations: 389.7 kB / 0.8019 GB, free: 87.49 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005337/1.54, allocations: 447.4 kB / 0.8023 GB, free: 87.05 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007695/1.541, allocations: 0.5508 MB / 0.8028 GB, free: 86.5 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 904 * Number of states: 0 () * Number of discrete variables: 78 (force2.forceArrow.arrowLine.twoHeadedArrow,force2.forceArrow.headAtOrigin,force1.forceArrow.arrowLine.twoHeadedArrow,force1.forceArrow.headAtOrigin,force.forceArrow.arrowLine.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 (1180): * Single equations (assignments): 1177 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004363/1.545, allocations: 3.234 MB / 0.806 GB, free: 83.25 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007187/1.546, allocations: 0.5128 MB / 0.8065 GB, free: 82.73 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004201/1.55, allocations: 2.957 MB / 0.8094 GB, free: 79.75 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.309e-05/1.55, allocations: 40.25 kB / 0.8094 GB, free: 79.72 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.21e-05/1.55, allocations: 0 / 0.8094 GB, free: 79.72 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-05/1.55, allocations: 16.83 kB / 0.8094 GB, free: 79.7 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01877/1.569, allocations: 12.47 MB / 0.8216 GB, free: 66.76 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.599e-05/1.569, allocations: 32 kB / 0.8216 GB, free: 66.73 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001694/1.571, allocations: 0.5381 MB / 0.8222 GB, free: 66.19 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.892e-05/1.571, allocations: 52 kB / 0.8222 GB, free: 66.14 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001386/1.571, allocations: 84 kB / 0.8223 GB, free: 66.05 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.561e-05/1.571, allocations: 66.84 kB / 0.8224 GB, free: 65.99 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.327e-05/1.571, allocations: 55.8 kB / 0.8224 GB, free: 65.94 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005449/1.576, allocations: 5.531 MB / 0.8278 GB, free: 59.88 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001471/1.578, allocations: 0.5918 MB / 0.8284 GB, free: 59.26 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006262/1.578, allocations: 87.97 kB / 0.8285 GB, free: 59.17 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001831/1.58, allocations: 143.9 kB / 0.8286 GB, free: 59.03 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002603/1.581, allocations: 272 kB / 0.8289 GB, free: 58.76 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001479/1.581, allocations: 116 kB / 0.829 GB, free: 58.65 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005226/1.586, allocations: 3.611 MB / 0.8325 GB, free: 55.04 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7.91e-07/1.586, allocations: 0 / 0.8325 GB, free: 55.04 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.007958/1.594, allocations: 1.456 MB / 0.8339 GB, free: 53.59 MB / 0.5294 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006308/1.6, allocations: 6.249 MB / 0.84 GB, free: 46.8 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.009304/1.61, allocations: 5.885 MB / 0.8458 GB, free: 40.95 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.164e-05/1.61, allocations: 8 kB / 0.8458 GB, free: 40.94 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002238/1.612, allocations: 1.332 MB / 0.8471 GB, free: 39.61 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005877/1.618, allocations: 0.7645 MB / 0.8478 GB, free: 38.86 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09893/1.717, allocations: 54.17 MB / 0.9007 GB, free: 10.36 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009894/1.727, allocations: 4.882 MB / 0.9055 GB, free: 5.457 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.00856/1.735, allocations: 2.607 MB / 0.9081 GB, free: 2.844 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005725/1.741, allocations: 3.288 MB / 0.9113 GB, free: 15.55 MB / 0.5763 GB Notification: Performance of SimCode: time 1.212e-06/1.741, allocations: 0 / 0.9113 GB, free: 15.55 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4458/2.187, allocations: 107.4 MB / 1.016 GB, free: 146.3 MB / 0.5763 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002231/2.187, allocations: 172.4 kB / 1.016 GB, free: 146 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.782/6.969, allocations: 0 / 1.016 GB, free: 146 MB / 0.5763 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_Damper_fmu --startTime=0 --stopTime=7 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_Damper.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper_res.mat does not exist to compare? outputFormat=mat