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.001005/0.001005, allocations: 96.5 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001269/0.00127, allocations: 205.5 kB / 18.28 MB, free: 5.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.325/1.325, allocations: 227.7 MB / 246.8 MB, free: 11.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1845/0.1845, allocations: 46.18 MB / 345.2 MB, free: 11.42 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002373/0.0002372, allocations: 11.98 kB / 419.6 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09297/0.09322, allocations: 63.56 MB / 483.2 MB, free: 4.082 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.2587/0.3519, allocations: 73.2 MB / 0.5433 GB, free: 1.324 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03003/0.382, allocations: 14.45 MB / 0.5575 GB, free: 7.785 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01317/0.3952, allocations: 320.1 kB / 0.5578 GB, free: 7.738 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002504/0.3978, allocations: 0.6334 MB / 0.5584 GB, free: 7.238 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006373/0.4042, allocations: 2.334 MB / 0.5607 GB, free: 5.59 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002419/0.4066, allocations: 1.089 MB / 0.5617 GB, free: 4.863 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01062/0.4172, allocations: 9.615 MB / 0.5711 GB, free: 12.67 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01283/0.4301, allocations: 9.283 MB / 0.5802 GB, free: 3.293 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003358/0.4335, allocations: 1.829 MB / 0.582 GB, free: 1.457 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004846/0.4384, allocations: 3.301 MB / 0.5852 GB, free: 14.14 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001419/0.4398, allocations: 252 kB / 0.5854 GB, free: 13.9 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002877/0.4427, allocations: 0.9868 MB / 0.5864 GB, free: 12.91 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003883/0.4466, allocations: 2.836 MB / 0.5892 GB, free: 10.07 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005194/0.4519, allocations: 3.207 MB / 0.5923 GB, free: 6.832 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01093/0.4628, allocations: 10.26 MB / 0.6023 GB, free: 12.53 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.4628, allocations: 0 / 0.6023 GB, free: 12.53 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.4629, allocations: 0 / 0.6023 GB, free: 12.53 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003123/0.4632, allocations: 4 kB / 0.6023 GB, free: 12.52 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: 2520 * Number of variables: 2520 Notification: Performance of Generate backend data structure: time 0.0116/0.4748, allocations: 6.14 MB / 0.6083 GB, free: 6.312 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.4748, allocations: 8.875 kB / 0.6083 GB, free: 6.305 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002442/0.4773, allocations: 1.186 MB / 0.6095 GB, free: 5.109 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01055/0.4878, allocations: 2.682 MB / 0.6121 GB, free: 2.414 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008198/0.4961, allocations: 4.185 MB / 0.6162 GB, free: 14.16 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005357/0.4967, allocations: 439.2 kB / 0.6166 GB, free: 13.73 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001932/0.4986, allocations: 0.5542 MB / 0.6171 GB, free: 13.18 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0395/0.5381, allocations: 19.81 MB / 0.6365 GB, free: 8.234 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002343/0.5384, allocations: 71.34 kB / 0.6366 GB, free: 8.164 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00119/0.5396, allocations: 267.8 kB / 0.6368 GB, free: 7.902 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004744/0.5444, allocations: 3.157 MB / 0.6399 GB, free: 4.742 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03749/0.5819, allocations: 15.94 MB / 0.6555 GB, free: 4.773 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2858/0.8677, allocations: 63.99 MB / 0.718 GB, free: 138.3 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01848/0.8863, allocations: 6.368 MB / 0.7242 GB, free: 137.6 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00331/0.8896, allocations: 2.059 MB / 0.7262 GB, free: 137.5 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01508/0.9048, allocations: 9.183 MB / 0.7352 GB, free: 134.1 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.542e-05/0.9048, allocations: 61.55 kB / 0.7352 GB, free: 134 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=257): time 6.111e-06/0.9049, allocations: 1 kB / 0.7352 GB, free: 134 MB / 0.5294 GB Notification: Performance of matching and sorting (n=291): time 0.07266/0.9775, allocations: 21.57 MB / 0.7563 GB, free: 124.8 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.105e-05/0.9776, allocations: 159.3 kB / 0.7564 GB, free: 124.7 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0132/0.9909, allocations: 5.775 MB / 0.7621 GB, free: 119.3 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0005277/0.9915, allocations: 74.19 kB / 0.7621 GB, free: 119.2 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003994/0.9955, allocations: 4.837 MB / 0.7669 GB, free: 114.4 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001495/0.997, allocations: 1.115 MB / 0.768 GB, free: 113.2 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001697/0.9987, allocations: 0.7697 MB / 0.7687 GB, free: 112.5 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 4.546e-05/0.9988, allocations: 305.1 kB / 0.769 GB, free: 112.2 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007903/1.007, allocations: 2.622 MB / 0.7716 GB, free: 109.5 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01158/1.018, allocations: 8.187 MB / 0.7796 GB, free: 98.82 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01802/1.036, allocations: 11.75 MB / 0.791 GB, free: 84.6 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000209/1.037, allocations: 59.94 kB / 0.7911 GB, free: 84.54 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1195) (initialization): time 0.02907/1.066, allocations: 10.51 MB / 0.8013 GB, free: 74.03 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001512/1.066, allocations: 88 kB / 0.8014 GB, free: 73.95 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002288/1.066, allocations: 196 kB / 0.8016 GB, free: 73.75 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002867/1.067, allocations: 264.7 kB / 0.8019 GB, free: 73.5 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00779/1.074, allocations: 2.203 MB / 0.804 GB, free: 71.29 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002151/1.075, allocations: 390.5 kB / 0.8044 GB, free: 70.91 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005855/1.08, allocations: 459.5 kB / 0.8048 GB, free: 70.46 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007785/1.081, allocations: 0.5403 MB / 0.8054 GB, free: 69.92 MB / 0.5294 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.004513/1.086, allocations: 3.144 MB / 0.8084 GB, free: 66.76 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006987/1.086, allocations: 0.509 MB / 0.8089 GB, free: 66.25 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004322/1.091, allocations: 3.023 MB / 0.8119 GB, free: 63.21 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.96e-05/1.091, allocations: 33.17 kB / 0.8119 GB, free: 63.18 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.155e-05/1.091, allocations: 3.938 kB / 0.8119 GB, free: 63.17 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.956e-05/1.091, allocations: 11.95 kB / 0.8119 GB, free: 63.16 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01651/1.107, allocations: 12.34 MB / 0.824 GB, free: 50.34 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.808e-05/1.107, allocations: 32 kB / 0.824 GB, free: 50.31 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001757/1.109, allocations: 0.553 MB / 0.8245 GB, free: 49.76 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-05/1.109, allocations: 48.09 kB / 0.8246 GB, free: 49.71 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001265/1.109, allocations: 93.09 kB / 0.8247 GB, free: 49.62 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.074e-05/1.109, allocations: 67.72 kB / 0.8247 GB, free: 49.55 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.052e-05/1.109, allocations: 47.81 kB / 0.8248 GB, free: 49.51 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005408/1.115, allocations: 5.659 MB / 0.8303 GB, free: 43.32 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009537/1.116, allocations: 0.5801 MB / 0.8309 GB, free: 42.71 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004498/1.116, allocations: 95.91 kB / 0.831 GB, free: 42.62 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001749/1.118, allocations: 159.9 kB / 0.8311 GB, free: 42.46 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002484/1.118, allocations: 273.3 kB / 0.8314 GB, free: 42.19 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001283/1.118, allocations: 122.5 kB / 0.8315 GB, free: 42.07 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004357/1.123, allocations: 3.59 MB / 0.835 GB, free: 38.52 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.8e-07/1.123, allocations: 0 / 0.835 GB, free: 38.52 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.006338/1.129, allocations: 1.398 MB / 0.8364 GB, free: 37.12 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 (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.005959/1.135, allocations: 6.374 MB / 0.8426 GB, free: 30.21 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008579/1.144, allocations: 5.973 MB / 0.8484 GB, free: 24.27 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.38e-05/1.144, allocations: 4 kB / 0.8484 GB, free: 24.27 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00188/1.146, allocations: 1.384 MB / 0.8498 GB, free: 22.89 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02717/1.173, allocations: 0.7379 MB / 0.8505 GB, free: 22.16 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3256/1.498, allocations: 84.45 MB / 0.933 GB, free: 222.2 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006085/1.505, allocations: 4.76 MB / 0.9376 GB, free: 221.3 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.006368/1.511, allocations: 2.573 MB / 0.9401 GB, free: 221.3 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003467/1.514, allocations: 3.191 MB / 0.9433 GB, free: 218.8 MB / 0.5919 GB Notification: Performance of SimCode: time 8.22e-07/1.515, allocations: 0 / 0.9433 GB, free: 218.8 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1193/1.634, allocations: 95.63 MB / 1.037 GB, free: 137.5 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001587/1.634, allocations: 191.6 kB / 1.037 GB, free: 137.2 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.835/6.469, allocations: 0 / 1.037 GB, free: 137.2 MB / 0.5919 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_Damper_fmu --startTime=0 --stopTime=7 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_Damper.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper_res.mat does not exist to compare? outputFormat=mat