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.001169/0.001169, allocations: 180.9 kB / 16.39 MB, free: 5.762 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.307/1.307, allocations: 223.2 MB / 240.3 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008985/0.0008986, allocations: 93.59 kB / 291.5 MB, free: 10.92 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003235/0.0003235, allocations: 19.92 kB / 351.2 MB, free: 15.21 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.293/0.2933, allocations: 50.4 MB / 401.6 MB, free: 32.58 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1043/0.3977, allocations: 76.09 MB / 477.7 MB, free: 4.391 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002573/0.398, allocations: 75.95 kB / 477.7 MB, free: 4.316 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002486/0.4005, allocations: 0.855 MB / 478.6 MB, free: 3.469 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.545e-06/0.4005, allocations: 0 / 478.6 MB, free: 3.469 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.185e-05/0.4005, allocations: 0 / 478.6 MB, free: 3.469 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.0004666/0.401, allocations: 355.2 kB / 478.9 MB, free: 3.074 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.568e-05/0.401, allocations: 16.02 kB / 479 MB, free: 3.059 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.594e-05/0.4011, allocations: 38.56 kB / 479 MB, free: 3.012 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.942e-05/0.4011, allocations: 10.89 kB / 479 MB, free: 3.004 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002095/0.4014, allocations: 175 kB / 479.2 MB, free: 2.793 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.607e-05/0.4014, allocations: 7.984 kB / 479.2 MB, free: 2.785 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.338e-05/0.4014, allocations: 4 kB / 479.2 MB, free: 2.781 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005721/0.402, allocations: 163.2 kB / 479.4 MB, free: 2.609 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.402, allocations: 3.062 kB / 479.4 MB, free: 2.609 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.402, allocations: 0 / 479.4 MB, free: 2.609 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.402, allocations: 3.953 kB / 479.4 MB, free: 2.605 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002454/0.4023, allocations: 51.94 kB / 479.4 MB, free: 2.555 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001545/0.4024, allocations: 157.7 kB / 479.6 MB, free: 2.352 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00032/0.4028, allocations: 98.44 kB / 479.7 MB, free: 2.246 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.246e-05/0.4028, allocations: 0 / 479.7 MB, free: 2.246 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.26e-05/0.4028, allocations: 30.56 kB / 479.7 MB, free: 2.207 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 8.11e-07/0.4028, allocations: 0 / 479.7 MB, free: 2.207 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0004802/0.4033, allocations: 125.6 kB / 479.8 MB, free: 2.078 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.223e-05/0.4034, allocations: 59.41 kB / 479.9 MB, free: 2.008 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.407e-05/0.4035, allocations: 97 kB / 480 MB, free: 1.906 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.497e-05/0.4035, allocations: 25.7 kB / 480 MB, free: 1.875 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.148e-05/0.4036, allocations: 88.12 kB / 480.1 MB, free: 1.785 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.54e-05/0.4036, allocations: 4 kB / 480.1 MB, free: 1.781 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.715e-06/0.4036, allocations: 3.938 kB / 480.1 MB, free: 1.777 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000129/0.4037, allocations: 318.8 kB / 480.4 MB, free: 1.457 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.44e-05/0.4038, allocations: 8 kB / 480.4 MB, free: 1.449 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.193e-05/0.4038, allocations: 27.42 kB / 480.4 MB, free: 1.41 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.642e-05/0.4038, allocations: 12 kB / 480.4 MB, free: 1.398 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.4038, allocations: 0 / 480.4 MB, free: 1.398 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.313e-05/0.4039, allocations: 61.62 kB / 480.5 MB, free: 1.332 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.4039, allocations: 4 kB / 480.5 MB, free: 1.328 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.404, allocations: 0 / 480.5 MB, free: 1.328 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.404, allocations: 4 kB / 480.5 MB, free: 1.324 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.119e-05/0.404, allocations: 11.94 kB / 480.5 MB, free: 1.312 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.854e-06/0.4041, allocations: 4.125 kB / 480.5 MB, free: 1.309 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.33e-05/0.4041, allocations: 11.78 kB / 480.5 MB, free: 1.297 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.43e-06/0.4041, allocations: 4 kB / 480.5 MB, free: 1.293 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 () * Number of clocked states: 1 (ramp.counter) * 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 0.0001169/0.4042, allocations: 117.8 kB / 480.7 MB, free: 1.168 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000279/0.4045, allocations: 89.62 kB / 480.7 MB, free: 1.074 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.246e-05/0.4045, allocations: 7.906 kB / 480.8 MB, free: 1.062 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.4046, allocations: 3.938 kB / 480.8 MB, free: 1.059 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.4046, allocations: 0 / 480.8 MB, free: 1.059 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.4046, allocations: 240 / 480.8 MB, free: 1.059 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001265/0.4047, allocations: 169.6 kB / 480.9 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.4047, allocations: 0 / 480.9 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001019/0.4048, allocations: 19.95 kB / 480.9 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.4048, allocations: 4 kB / 480.9 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.4048, allocations: 0 / 480.9 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.4049, allocations: 4.125 kB / 481 MB, free: 0.8164 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.4049, allocations: 0 / 481 MB, free: 0.8164 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003181/0.4052, allocations: 124.9 kB / 481.1 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.254e-05/0.4052, allocations: 81.11 kB / 481.2 MB, free: 0.5781 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.836e-05/0.4053, allocations: 0 / 481.2 MB, free: 0.5781 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.312e-05/0.4053, allocations: 11.98 kB / 481.2 MB, free: 0.5664 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.585e-06/0.4053, allocations: 0 / 481.2 MB, free: 0.5664 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.949e-06/0.4054, allocations: 0 / 481.2 MB, free: 0.5664 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.952e-05/0.4054, allocations: 87.27 kB / 481.2 MB, free: 492 kB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4054, allocations: 3.938 kB / 481.3 MB, free: 488 kB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001798/0.4056, allocations: 8 kB / 481.3 MB, free: 480 kB / 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 () * Number of clocked states: 1 (ramp.counter) * 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.0008684/0.4065, allocations: 0.6943 MB / 482 MB, free: 15.75 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001934/0.4067, allocations: 43.91 kB / 482 MB, free: 15.7 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.4067, allocations: 0 / 482 MB, free: 15.7 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.52e-07/0.4067, allocations: 0 / 482 MB, free: 15.7 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003652/0.4071, allocations: 46.91 kB / 482 MB, free: 15.66 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009167/0.408, allocations: 0.8526 MB / 482.9 MB, free: 14.74 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003345/0.4084, allocations: 0.6848 MB / 483.6 MB, free: 14.03 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.895e-05/0.4084, allocations: 4 kB / 483.6 MB, free: 14.03 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.681e-05/0.4085, allocations: 11.44 kB / 483.6 MB, free: 14.02 MB / 362.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4085, allocations: 0 / 483.6 MB, free: 14.02 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01538/0.4238, allocations: 1.241 MB / 484.8 MB, free: 12.93 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002078/0.4241, allocations: 195.1 kB / 485 MB, free: 12.69 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.47/1.894, allocations: 0 / 485 MB, free: 12.69 MB / 362.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