Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.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.BooleanSignals.AssignClock,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClock",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClock",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.001022/0.001022, allocations: 176.4 kB / 8.346 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.518/1.518, allocations: 221.5 MB / 230.3 MB, free: 7.586 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.0009137/0.0009137, allocations: 90.09 kB / 281.2 MB, free: 5.328 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.286e-05/2.325e-05, allocations: 0 / 337.1 MB, free: 9.934 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1128/0.1128, allocations: 50.42 MB / 387.6 MB, free: 7.469 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3548/0.4677, allocations: 75.85 MB / 463.4 MB, free: 2.867 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002259/0.4679, allocations: 75.95 kB / 463.5 MB, free: 2.793 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00307/0.471, allocations: 1.244 MB / 464.7 MB, free: 1.551 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.4711, allocations: 3.938 kB / 464.7 MB, free: 1.547 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.486e-06/0.4711, allocations: 0 / 464.7 MB, free: 1.547 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0002991/0.4714, allocations: 347.2 kB / 465.1 MB, free: 1.164 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.4714, allocations: 8.031 kB / 465.1 MB, free: 1.156 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.621e-05/0.4715, allocations: 11.86 kB / 465.1 MB, free: 1.145 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001893/0.4717, allocations: 194.8 kB / 465.3 MB, free: 0.9141 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/0.4717, allocations: 4 kB / 465.3 MB, free: 0.9102 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.245e-05/0.4717, allocations: 0 / 465.3 MB, free: 0.9102 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.739e-05/0.4718, allocations: 20 kB / 465.3 MB, free: 0.8906 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002175/0.472, allocations: 111.8 kB / 465.4 MB, free: 0.7695 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.472, allocations: 3.938 kB / 465.4 MB, free: 0.7656 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.4721, allocations: 7.953 kB / 465.4 MB, free: 0.7578 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-06/0.4721, allocations: 0.75 kB / 465.4 MB, free: 0.7578 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000126/0.4722, allocations: 142.2 kB / 465.6 MB, free: 0.582 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000122/0.4723, allocations: 61.53 kB / 465.6 MB, free: 0.5156 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.622e-05/0.4724, allocations: 32.86 kB / 465.7 MB, free: 492 kB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.053e-05/0.4724, allocations: 0 / 465.7 MB, free: 492 kB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.631e-05/0.4725, allocations: 34.56 kB / 465.7 MB, free: 448 kB / 330.7 MB Notification: Performance of pre-optimization done (n=8): time 8.72e-07/0.4725, allocations: 0 / 465.7 MB, free: 448 kB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001744/0.4726, allocations: 73.72 kB / 465.8 MB, free: 368 kB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.269e-05/0.4727, allocations: 55.34 kB / 465.8 MB, free: 300 kB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001127/0.4728, allocations: 121.7 kB / 465.9 MB, free: 172 kB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.277e-05/0.4728, allocations: 29.64 kB / 466 MB, free: 136 kB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.01e-05/0.4729, allocations: 80.14 kB / 466 MB, free: 52 kB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.386e-05/0.4729, allocations: 7.984 kB / 466.1 MB, free: 44 kB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.286e-06/0.4729, allocations: 8 kB / 466.1 MB, free: 36 kB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.473, allocations: 314.8 kB / 466.4 MB, free: 15.72 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.594e-05/0.4731, allocations: 8 kB / 466.4 MB, free: 15.71 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.125e-05/0.4731, allocations: 54.86 kB / 466.4 MB, free: 15.63 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.154e-05/0.4731, allocations: 19.94 kB / 466.5 MB, free: 15.61 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.4732, allocations: 0 / 466.5 MB, free: 15.61 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001021/0.4733, allocations: 73.47 kB / 466.5 MB, free: 15.54 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.4733, allocations: 13.5 kB / 466.5 MB, free: 15.52 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.4733, allocations: 0 / 466.5 MB, free: 15.52 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.4733, allocations: 7.984 kB / 466.5 MB, free: 15.52 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.881e-05/0.4733, allocations: 4 kB / 466.5 MB, free: 15.51 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.4734, allocations: 3.938 kB / 466.6 MB, free: 15.51 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.134e-05/0.4734, allocations: 4 kB / 466.6 MB, free: 15.5 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.023e-05/0.4734, allocations: 8 kB / 466.6 MB, free: 15.5 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 9 (integerConstant.y,xor.y,xor.u2,xor.u1,unitDelay1.y,unitDelay1.u,$CLKPRE.unitDelay1.u,assignClock1.y,assignClock1.u) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.133e-05/0.4735, allocations: 111.8 kB / 466.7 MB, free: 15.38 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.692e-05/0.4736, allocations: 69.53 kB / 466.7 MB, free: 15.31 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.528e-06/0.4736, allocations: 7.906 kB / 466.7 MB, free: 15.3 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.105e-05/0.4736, allocations: 12.62 kB / 466.8 MB, free: 15.29 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.4736, allocations: 0 / 466.8 MB, free: 15.29 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.4736, allocations: 0 / 466.8 MB, free: 15.29 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.226e-06/0.4737, allocations: 11.94 kB / 466.8 MB, free: 15.28 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.637e-05/0.4738, allocations: 138.2 kB / 466.9 MB, free: 15.11 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.4738, allocations: 0 / 466.9 MB, free: 15.11 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.256e-05/0.4738, allocations: 4 kB / 466.9 MB, free: 15.11 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.4738, allocations: 0 / 466.9 MB, free: 15.11 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.104e-06/0.4738, allocations: 0 / 466.9 MB, free: 15.11 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.4738, allocations: 3.125 kB / 466.9 MB, free: 15.11 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.4738, allocations: 4 kB / 466.9 MB, free: 15.1 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001059/0.4739, allocations: 96.97 kB / 467 MB, free: 14.99 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.72e-05/0.474, allocations: 97 kB / 467.1 MB, free: 14.88 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.583e-05/0.474, allocations: 0 / 467.1 MB, free: 14.88 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.636e-05/0.4741, allocations: 3.984 kB / 467.1 MB, free: 14.87 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.967e-06/0.4741, allocations: 4.125 kB / 467.1 MB, free: 14.87 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.592e-06/0.4741, allocations: 11.92 kB / 467.1 MB, free: 14.86 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.511e-05/0.4741, allocations: 100.5 kB / 467.2 MB, free: 14.76 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4741, allocations: 0 / 467.2 MB, free: 14.76 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000186/0.4743, allocations: 4 kB / 467.2 MB, free: 14.75 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: 8 (assignClock1.u,assignClock1.y,unitDelay1.u,unitDelay1.y,xor.u1,xor.u2,xor.y,integerConstant.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0004119/0.4748, allocations: 0.6517 MB / 467.9 MB, free: 14.07 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 9.393e-05/0.4749, allocations: 40.25 kB / 467.9 MB, free: 14.03 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.4749, allocations: 0 / 467.9 MB, free: 14.03 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.693e-06/0.4749, allocations: 0 / 467.9 MB, free: 14.03 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002334/0.4751, allocations: 35.95 kB / 468 MB, free: 14 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003393/0.4755, allocations: 142 kB / 468.1 MB, free: 13.82 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000252/0.4757, allocations: 0.7002 MB / 468.8 MB, free: 13.09 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.241e-05/0.4758, allocations: 256 / 468.8 MB, free: 13.09 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.947e-05/0.4758, allocations: 23.42 kB / 468.8 MB, free: 13.07 MB / 346.7 MB Notification: Performance of SimCode: time 2.6e-07/0.4758, allocations: 0 / 468.8 MB, free: 13.07 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02151/0.4973, allocations: 1.13 MB / 469.9 MB, free: 11.95 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003341/0.4978, allocations: 160.8 kB / 470.1 MB, free: 11.76 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.464/1.962, allocations: 0 / 470.1 MB, free: 11.76 MB / 346.7 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClock_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClock.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock_res.mat does not exist to compare? outputFormat=mat