Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.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) 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(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001022/0.001022, allocations: 201.8 kB / 8.767 MB, free: 288 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.544/1.544, allocations: 225.6 MB / 234.8 MB, free: 3.266 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007745/0.0007745, allocations: 96.11 kB / 286.7 MB, free: 5.25 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.087e-05/2.09e-05, allocations: 4 kB / 343.8 MB, free: 8.164 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1069, allocations: 51.48 MB / 395.3 MB, free: 4.648 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.317/0.4239, allocations: 76.14 MB / 471.4 MB, free: 14.8 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002342/0.4242, allocations: 74.84 kB / 471.5 MB, free: 14.77 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001884/0.4261, allocations: 0.7859 MB / 472.3 MB, free: 14.22 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.4261, allocations: 0 / 472.3 MB, free: 14.22 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.176e-05/0.4261, allocations: 4 kB / 472.3 MB, free: 14.21 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.000253/0.4264, allocations: 328.8 kB / 472.6 MB, free: 13.86 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.4264, allocations: 9.109 kB / 472.6 MB, free: 13.86 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.924e-05/0.4265, allocations: 6.812 kB / 472.6 MB, free: 13.85 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001387/0.4266, allocations: 171.6 kB / 472.8 MB, free: 13.65 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.277e-05/0.4267, allocations: 0.8594 kB / 472.8 MB, free: 13.65 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.178e-05/0.4267, allocations: 5.688 kB / 472.8 MB, free: 13.64 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.022e-05/0.4267, allocations: 11.31 kB / 472.8 MB, free: 13.64 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001681/0.4269, allocations: 103.4 kB / 472.9 MB, free: 13.55 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.4269, allocations: 0 / 472.9 MB, free: 13.55 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.427, allocations: 4 kB / 472.9 MB, free: 13.55 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.725e-06/0.427, allocations: 0 / 472.9 MB, free: 13.55 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.552e-05/0.4271, allocations: 132.5 kB / 473 MB, free: 13.39 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.811e-05/0.4272, allocations: 42.84 kB / 473.1 MB, free: 13.35 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.018e-05/0.4272, allocations: 16.39 kB / 473.1 MB, free: 13.34 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.044e-05/0.4272, allocations: 0 / 473.1 MB, free: 13.34 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.334e-05/0.4272, allocations: 35.56 kB / 473.1 MB, free: 13.3 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 8.21e-07/0.4273, allocations: 0 / 473.1 MB, free: 13.3 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001156/0.4274, allocations: 55.64 kB / 473.2 MB, free: 13.24 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.337e-05/0.4274, allocations: 55.41 kB / 473.2 MB, free: 13.18 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.054e-05/0.4275, allocations: 94.27 kB / 473.3 MB, free: 13.08 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.775e-06/0.4275, allocations: 32.88 kB / 473.4 MB, free: 13.05 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.07e-05/0.4275, allocations: 85.31 kB / 473.4 MB, free: 12.96 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.293e-05/0.4275, allocations: 3.312 kB / 473.4 MB, free: 12.96 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.194e-06/0.4275, allocations: 3 kB / 473.4 MB, free: 12.96 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.482e-05/0.4276, allocations: 313.6 kB / 473.7 MB, free: 12.65 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.086e-05/0.4276, allocations: 7.312 kB / 473.8 MB, free: 12.64 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.859e-05/0.4276, allocations: 27.31 kB / 473.8 MB, free: 12.61 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.85e-05/0.4277, allocations: 9.172 kB / 473.8 MB, free: 12.6 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.4277, allocations: 3.938 kB / 473.8 MB, free: 12.6 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.362e-05/0.4277, allocations: 57.34 kB / 473.8 MB, free: 12.54 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.4278, allocations: 9.562 kB / 473.9 MB, free: 12.54 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.379e-06/0.4278, allocations: 0 / 473.9 MB, free: 12.54 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.4278, allocations: 0 / 473.9 MB, free: 12.54 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.206e-05/0.4278, allocations: 13.34 kB / 473.9 MB, free: 12.52 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.4278, allocations: 7.953 kB / 473.9 MB, free: 12.52 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.019e-05/0.4279, allocations: 0 / 473.9 MB, free: 12.52 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.168e-06/0.4279, allocations: 0 / 473.9 MB, free: 12.52 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 (step.counter,$CLKPRE.step.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 5.509e-05/0.4279, allocations: 109.9 kB / 474 MB, free: 12.4 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 5.718e-05/0.428, allocations: 53.03 kB / 474 MB, free: 12.35 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.298e-06/0.428, allocations: 11.84 kB / 474.1 MB, free: 12.34 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.192e-05/0.4281, allocations: 8.297 kB / 474.1 MB, free: 12.34 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.4281, allocations: 0 / 474.1 MB, free: 12.34 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.828e-06/0.4281, allocations: 5.125 kB / 474.1 MB, free: 12.33 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.4281, allocations: 0 / 474.1 MB, free: 12.33 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.656e-05/0.4281, allocations: 142 kB / 474.2 MB, free: 12.17 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.4281, allocations: 0 / 474.2 MB, free: 12.17 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.916e-05/0.4282, allocations: 10.81 kB / 474.2 MB, free: 12.16 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.492e-06/0.4282, allocations: 0 / 474.2 MB, free: 12.16 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.652e-06/0.4282, allocations: 0 / 474.2 MB, free: 12.16 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.4282, allocations: 4 kB / 474.2 MB, free: 12.16 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.4282, allocations: 3.953 kB / 474.2 MB, free: 12.15 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.095e-05/0.4283, allocations: 72.44 kB / 474.3 MB, free: 12.07 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.838e-05/0.4283, allocations: 82.56 kB / 474.4 MB, free: 11.98 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.531e-05/0.4284, allocations: 7.938 kB / 474.4 MB, free: 11.97 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.552e-05/0.4284, allocations: 5.359 kB / 474.4 MB, free: 11.96 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.284e-06/0.4284, allocations: 1.688 kB / 474.4 MB, free: 11.96 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.658e-06/0.4284, allocations: 1.219 kB / 474.4 MB, free: 11.96 MB / 346.7 MB Notification: Performance of sorting global known variables: time 2.312e-05/0.4285, allocations: 86.98 kB / 474.5 MB, free: 11.88 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4285, allocations: 0 / 474.5 MB, free: 11.88 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001976/0.4287, allocations: 4 kB / 474.5 MB, free: 11.88 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 (step.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.0002908/0.429, allocations: 0.6125 MB / 475.1 MB, free: 11.25 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 6.508e-05/0.429, allocations: 21.02 kB / 475.1 MB, free: 11.24 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.429, allocations: 0 / 475.1 MB, free: 11.24 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.91e-07/0.4291, allocations: 0 / 475.1 MB, free: 11.24 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001742/0.4292, allocations: 17.88 kB / 475.1 MB, free: 11.23 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002678/0.4295, allocations: 101.8 kB / 475.2 MB, free: 11.11 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001086/0.4296, allocations: 0.6834 MB / 475.9 MB, free: 10.4 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 1.692e-05/0.4297, allocations: 0 / 475.9 MB, free: 10.4 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.247e-05/0.4297, allocations: 16.5 kB / 475.9 MB, free: 10.39 MB / 346.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4297, allocations: 0 / 475.9 MB, free: 10.39 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02067/0.4504, allocations: 0.8302 MB / 476.8 MB, free: 9.922 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001762/0.4506, allocations: 153.9 kB / 476.9 MB, free: 9.73 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.439/1.89, allocations: 0 / 476.9 MB, free: 9.73 MB / 346.7 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedStep_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedStep.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep_res.mat does not exist to compare? outputFormat=mat