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/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.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/Complex trunk/package.mo): time 0.0009968/0.0009969, allocations: 196.3 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.284/1.284, allocations: 225.4 MB / 240.1 MB, free: 15.17 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009044/0.0009045, allocations: 88.83 kB / 292.1 MB, free: 5.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2298/0.2298, allocations: 45.15 MB / 389.3 MB, free: 11.89 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.477e-05/3.489e-05, allocations: 4 kB / 460.5 MB, free: 69.93 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.1067, allocations: 63.24 MB / 0.5115 GB, free: 6.711 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4092/0.5159, allocations: 110.2 MB / 0.6191 GB, free: 15.96 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002687/0.5162, allocations: 78.7 kB / 0.6191 GB, free: 15.92 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6348/1.151, allocations: 144.6 MB / 0.7603 GB, free: 107.3 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.084e-06/1.151, allocations: 1.781 kB / 0.7603 GB, free: 107.3 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0004619/1.152, allocations: 142.4 kB / 0.7605 GB, free: 107.3 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: 2607 * Number of variables: 2607 Notification: Performance of Generate backend data structure: time 0.02174/1.173, allocations: 6.324 MB / 0.7666 GB, free: 104.8 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.772e-05/1.173, allocations: 13.59 kB / 0.7666 GB, free: 104.8 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005606/1.179, allocations: 1.307 MB / 0.7679 GB, free: 104.7 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01755/1.197, allocations: 3.558 MB / 0.7714 GB, free: 104.2 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01575/1.212, allocations: 6.312 MB / 0.7776 GB, free: 103.4 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005181/1.213, allocations: 0.5685 MB / 0.7781 GB, free: 103.4 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003116/1.216, allocations: 0.7549 MB / 0.7788 GB, free: 103.4 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04247/1.259, allocations: 20.66 MB / 0.799 GB, free: 99.14 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003331/1.259, allocations: 103.4 kB / 0.7991 GB, free: 99.13 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0017/1.261, allocations: 371.7 kB / 0.7995 GB, free: 99.12 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002496/1.263, allocations: 1.815 MB / 0.8013 GB, free: 99.11 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03506/1.298, allocations: 16.36 MB / 0.8172 GB, free: 99.05 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07589/1.374, allocations: 77.07 MB / 0.8925 GB, free: 41 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01477/1.389, allocations: 6.122 MB / 0.8985 GB, free: 36.03 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00242/1.391, allocations: 1.944 MB / 0.9004 GB, free: 34.27 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01217/1.404, allocations: 9.234 MB / 0.9094 GB, free: 26.27 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.19e-05/1.404, allocations: 64.45 kB / 0.9095 GB, free: 26.2 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=257): time 5.57e-06/1.404, allocations: 0 / 0.9095 GB, free: 26.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=291): time 0.04441/1.448, allocations: 19.63 MB / 0.9286 GB, free: 9.969 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.897e-05/1.448, allocations: 166.5 kB / 0.9288 GB, free: 9.777 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00577/1.454, allocations: 5.099 MB / 0.9338 GB, free: 5.23 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0002749/1.454, allocations: 65.7 kB / 0.9338 GB, free: 5.16 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001981/1.456, allocations: 4.963 MB / 0.9387 GB, free: 0.7188 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008223/1.457, allocations: 1.12 MB / 0.9398 GB, free: 15.73 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003184/1.457, allocations: 184 kB / 0.9399 GB, free: 15.55 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0004707/1.458, allocations: 0.6901 MB / 0.9406 GB, free: 14.96 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003685/1.462, allocations: 2.434 MB / 0.943 GB, free: 12.75 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007672/1.469, allocations: 7.971 MB / 0.9508 GB, free: 2.258 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3156/1.785, allocations: 4.366 MB / 0.955 GB, free: 108.9 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001954/1.785, allocations: 57 kB / 0.9551 GB, free: 108.9 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1198) (initialization): time 0.02215/1.807, allocations: 10.15 MB / 0.965 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001579/1.807, allocations: 89.94 kB / 0.9651 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003693/1.808, allocations: 200.7 kB / 0.9653 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004748/1.808, allocations: 289.6 kB / 0.9656 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008423/1.817, allocations: 2.227 MB / 0.9677 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003511/1.817, allocations: 389.9 kB / 0.9681 GB, free: 108.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006938/1.824, allocations: 0.5661 MB / 0.9687 GB, free: 108.3 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001244/1.825, allocations: 0.5423 MB / 0.9692 GB, free: 108.3 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: 78 (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 (1174): * Single equations (assignments): 1171 * 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.001149/1.827, allocations: 0.8279 MB / 0.97 GB, free: 108 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007911/1.827, allocations: 0.5197 MB / 0.9705 GB, free: 108 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004297/1.832, allocations: 2.799 MB / 0.9732 GB, free: 107.9 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.209e-05/1.832, allocations: 30.44 kB / 0.9733 GB, free: 107.9 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.06e-05/1.832, allocations: 3.594 kB / 0.9733 GB, free: 107.9 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-05/1.832, allocations: 11.16 kB / 0.9733 GB, free: 107.9 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01725/1.849, allocations: 12.35 MB / 0.9853 GB, free: 106 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.174e-05/1.849, allocations: 32.5 kB / 0.9854 GB, free: 106 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001655/1.851, allocations: 0.5185 MB / 0.9859 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.77e-05/1.851, allocations: 49.12 kB / 0.9859 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001404/1.851, allocations: 96.41 kB / 0.986 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.052e-05/1.851, allocations: 65.62 kB / 0.9861 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.147e-05/1.851, allocations: 49.84 kB / 0.9861 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006198/1.857, allocations: 11 MB / 0.9969 GB, free: 97.22 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001302/1.858, allocations: 0.5939 MB / 0.9974 GB, free: 96.84 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000464/1.859, allocations: 95.19 kB / 0.9975 GB, free: 96.84 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001923/1.861, allocations: 186.9 kB / 0.9977 GB, free: 96.84 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002926/1.861, allocations: 263.8 kB / 0.998 GB, free: 96.79 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001611/1.861, allocations: 120.7 kB / 0.9981 GB, free: 96.79 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.005604/1.867, allocations: 3.526 MB / 1.002 GB, free: 96.54 MB / 0.5417 GB Notification: Performance of sort global known variables: time 5.41e-07/1.867, allocations: 0 / 1.002 GB, free: 96.54 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.008039/1.875, allocations: 1.477 MB / 1.003 GB, free: 96.54 MB / 0.5417 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (269): * Single equations (assignments): 266 * 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.008336/1.883, allocations: 17.45 MB / 1.02 GB, free: 82.15 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.009559/1.893, allocations: 5.707 MB / 1.026 GB, free: 81.53 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.323e-05/1.893, allocations: 7.281 kB / 1.026 GB, free: 81.53 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.002/1.895, allocations: 1.286 MB / 1.027 GB, free: 81.41 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004511/1.9, allocations: 0.7226 MB / 1.028 GB, free: 81.16 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03034/1.93, allocations: 14.23 MB / 1.041 GB, free: 75.25 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005256/1.935, allocations: 5.018 MB / 1.046 GB, free: 73.62 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.006144/1.941, allocations: 2.612 MB / 1.049 GB, free: 73.39 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003499/1.945, allocations: 3.249 MB / 1.052 GB, free: 70.72 MB / 0.5417 GB Notification: Performance of SimCode: time 1.262e-06/1.945, allocations: 0 / 1.052 GB, free: 70.72 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.149/2.094, allocations: 107.9 MB / 1.157 GB, free: 0.6445 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002025/2.094, allocations: 149.4 kB / 1.158 GB, free: 424 kB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.993/7.088, allocations: 2.078 kB / 1.158 GB, free: 424 kB / 0.5573 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/linux/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