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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001462/0.001462, allocations: 174.4 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.444/1.444, allocations: 221.5 MB / 230.7 MB, free: 7.523 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009515/0.0009515, allocations: 86.84 kB / 281.6 MB, free: 5.273 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1922/0.1922, allocations: 44.14 MB / 376.5 MB, free: 3.043 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.043e-05/2.046e-05, allocations: 8 kB / 444.7 MB, free: 15.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1258/0.1258, allocations: 61.92 MB / 0.4948 GB, free: 1.16 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4324/0.5583, allocations: 108.6 MB / 0.6008 GB, free: 3.707 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000251/0.5586, allocations: 71.97 kB / 0.6009 GB, free: 3.637 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6368/1.195, allocations: 137.4 MB / 0.7351 GB, free: 111.4 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.024e-06/1.195, allocations: 0 / 0.7351 GB, free: 111.4 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0003855/1.196, allocations: 141.9 kB / 0.7353 GB, free: 111.4 MB / 0.5105 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.02548/1.221, allocations: 6.317 MB / 0.7414 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 7.59e-05/1.221, allocations: 14.48 kB / 0.7414 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01777/1.239, allocations: 3.548 MB / 0.7449 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01999/1.259, allocations: 7.067 MB / 0.7518 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004241/1.26, allocations: 248 kB / 0.7521 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00369/1.263, allocations: 444.5 kB / 0.7525 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02252/1.286, allocations: 10.74 MB / 0.763 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03507/1.321, allocations: 15.8 MB / 0.7784 GB, free: 102 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000431/1.322, allocations: 102.6 kB / 0.7785 GB, free: 102 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003243/1.325, allocations: 52.22 kB / 0.7785 GB, free: 102 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003487/1.328, allocations: 1.815 MB / 0.7803 GB, free: 101.7 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0788/1.407, allocations: 75.17 MB / 0.8537 GB, free: 42.17 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003734/1.411, allocations: 3.128 MB / 0.8568 GB, free: 39.18 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001863/1.413, allocations: 1.708 MB / 0.8584 GB, free: 37.62 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001074/1.414, allocations: 1.762 MB / 0.8602 GB, free: 35.71 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.981e-05/1.414, allocations: 72.5 kB / 0.8602 GB, free: 35.63 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=264): time 5.24e-06/1.414, allocations: 0 / 0.8602 GB, free: 35.63 MB / 0.5105 GB Notification: Performance of matching and sorting (n=292): time 0.03206/1.446, allocations: 15.4 MB / 0.8753 GB, free: 22.27 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.097e-05/1.446, allocations: 154.5 kB / 0.8754 GB, free: 22.09 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00555/1.452, allocations: 4.246 MB / 0.8796 GB, free: 18.38 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0005423/1.452, allocations: 29.7 kB / 0.8796 GB, free: 18.34 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002281/1.455, allocations: 5.002 MB / 0.8845 GB, free: 13.82 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001295/1.456, allocations: 1.086 MB / 0.8855 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003789/1.456, allocations: 4 kB / 0.8855 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000431/1.457, allocations: 0.7001 MB / 0.8862 GB, free: 12.24 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003125/1.46, allocations: 2.306 MB / 0.8885 GB, free: 10.17 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005532/1.465, allocations: 7.944 MB / 0.8962 GB, free: 15.78 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007187/1.473, allocations: 4.235 MB / 0.9004 GB, free: 11.88 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001598/1.473, allocations: 56 kB / 0.9004 GB, free: 11.82 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1226) (initialization): time 0.02066/1.494, allocations: 9.005 MB / 0.9092 GB, free: 2.812 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.000146/1.494, allocations: 92 kB / 0.9093 GB, free: 2.723 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002581/1.494, allocations: 200 kB / 0.9095 GB, free: 2.527 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003025/1.494, allocations: 300 kB / 0.9098 GB, free: 2.234 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.3922/1.887, allocations: 2.284 MB / 0.912 GB, free: 108.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007055/1.887, allocations: 399.6 kB / 0.9124 GB, free: 108.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008546/1.896, allocations: 407.4 kB / 0.9128 GB, free: 108.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002185/1.898, allocations: 0.5529 MB / 0.9133 GB, free: 108.8 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 924 * 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 (1202): * Single equations (assignments): 1199 * 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.00179/1.9, allocations: 0.6145 MB / 0.9139 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006177/1.906, allocations: 2.829 MB / 0.9167 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001002/1.907, allocations: 471.1 kB / 0.9171 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005358/1.912, allocations: 2.503 MB / 0.9196 GB, free: 108.5 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.992e-05/1.913, allocations: 30.5 kB / 0.9196 GB, free: 108.5 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.694e-05/1.913, allocations: 1.984 kB / 0.9196 GB, free: 108.5 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.693e-05/1.913, allocations: 13.48 kB / 0.9196 GB, free: 108.5 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02629/1.939, allocations: 10.5 MB / 0.9299 GB, free: 106.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.344e-05/1.939, allocations: 33.22 kB / 0.9299 GB, free: 106.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002013/1.941, allocations: 0.5253 MB / 0.9304 GB, free: 106.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.229e-05/1.941, allocations: 50.86 kB / 0.9305 GB, free: 106.8 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001618/1.941, allocations: 48.97 kB / 0.9305 GB, free: 106.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.812e-05/1.941, allocations: 63.62 kB / 0.9306 GB, free: 106.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.693e-05/1.941, allocations: 48.34 kB / 0.9306 GB, free: 106.8 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006924/1.948, allocations: 9.424 MB / 0.9398 GB, free: 100.2 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001551/1.95, allocations: 0.5133 MB / 0.9403 GB, free: 99.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000672/1.951, allocations: 49.33 kB / 0.9404 GB, free: 99.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002151/1.953, allocations: 144.4 kB / 0.9405 GB, free: 99.84 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003171/1.953, allocations: 267.6 kB / 0.9408 GB, free: 99.81 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001723/1.953, allocations: 116.3 kB / 0.9409 GB, free: 99.81 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.005368/1.959, allocations: 2.76 MB / 0.9436 GB, free: 99.63 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.41e-07/1.959, allocations: 0 / 0.9436 GB, free: 99.63 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01027/1.969, allocations: 1.251 MB / 0.9448 GB, free: 99.63 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 137 * 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 (270): * Single equations (assignments): 267 * 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.00808/1.977, allocations: 16.78 MB / 0.9612 GB, free: 85.8 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01017/1.987, allocations: 5.29 MB / 0.9663 GB, free: 85.76 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.469e-05/1.987, allocations: 10.47 kB / 0.9664 GB, free: 85.76 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001887/1.989, allocations: 1.224 MB / 0.9675 GB, free: 85.7 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004628/1.994, allocations: 0.5569 MB / 0.9681 GB, free: 85.67 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04274/2.037, allocations: 13.78 MB / 0.9816 GB, free: 82.04 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01102/2.048, allocations: 5.008 MB / 0.9864 GB, free: 80.47 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.009145/2.057, allocations: 2.657 MB / 0.989 GB, free: 80.34 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006894/2.064, allocations: 3.249 MB / 0.9922 GB, free: 77.64 MB / 0.5261 GB Notification: Performance of SimCode: time 2.354e-06/2.064, allocations: 0 / 0.9922 GB, free: 77.64 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1683/2.232, allocations: 97.48 MB / 1.087 GB, free: 10.05 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001493/2.232, allocations: 129.6 kB / 1.088 GB, free: 9.852 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.951/8.183, allocations: 4 kB / 1.088 GB, free: 9.848 MB / 0.5261 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