Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.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) 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(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedRamp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedRamp",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.001065/0.001065, allocations: 173.1 kB / 13.64 MB, free: 1.672 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.386/1.386, allocations: 221.3 MB / 235.5 MB, free: 2.887 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.0008207/0.0008205, allocations: 87.86 kB / 286.5 MB, free: 192 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.891e-05/2.895e-05, allocations: 4 kB / 343.9 MB, free: 4.215 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09884/0.09889, allocations: 50.41 MB / 394.3 MB, free: 1.766 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2815/0.3805, allocations: 76.03 MB / 470.4 MB, free: 11.46 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002025/0.3807, allocations: 71.95 kB / 470.4 MB, free: 11.39 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002278/0.383, allocations: 0.8512 MB / 471.3 MB, free: 10.55 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.383, allocations: 4 kB / 471.3 MB, free: 10.54 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.05e-05/0.383, allocations: 4 kB / 471.3 MB, free: 10.54 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003709/0.3834, allocations: 339.3 kB / 471.6 MB, free: 10.16 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.3835, allocations: 12.03 kB / 471.6 MB, free: 10.15 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.516e-05/0.3835, allocations: 30.56 kB / 471.7 MB, free: 10.11 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.803e-05/0.3835, allocations: 11.86 kB / 471.7 MB, free: 10.1 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000166/0.3837, allocations: 175 kB / 471.9 MB, free: 9.891 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.936e-05/0.3837, allocations: 0 / 471.9 MB, free: 9.891 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.622e-05/0.3838, allocations: 8 kB / 471.9 MB, free: 9.883 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000259/0.384, allocations: 103.3 kB / 472 MB, free: 9.77 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.3841, allocations: 3.938 kB / 472 MB, free: 9.766 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.3841, allocations: 4 kB / 472 MB, free: 9.762 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.3841, allocations: 3.953 kB / 472 MB, free: 9.758 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.374e-05/0.3842, allocations: 19.94 kB / 472 MB, free: 9.738 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001354/0.3843, allocations: 165.5 kB / 472.2 MB, free: 9.527 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001096/0.3844, allocations: 54.59 kB / 472.2 MB, free: 9.465 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.377e-05/0.3845, allocations: 16.86 kB / 472.2 MB, free: 9.445 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.243e-05/0.3845, allocations: 0 / 472.2 MB, free: 9.445 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.582e-05/0.3845, allocations: 38.55 kB / 472.3 MB, free: 9.398 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 8.51e-07/0.3845, allocations: 0 / 472.3 MB, free: 9.398 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001389/0.3847, allocations: 53.77 kB / 472.3 MB, free: 9.34 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.87e-05/0.3847, allocations: 63.39 kB / 472.4 MB, free: 9.266 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.353e-05/0.3848, allocations: 101.7 kB / 472.5 MB, free: 9.16 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.463e-05/0.3848, allocations: 25.7 kB / 472.5 MB, free: 9.129 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.36e-05/0.3849, allocations: 88.12 kB / 472.6 MB, free: 9.039 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.248e-05/0.3849, allocations: 4 kB / 472.6 MB, free: 9.035 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.395e-06/0.3849, allocations: 0 / 472.6 MB, free: 9.035 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001133/0.385, allocations: 318.8 kB / 472.9 MB, free: 8.715 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.257e-05/0.385, allocations: 4 kB / 472.9 MB, free: 8.711 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.972e-05/0.3851, allocations: 31.44 kB / 472.9 MB, free: 8.668 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.106e-05/0.3851, allocations: 11.94 kB / 473 MB, free: 8.656 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3851, allocations: 4 kB / 473 MB, free: 8.652 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.589e-05/0.3852, allocations: 57.53 kB / 473 MB, free: 8.59 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.3852, allocations: 13.22 kB / 473 MB, free: 8.578 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.3852, allocations: 0 / 473 MB, free: 8.578 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.3852, allocations: 0 / 473 MB, free: 8.578 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.473e-05/0.3853, allocations: 11.98 kB / 473 MB, free: 8.566 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.916e-06/0.3853, allocations: 4 kB / 473 MB, free: 8.562 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.922e-05/0.3853, allocations: 0 / 473 MB, free: 8.562 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.705e-06/0.3854, allocations: 7.391 kB / 473 MB, free: 8.559 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 2 (ramp.counter,$CLKPRE.ramp.counter) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * 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 7.656e-05/0.3854, allocations: 116.9 kB / 473.2 MB, free: 8.438 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.287e-05/0.3855, allocations: 49.69 kB / 473.2 MB, free: 8.383 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.747e-05/0.3855, allocations: 12.03 kB / 473.2 MB, free: 8.371 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.3856, allocations: 0 / 473.2 MB, free: 8.371 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.3856, allocations: 3.938 kB / 473.2 MB, free: 8.367 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.3856, allocations: 0 / 473.2 MB, free: 8.367 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001037/0.3857, allocations: 173.5 kB / 473.4 MB, free: 8.148 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.3857, allocations: 0 / 473.4 MB, free: 8.148 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001025/0.3858, allocations: 11.98 kB / 473.4 MB, free: 8.137 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.3858, allocations: 0 / 473.4 MB, free: 8.137 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/0.3858, allocations: 4 kB / 473.4 MB, free: 8.133 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.3858, allocations: 0 / 473.4 MB, free: 8.133 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.3858, allocations: 7.875 kB / 473.4 MB, free: 8.125 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001107/0.386, allocations: 89.06 kB / 473.5 MB, free: 8.02 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.498e-05/0.386, allocations: 81.11 kB / 473.6 MB, free: 7.922 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.602e-05/0.386, allocations: 0 / 473.6 MB, free: 7.922 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.336e-05/0.3861, allocations: 7.984 kB / 473.6 MB, free: 7.914 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.304e-06/0.3861, allocations: 0 / 473.6 MB, free: 7.914 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-06/0.3861, allocations: 4 kB / 473.6 MB, free: 7.91 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.588e-05/0.3862, allocations: 87.27 kB / 473.7 MB, free: 7.824 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3862, allocations: 0 / 473.7 MB, free: 7.824 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001785/0.3864, allocations: 12 kB / 473.7 MB, free: 7.812 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (ramp.counter) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * 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.0003855/0.3868, allocations: 0.6397 MB / 474.3 MB, free: 7.141 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 8.668e-05/0.3868, allocations: 23.92 kB / 474.4 MB, free: 7.117 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.3869, allocations: 0 / 474.4 MB, free: 7.117 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.71e-07/0.3869, allocations: 4.312 kB / 474.4 MB, free: 7.113 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001865/0.3871, allocations: 25.17 kB / 474.4 MB, free: 7.09 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000295/0.3874, allocations: 102.6 kB / 474.5 MB, free: 6.953 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002314/0.3876, allocations: 0.6926 MB / 475.2 MB, free: 6.234 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 1.994e-05/0.3876, allocations: 4.031 kB / 475.2 MB, free: 6.23 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.606e-05/0.3877, allocations: 15.44 kB / 475.2 MB, free: 6.219 MB / 346.7 MB Notification: Performance of SimCode: time 3.41e-07/0.3877, allocations: 0 / 475.2 MB, free: 6.219 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0112/0.3989, allocations: 1.236 MB / 476.4 MB, free: 5.117 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001971/0.3991, allocations: 172.6 kB / 476.6 MB, free: 4.891 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.429/1.828, allocations: 0 / 476.6 MB, free: 4.891 MB / 346.7 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedRamp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedRamp.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp_res.mat does not exist to compare? outputFormat=mat