Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper2.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Damper2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_Damper2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Damper2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_Damper2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001013/0.001013, allocations: 196.1 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.299/1.299, allocations: 225.4 MB / 240.1 MB, free: 15.02 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008276/0.0008276, allocations: 91.72 kB / 292.1 MB, free: 6.02 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.182/0.182, allocations: 45.15 MB / 389.3 MB, free: 11.83 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.658e-05/3.668e-05, allocations: 4 kB / 460.5 MB, free: 69.9 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09889/0.09895, allocations: 63.25 MB / 0.5115 GB, free: 6.668 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3978/0.4968, allocations: 110.7 MB / 0.6196 GB, free: 15.27 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002538/0.4971, allocations: 78.62 kB / 0.6197 GB, free: 15.24 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6183/1.115, allocations: 145 MB / 0.7613 GB, free: 107.9 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.447e-06/1.115, allocations: 1.641 kB / 0.7613 GB, free: 107.9 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0003794/1.116, allocations: 143.2 kB / 0.7614 GB, free: 107.9 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2609 * Number of variables: 2609 Notification: Performance of Generate backend data structure: time 0.02264/1.139, allocations: 6.44 MB / 0.7677 GB, free: 105.3 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.829e-05/1.139, allocations: 13.44 kB / 0.7678 GB, free: 105.3 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005166/1.144, allocations: 1.311 MB / 0.769 GB, free: 105.2 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01764/1.161, allocations: 3.547 MB / 0.7725 GB, free: 104.7 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01658/1.178, allocations: 6.321 MB / 0.7787 GB, free: 104 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007014/1.179, allocations: 0.5728 MB / 0.7792 GB, free: 103.9 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003945/1.183, allocations: 0.7526 MB / 0.78 GB, free: 103.9 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04889/1.232, allocations: 20.68 MB / 0.8002 GB, free: 99.65 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004067/1.232, allocations: 103.6 kB / 0.8003 GB, free: 99.64 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002017/1.234, allocations: 369.2 kB / 0.8006 GB, free: 99.64 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002945/1.237, allocations: 1.827 MB / 0.8024 GB, free: 99.62 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03546/1.273, allocations: 16.36 MB / 0.8184 GB, free: 99.57 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07353/1.346, allocations: 77.16 MB / 0.8937 GB, free: 40.22 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01483/1.361, allocations: 6.145 MB / 0.8997 GB, free: 35.24 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002441/1.363, allocations: 1.952 MB / 0.9016 GB, free: 33.47 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01266/1.376, allocations: 9.271 MB / 0.9107 GB, free: 25.44 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01215/1.388, allocations: 4.074 MB / 0.9147 GB, free: 22.62 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=260): time 5.02e-06/1.388, allocations: 0 / 0.9147 GB, free: 22.62 MB / 0.5261 GB Notification: Performance of matching and sorting (n=294): time 0.04481/1.433, allocations: 19.71 MB / 0.9339 GB, free: 6.324 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.714e-05/1.433, allocations: 162.5 kB / 0.9341 GB, free: 6.141 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006228/1.44, allocations: 5.124 MB / 0.9391 GB, free: 1 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0003594/1.44, allocations: 69.7 kB / 0.9391 GB, free: 0.9258 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.004131/1.444, allocations: 5.062 MB / 0.9441 GB, free: 11.86 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.001221/1.445, allocations: 1.129 MB / 0.9452 GB, free: 10.75 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003918/1.446, allocations: 184 kB / 0.9453 GB, free: 10.57 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0005237/1.446, allocations: 0.6868 MB / 0.946 GB, free: 9.871 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003705/1.45, allocations: 2.451 MB / 0.9484 GB, free: 7.414 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3098/1.76, allocations: 7.982 MB / 0.9562 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008839/1.769, allocations: 4.41 MB / 0.9605 GB, free: 108.1 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002418/1.769, allocations: 55.59 kB / 0.9606 GB, free: 108.1 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1203) (initialization): time 0.02174/1.791, allocations: 10.21 MB / 0.9705 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001999/1.791, allocations: 116.1 kB / 0.9706 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004753/1.791, allocations: 200.8 kB / 0.9708 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004874/1.792, allocations: 293.2 kB / 0.9711 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007333/1.799, allocations: 2.249 MB / 0.9733 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000311/1.8, allocations: 400.9 kB / 0.9737 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007227/1.807, allocations: 0.5884 MB / 0.9743 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001279/1.808, allocations: 0.5419 MB / 0.9748 GB, free: 107.4 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 898 * Number of states: 0 () * Number of discrete variables: 83 ($whenCondition1,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count,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.forceArrow.arrowLine.twoHeadedArrow,force2.forceArrow.headAtOrigin,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.forceArrow.arrowLine.twoHeadedArrow,force1.forceArrow.headAtOrigin,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.forceArrow.arrowLine.twoHeadedArrow,force.forceArrow.headAtOrigin,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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1178): * Single equations (assignments): 1174 * Array equations: 3 * Algorithm blocks: 1 * 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.00144/1.81, allocations: 0.826 MB / 0.9756 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008895/1.811, allocations: 0.523 MB / 0.9761 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004168/1.815, allocations: 2.824 MB / 0.9789 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.018e-05/1.815, allocations: 32.11 kB / 0.9789 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.222e-05/1.815, allocations: 5.656 kB / 0.9789 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.518e-05/1.815, allocations: 13.55 kB / 0.9789 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01885/1.834, allocations: 12.26 MB / 0.9909 GB, free: 105 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.624e-05/1.834, allocations: 33.41 kB / 0.9909 GB, free: 105 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001839/1.836, allocations: 0.5354 MB / 0.9914 GB, free: 104.9 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.2e-05/1.836, allocations: 51.69 kB / 0.9915 GB, free: 104.9 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001495/1.836, allocations: 93.08 kB / 0.9916 GB, free: 104.9 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.204e-05/1.836, allocations: 62.11 kB / 0.9916 GB, free: 104.9 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-05/1.836, allocations: 47.81 kB / 0.9917 GB, free: 104.9 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006739/1.843, allocations: 10.85 MB / 1.002 GB, free: 96.42 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00163/1.844, allocations: 0.6008 MB / 1.003 GB, free: 96.04 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000614/1.845, allocations: 92.23 kB / 1.003 GB, free: 96.04 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002128/1.847, allocations: 206.9 kB / 1.003 GB, free: 96.04 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003067/1.847, allocations: 282.9 kB / 1.003 GB, free: 95.98 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001532/1.848, allocations: 117.8 kB / 1.004 GB, free: 95.98 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.00502/1.853, allocations: 3.533 MB / 1.007 GB, free: 95.74 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.6e-07/1.853, allocations: 0 / 1.007 GB, free: 95.74 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.007045/1.86, allocations: 1.485 MB / 1.008 GB, free: 95.74 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 142 * Number of states: 7 (prismatic.s,prismatic.v,prismatic1.s,prismatic1.v,heatCapacitor.T,prismatic2.s,prismatic2.v) * Number of discrete variables: 3 ($whenCondition1,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (272): * Single equations (assignments): 267 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.007196/1.867, allocations: 17.28 MB / 1.025 GB, free: 81.54 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.007822/1.875, allocations: 5.779 MB / 1.031 GB, free: 80.14 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-05/1.875, allocations: 8.062 kB / 1.031 GB, free: 80.14 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.002149/1.877, allocations: 1.528 MB / 1.032 GB, free: 79.59 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003586/1.881, allocations: 0.7212 MB / 1.033 GB, free: 79.3 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02677/1.907, allocations: 14.26 MB / 1.047 GB, free: 73.24 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004494/1.912, allocations: 5.031 MB / 1.052 GB, free: 71.61 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.005872/1.918, allocations: 2.613 MB / 1.055 GB, free: 71.39 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002998/1.921, allocations: 3.241 MB / 1.058 GB, free: 68.71 MB / 0.5417 GB Notification: Performance of SimCode: time 9.92e-07/1.921, allocations: 0 / 1.058 GB, free: 68.71 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4558/2.377, allocations: 108.6 MB / 1.164 GB, free: 87 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001524/2.377, allocations: 150.4 kB / 1.164 GB, free: 86.78 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.882/7.258, allocations: 0 / 1.164 GB, free: 86.78 MB / 0.5573 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_Damper2_fmu --startTime=0 --stopTime=7 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_Damper2.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper2_res.mat does not exist to compare? outputFormat=mat