Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.IntegerSignals.TickBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_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.002306/0.002306, allocations: 197.2 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.435/1.435, allocations: 225.4 MB / 240.1 MB, free: 15.02 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001022/0.001022, allocations: 91.81 kB / 292.1 MB, free: 5.965 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.827e-05/4.837e-05, allocations: 4 kB / 350.6 MB, free: 2.398 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.1071, allocations: 51.48 MB / 402.1 MB, free: 14.87 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3404/0.4475, allocations: 76.8 MB / 478.9 MB, free: 12.54 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002509/0.4478, allocations: 73.59 kB / 479 MB, free: 12.49 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002002/0.4498, allocations: 0.7855 MB / 479.8 MB, free: 11.8 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.4498, allocations: 0 / 479.8 MB, free: 11.8 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.066e-05/0.4498, allocations: 0.7812 kB / 479.8 MB, free: 11.8 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.0002622/0.4501, allocations: 339.9 kB / 480.1 MB, free: 11.43 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.783e-05/0.4502, allocations: 8.875 kB / 480.1 MB, free: 11.42 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.303e-05/0.4502, allocations: 32.3 kB / 480.2 MB, free: 11.38 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.763e-05/0.4502, allocations: 7.281 kB / 480.2 MB, free: 11.38 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001431/0.4504, allocations: 173.2 kB / 480.3 MB, free: 11.18 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.431e-05/0.4504, allocations: 4.859 kB / 480.3 MB, free: 11.17 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.168e-05/0.4504, allocations: 3.188 kB / 480.3 MB, free: 11.17 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002073/0.4507, allocations: 101.2 kB / 480.4 MB, free: 11.08 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.4507, allocations: 5.062 kB / 480.4 MB, free: 11.08 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.707e-06/0.4507, allocations: 0 / 480.4 MB, free: 11.08 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.4507, allocations: 0 / 480.4 MB, free: 11.08 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.334e-05/0.4507, allocations: 7.438 kB / 480.5 MB, free: 11.07 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001042/0.4509, allocations: 156.3 kB / 480.6 MB, free: 10.88 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.796e-05/0.451, allocations: 49.12 kB / 480.7 MB, free: 10.83 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.811e-05/0.451, allocations: 21.39 kB / 480.7 MB, free: 10.81 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.215e-05/0.451, allocations: 0 / 480.7 MB, free: 10.81 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.893e-05/0.451, allocations: 35.45 kB / 480.7 MB, free: 10.77 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/0.4511, allocations: 4.594 kB / 480.7 MB, free: 10.76 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001294/0.4512, allocations: 51.48 kB / 480.8 MB, free: 10.71 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.251e-05/0.4512, allocations: 58.34 kB / 480.8 MB, free: 10.65 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.859e-05/0.4513, allocations: 99.98 kB / 480.9 MB, free: 10.55 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.377e-06/0.4513, allocations: 29.7 kB / 480.9 MB, free: 10.51 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.076e-05/0.4513, allocations: 82.77 kB / 481 MB, free: 10.43 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.265e-05/0.4514, allocations: 0 / 481 MB, free: 10.43 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.078e-06/0.4514, allocations: 0.5625 kB / 481 MB, free: 10.43 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.406e-05/0.4514, allocations: 321.5 kB / 481.3 MB, free: 10.11 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.188e-05/0.4515, allocations: 7 kB / 481.3 MB, free: 10.11 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.268e-05/0.4515, allocations: 31.17 kB / 481.4 MB, free: 10.07 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.022e-05/0.4515, allocations: 8 kB / 481.4 MB, free: 10.06 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.4515, allocations: 0 / 481.4 MB, free: 10.06 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.096e-05/0.4516, allocations: 66.47 kB / 481.5 MB, free: 9.996 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.4516, allocations: 4 kB / 481.5 MB, free: 9.992 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.4516, allocations: 7.953 kB / 481.5 MB, free: 9.984 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.4516, allocations: 4.125 kB / 481.5 MB, free: 9.98 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.987e-05/0.4517, allocations: 12.62 kB / 481.5 MB, free: 9.969 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.4517, allocations: 0 / 481.5 MB, free: 9.969 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.147e-05/0.4517, allocations: 4 kB / 481.5 MB, free: 9.965 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.35e-06/0.4518, allocations: 0.8906 kB / 481.5 MB, free: 9.965 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: 5 (step.counter,$CLKPRE.step.counter,step.y,assignClock1.y,assignClock1.u) * 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 4.626e-05/0.4518, allocations: 108.4 kB / 481.6 MB, free: 9.855 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.581e-05/0.4519, allocations: 45 kB / 481.6 MB, free: 9.809 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.888e-05/0.4519, allocations: 7.469 kB / 481.6 MB, free: 9.805 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.4519, allocations: 8.562 kB / 481.6 MB, free: 9.797 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.4519, allocations: 11.94 kB / 481.7 MB, free: 9.785 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.4519, allocations: 3.469 kB / 481.7 MB, free: 9.785 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.352e-05/0.452, allocations: 156.8 kB / 481.8 MB, free: 9.586 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.452, allocations: 1.062 kB / 481.8 MB, free: 9.586 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.93e-05/0.4521, allocations: 11.98 kB / 481.8 MB, free: 9.574 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.4521, allocations: 0 / 481.8 MB, free: 9.574 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.622e-06/0.4521, allocations: 0 / 481.8 MB, free: 9.574 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.4521, allocations: 0 / 481.8 MB, free: 9.574 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.4521, allocations: 3.953 kB / 481.8 MB, free: 9.57 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.777e-05/0.4522, allocations: 83.41 kB / 481.9 MB, free: 9.48 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.234e-05/0.4522, allocations: 77.11 kB / 482 MB, free: 9.387 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.622e-05/0.4523, allocations: 5.25 kB / 482 MB, free: 9.383 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.623e-05/0.4523, allocations: 7.984 kB / 482 MB, free: 9.375 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.907e-06/0.4523, allocations: 0 / 482 MB, free: 9.375 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.171e-06/0.4523, allocations: 5.125 kB / 482 MB, free: 9.371 MB / 346.7 MB Notification: Performance of sorting global known variables: time 2.511e-05/0.4523, allocations: 82.72 kB / 482.1 MB, free: 9.293 MB / 346.7 MB Notification: Performance of sort global known variables: time 9.12e-07/0.4524, allocations: 0 / 482.1 MB, free: 9.293 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002072/0.4526, allocations: 7.938 kB / 482.1 MB, free: 9.285 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: 4 (assignClock1.u,assignClock1.y,step.y,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.0002931/0.4529, allocations: 0.6268 MB / 482.7 MB, free: 8.641 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 8.327e-05/0.453, allocations: 26.19 kB / 482.7 MB, free: 8.621 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.453, allocations: 0 / 482.7 MB, free: 8.621 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 8.01e-07/0.453, allocations: 0 / 482.7 MB, free: 8.621 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001887/0.4532, allocations: 21 kB / 482.8 MB, free: 8.605 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002691/0.4534, allocations: 111.9 kB / 482.9 MB, free: 8.469 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001021/0.4536, allocations: 0.6809 MB / 483.6 MB, free: 7.762 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.021e-05/0.4536, allocations: 3.984 kB / 483.6 MB, free: 7.758 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.358e-05/0.4536, allocations: 20 kB / 483.6 MB, free: 7.742 MB / 346.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4536, allocations: 0 / 483.6 MB, free: 7.742 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01134/0.465, allocations: 1.128 MB / 484.7 MB, free: 6.848 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000142/0.4652, allocations: 165.3 kB / 484.9 MB, free: 6.629 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.546/2.011, allocations: 0 / 484.9 MB, free: 6.629 MB / 346.7 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_TickBasedStep_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_TickBasedStep.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep_res.mat does not exist to compare? outputFormat=mat