Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.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.BooleanSignals.AssignClock,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClock",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001029/0.001029, allocations: 198.3 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.211/1.211, allocations: 227.2 MB / 245 MB, free: 7.617 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008044/0.0008044, allocations: 97.55 kB / 297.2 MB, free: 6.18 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002071/0.000207, allocations: 11.98 kB / 358 MB, free: 9.422 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.182/0.1822, allocations: 51.48 MB / 409.5 MB, free: 26.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08393/0.2662, allocations: 77.39 MB / 486.9 MB, free: 13.19 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002426/0.2665, allocations: 75.95 kB / 487 MB, free: 13.12 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002952/0.2694, allocations: 1.249 MB / 488.2 MB, free: 11.87 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.664e-06/0.2695, allocations: 0.9375 kB / 488.2 MB, free: 11.87 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.556e-06/0.2695, allocations: 0 / 488.2 MB, free: 11.87 MB / 362.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.0002965/0.2698, allocations: 360.2 kB / 488.6 MB, free: 11.47 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.2698, allocations: 12.03 kB / 488.6 MB, free: 11.46 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.212e-05/0.2699, allocations: 38.56 kB / 488.6 MB, free: 11.41 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.589e-05/0.2699, allocations: 7.906 kB / 488.6 MB, free: 11.41 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001559/0.2701, allocations: 186.9 kB / 488.8 MB, free: 11.18 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.388e-06/0.2701, allocations: 4 kB / 488.8 MB, free: 11.18 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.304e-05/0.2701, allocations: 7.953 kB / 488.8 MB, free: 11.17 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002534/0.2704, allocations: 125.8 kB / 488.9 MB, free: 11.04 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.153e-06/0.2704, allocations: 4 kB / 488.9 MB, free: 11.04 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.2704, allocations: 4 kB / 489 MB, free: 11.03 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.2704, allocations: 0 / 489 MB, free: 11.03 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.006e-05/0.2704, allocations: 19.92 kB / 489 MB, free: 11.01 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001239/0.2706, allocations: 169.6 kB / 489.1 MB, free: 10.8 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001138/0.2707, allocations: 66.7 kB / 489.2 MB, free: 10.72 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.137e-05/0.2707, allocations: 7.953 kB / 489.2 MB, free: 10.71 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.316e-05/0.2707, allocations: 34.56 kB / 489.2 MB, free: 10.67 MB / 362.7 MB Notification: Performance of pre-optimization done (n=8): time 9.72e-07/0.2708, allocations: 3.938 kB / 489.2 MB, free: 10.67 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001723/0.2709, allocations: 93.7 kB / 489.3 MB, free: 10.57 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.388e-05/0.271, allocations: 59.41 kB / 489.4 MB, free: 10.5 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.238e-05/0.2711, allocations: 117 kB / 489.5 MB, free: 10.38 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.178e-05/0.2711, allocations: 25.7 kB / 489.5 MB, free: 10.35 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.807e-05/0.2711, allocations: 84.14 kB / 489.6 MB, free: 10.26 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.295e-05/0.2712, allocations: 11.91 kB / 489.6 MB, free: 10.25 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.038e-06/0.2712, allocations: 4 kB / 489.6 MB, free: 10.25 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.033e-05/0.2713, allocations: 314.8 kB / 489.9 MB, free: 9.93 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.974e-05/0.2713, allocations: 12 kB / 490 MB, free: 9.918 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.6e-05/0.2713, allocations: 58.8 kB / 490 MB, free: 9.836 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.962e-05/0.2714, allocations: 16 kB / 490 MB, free: 9.82 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.2714, allocations: 0 / 490 MB, free: 9.82 MB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001196/0.2715, allocations: 89.66 kB / 490.1 MB, free: 9.727 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.2715, allocations: 14.45 kB / 490.1 MB, free: 9.715 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.2715, allocations: 0 / 490.1 MB, free: 9.715 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.2716, allocations: 4 kB / 490.1 MB, free: 9.711 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.05e-05/0.2716, allocations: 7.984 kB / 490.1 MB, free: 9.703 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.2716, allocations: 3.938 kB / 490.1 MB, free: 9.699 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.316e-05/0.2716, allocations: 7.938 kB / 490.2 MB, free: 9.691 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.049e-05/0.2717, allocations: 12 kB / 490.2 MB, free: 9.68 MB / 362.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 () * Number of clocked states: 1 (unitDelay1.u) * 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.75e-05/0.2717, allocations: 123.8 kB / 490.3 MB, free: 9.551 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.545e-05/0.2718, allocations: 69.59 kB / 490.4 MB, free: 9.477 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.329e-05/0.2719, allocations: 12.33 kB / 490.4 MB, free: 9.461 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.2719, allocations: 4 kB / 490.4 MB, free: 9.457 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.2719, allocations: 0 / 490.4 MB, free: 9.457 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.2719, allocations: 3.984 kB / 490.4 MB, free: 9.453 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001089/0.272, allocations: 165.7 kB / 490.5 MB, free: 9.242 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.272, allocations: 3.938 kB / 490.5 MB, free: 9.238 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.004e-05/0.272, allocations: 0 / 490.5 MB, free: 9.238 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.272, allocations: 4 kB / 490.5 MB, free: 9.234 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.192e-06/0.272, allocations: 0 / 490.5 MB, free: 9.234 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.2721, allocations: 7.953 kB / 490.5 MB, free: 9.227 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.2721, allocations: 0 / 490.5 MB, free: 9.227 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001142/0.2722, allocations: 105 kB / 490.7 MB, free: 9.105 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.449e-05/0.2723, allocations: 93 kB / 490.7 MB, free: 8.996 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.417e-05/0.2723, allocations: 192 / 490.7 MB, free: 8.996 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.448e-05/0.2723, allocations: 0 / 490.7 MB, free: 8.996 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.717e-06/0.2723, allocations: 7.891 kB / 490.8 MB, free: 8.988 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.23e-06/0.2723, allocations: 4 kB / 490.8 MB, free: 8.984 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.424e-05/0.2724, allocations: 106.4 kB / 490.9 MB, free: 8.883 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2724, allocations: 3.938 kB / 490.9 MB, free: 8.879 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001874/0.2726, allocations: 8 kB / 490.9 MB, free: 8.871 MB / 362.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 () * Number of clocked states: 1 (unitDelay1.u) * 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.0004047/0.273, allocations: 0.6552 MB / 491.5 MB, free: 8.191 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.563e-05/0.2731, allocations: 47.92 kB / 491.6 MB, free: 8.145 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.2731, allocations: 0 / 491.6 MB, free: 8.145 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.51e-07/0.2731, allocations: 0 / 491.6 MB, free: 8.145 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002221/0.2733, allocations: 42.08 kB / 491.6 MB, free: 8.105 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009273/0.2743, allocations: 1.548 MB / 493.2 MB, free: 6.477 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002198/0.2745, allocations: 0.6965 MB / 493.9 MB, free: 5.754 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.525e-05/0.2745, allocations: 8 kB / 493.9 MB, free: 5.746 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.833e-05/0.2746, allocations: 19.44 kB / 493.9 MB, free: 5.727 MB / 362.7 MB Notification: Performance of SimCode: time 2.81e-07/0.2746, allocations: 0 / 493.9 MB, free: 5.727 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01213/0.2867, allocations: 1.434 MB / 495.3 MB, free: 4.445 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002096/0.287, allocations: 192.1 kB / 495.5 MB, free: 4.207 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.416/1.703, allocations: 0 / 495.5 MB, free: 4.207 MB / 362.7 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClock_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClock.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock_res.mat does not exist to compare? outputFormat=mat