Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.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.IntegerSignals.TickBasedStep,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001885/0.001885, allocations: 180.2 kB / 16.39 MB, free: 5.766 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.439/1.439, 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.0009626/0.0009625, allocations: 86 kB / 291.5 MB, free: 10.91 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002574/0.0002574, allocations: 4 kB / 351.2 MB, free: 15.2 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2911/0.2914, allocations: 50.41 MB / 401.6 MB, free: 32.57 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.104/0.3954, allocations: 76.08 MB / 477.7 MB, free: 4.398 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002481/0.3957, allocations: 71.95 kB / 477.7 MB, free: 4.328 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002011/0.3978, allocations: 0.7805 MB / 478.5 MB, free: 3.551 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.3978, allocations: 0 / 478.5 MB, free: 3.551 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.013e-05/0.3978, allocations: 3.938 kB / 478.5 MB, free: 3.547 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.0003971/0.3982, allocations: 346.5 kB / 478.9 MB, free: 3.164 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.24e-05/0.3983, allocations: 8.031 kB / 478.9 MB, free: 3.156 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.024e-05/0.3983, allocations: 37.69 kB / 478.9 MB, free: 3.113 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.847e-05/0.3984, allocations: 7.953 kB / 478.9 MB, free: 3.105 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001898/0.3985, allocations: 175 kB / 479.1 MB, free: 2.895 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.838e-05/0.3986, allocations: 0 / 479.1 MB, free: 2.895 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.399e-05/0.3986, allocations: 4 kB / 479.1 MB, free: 2.891 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003599/0.399, allocations: 121.8 kB / 479.2 MB, free: 2.762 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.399, allocations: 0 / 479.2 MB, free: 2.762 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.456e-06/0.399, allocations: 0 / 479.2 MB, free: 2.762 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.399, allocations: 3.953 kB / 479.2 MB, free: 2.758 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001124/0.3991, allocations: 31.91 kB / 479.2 MB, free: 2.727 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001604/0.3993, allocations: 157.6 kB / 479.4 MB, free: 2.523 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001622/0.3995, allocations: 63.08 kB / 479.5 MB, free: 2.453 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.303e-06/0.3995, allocations: 0 / 479.5 MB, free: 2.453 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.516e-05/0.3995, allocations: 34.56 kB / 479.5 MB, free: 2.41 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 7.62e-07/0.3995, allocations: 0 / 479.5 MB, free: 2.41 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002769/0.3998, allocations: 81.73 kB / 479.6 MB, free: 2.324 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.56e-05/0.3999, allocations: 59.41 kB / 479.6 MB, free: 2.254 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.847e-05/0.3999, allocations: 96.98 kB / 479.7 MB, free: 2.152 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.347e-05/0.4, allocations: 29.7 kB / 479.7 MB, free: 2.117 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.579e-05/0.4, allocations: 84.14 kB / 479.8 MB, free: 2.031 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.376e-05/0.4, allocations: 7.906 kB / 479.8 MB, free: 2.023 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.196e-06/0.4001, allocations: 0 / 479.8 MB, free: 2.023 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001294/0.4002, allocations: 322.8 kB / 480.2 MB, free: 1.699 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.28e-05/0.4002, allocations: 4 kB / 480.2 MB, free: 1.695 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.141e-05/0.4002, allocations: 27.44 kB / 480.2 MB, free: 1.656 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.759e-05/0.4003, allocations: 19.92 kB / 480.2 MB, free: 1.637 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.4003, allocations: 0 / 480.2 MB, free: 1.637 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.659e-05/0.4004, allocations: 57.64 kB / 480.3 MB, free: 1.574 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.4004, allocations: 4 kB / 480.3 MB, free: 1.57 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-06/0.4004, allocations: 0 / 480.3 MB, free: 1.57 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.4004, allocations: 7.984 kB / 480.3 MB, free: 1.562 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.721e-05/0.4005, allocations: 4 kB / 480.3 MB, free: 1.559 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.4005, allocations: 8.125 kB / 480.3 MB, free: 1.551 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.773e-05/0.4005, allocations: 0 / 480.3 MB, free: 1.551 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.135e-06/0.4005, allocations: 4 kB / 480.3 MB, free: 1.547 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 () * Number of clocked states: 1 (step.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 8.673e-05/0.4006, allocations: 125.7 kB / 480.4 MB, free: 1.414 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001419/0.4008, allocations: 65.52 kB / 480.5 MB, free: 1.344 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.206e-05/0.4008, allocations: 12.14 kB / 480.5 MB, free: 1.328 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.125e-06/0.4008, allocations: 3.984 kB / 480.5 MB, free: 1.324 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.4008, allocations: 0 / 480.5 MB, free: 1.324 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.4009, allocations: 3.984 kB / 480.5 MB, free: 1.32 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001044/0.401, allocations: 161.6 kB / 480.7 MB, free: 1.113 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.401, allocations: 0 / 480.7 MB, free: 1.113 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.857e-05/0.401, allocations: 11.98 kB / 480.7 MB, free: 1.102 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.401, allocations: 0 / 480.7 MB, free: 1.102 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.723e-06/0.4011, allocations: 0 / 480.7 MB, free: 1.102 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.4011, allocations: 4 kB / 480.7 MB, free: 1.098 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.4011, allocations: 0 / 480.7 MB, free: 1.098 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001677/0.4012, allocations: 96.98 kB / 480.8 MB, free: 0.9844 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.684e-05/0.4013, allocations: 85.02 kB / 480.8 MB, free: 0.8828 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.675e-05/0.4013, allocations: 4 kB / 480.8 MB, free: 0.8789 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.212e-05/0.4014, allocations: 4 kB / 480.9 MB, free: 0.875 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.979e-06/0.4014, allocations: 4 kB / 480.9 MB, free: 0.8711 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.038e-06/0.4014, allocations: 384 / 480.9 MB, free: 0.8711 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.089e-05/0.4014, allocations: 87.27 kB / 480.9 MB, free: 0.7852 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4014, allocations: 0 / 480.9 MB, free: 0.7852 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001717/0.4016, allocations: 8 kB / 480.9 MB, free: 0.7773 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 () * Number of clocked states: 1 (step.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.0005759/0.4022, allocations: 0.6514 MB / 481.6 MB, free: 100 kB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001144/0.4023, allocations: 27.98 kB / 481.6 MB, free: 72 kB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.4023, allocations: 0 / 481.6 MB, free: 72 kB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.61e-07/0.4023, allocations: 0 / 481.6 MB, free: 72 kB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002534/0.4026, allocations: 30.88 kB / 481.7 MB, free: 44 kB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007954/0.4034, allocations: 0.8486 MB / 482.5 MB, free: 15.13 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002774/0.4037, allocations: 0.6887 MB / 483.2 MB, free: 14.41 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.886e-05/0.4037, allocations: 4 kB / 483.2 MB, free: 14.41 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.511e-05/0.4038, allocations: 11.44 kB / 483.2 MB, free: 14.4 MB / 362.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4038, allocations: 0 / 483.2 MB, free: 14.4 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01307/0.4168, allocations: 1.129 MB / 484.3 MB, free: 13.44 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002676/0.4172, allocations: 199.7 kB / 484.5 MB, free: 13.2 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.587/2.004, allocations: 0 / 484.5 MB, free: 13.2 MB / 362.7 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_TickBasedStep_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_TickBasedStep.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep_res.mat does not exist to compare? outputFormat=mat