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.001386/0.001386, allocations: 184.9 kB / 16.39 MB, free: 5.758 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.494/1.494, allocations: 223.2 MB / 240.3 MB, free: 11.86 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.0009798/0.0009797, allocations: 81.09 kB / 291.5 MB, free: 10.9 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002728/0.0002729, allocations: 12 kB / 351.2 MB, free: 15.19 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2844/0.2846, allocations: 50.4 MB / 401.6 MB, free: 32.57 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1361/0.4208, allocations: 76.59 MB / 478.2 MB, free: 3.867 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002678/0.4212, allocations: 76.73 kB / 478.2 MB, free: 3.793 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003818/0.425, allocations: 1.246 MB / 479.5 MB, free: 2.551 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.866e-06/0.425, allocations: 3.938 kB / 479.5 MB, free: 2.547 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.317e-05/0.425, allocations: 4 kB / 479.5 MB, free: 2.543 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004586/0.4255, allocations: 362.4 kB / 479.9 MB, free: 2.145 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.557e-05/0.4256, allocations: 8.031 kB / 479.9 MB, free: 2.137 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.479e-05/0.4256, allocations: 34.56 kB / 479.9 MB, free: 2.094 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.075e-05/0.4257, allocations: 15.84 kB / 479.9 MB, free: 2.078 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002562/0.426, allocations: 178.3 kB / 480.1 MB, free: 1.867 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.334e-05/0.426, allocations: 8 kB / 480.1 MB, free: 1.859 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.518e-05/0.426, allocations: 4 kB / 480.1 MB, free: 1.855 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003823/0.4264, allocations: 137.5 kB / 480.2 MB, free: 1.711 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.4264, allocations: 0 / 480.2 MB, free: 1.711 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.483e-05/0.4265, allocations: 7.953 kB / 480.2 MB, free: 1.703 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.4265, allocations: 4.625 kB / 480.2 MB, free: 1.699 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.214e-05/0.4265, allocations: 19.98 kB / 480.3 MB, free: 1.68 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002143/0.4268, allocations: 165.7 kB / 480.4 MB, free: 1.469 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001801/0.427, allocations: 70.69 kB / 480.5 MB, free: 1.391 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.581e-05/0.427, allocations: 4.156 kB / 480.5 MB, free: 1.387 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.381e-05/0.427, allocations: 30.56 kB / 480.5 MB, free: 1.348 MB / 346.7 MB Notification: Performance of pre-optimization done (n=8): time 1.463e-06/0.427, allocations: 0 / 480.5 MB, free: 1.348 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002809/0.4273, allocations: 93.52 kB / 480.6 MB, free: 1.25 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.968e-05/0.4274, allocations: 59.36 kB / 480.7 MB, free: 1.18 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001475/0.4276, allocations: 121 kB / 480.8 MB, free: 1.055 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.794e-05/0.4276, allocations: 25.7 kB / 480.8 MB, free: 1.023 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.811e-05/0.4277, allocations: 88.14 kB / 480.9 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.898e-05/0.4277, allocations: 7.891 kB / 480.9 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.616e-06/0.4277, allocations: 0 / 480.9 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001535/0.4279, allocations: 318.8 kB / 481.2 MB, free: 0.6055 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.579e-05/0.4279, allocations: 12 kB / 481.2 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.422e-05/0.428, allocations: 54.86 kB / 481.3 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.81e-05/0.4281, allocations: 19.94 kB / 481.3 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.029e-06/0.4281, allocations: 4 kB / 481.3 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001699/0.4283, allocations: 85.55 kB / 481.4 MB, free: 412 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/0.4283, allocations: 4 kB / 481.4 MB, free: 408 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.4283, allocations: 3.938 kB / 481.4 MB, free: 404 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.896e-05/0.4283, allocations: 8.25 kB / 481.4 MB, free: 396 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.194e-05/0.4284, allocations: 4 kB / 481.4 MB, free: 392 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.148e-06/0.4284, allocations: 4 kB / 481.4 MB, free: 388 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.965e-05/0.4284, allocations: 3.953 kB / 481.4 MB, free: 384 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.077e-05/0.4285, allocations: 4 kB / 481.4 MB, free: 380 kB / 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 () * 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 0.0001308/0.4286, allocations: 131.6 kB / 481.6 MB, free: 240 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001162/0.4287, allocations: 69.59 kB / 481.6 MB, free: 164 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.816e-05/0.4288, allocations: 12.38 kB / 481.6 MB, free: 144 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.4288, allocations: 0 / 481.6 MB, free: 144 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.4288, allocations: 7.938 kB / 481.6 MB, free: 136 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.4288, allocations: 0 / 481.6 MB, free: 136 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001734/0.429, allocations: 169.6 kB / 481.8 MB, free: 15.92 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.429, allocations: 7.984 kB / 481.8 MB, free: 15.91 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.378e-05/0.429, allocations: 4 kB / 481.8 MB, free: 15.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.429, allocations: 192 / 481.8 MB, free: 15.91 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.376e-06/0.4291, allocations: 0 / 481.8 MB, free: 15.91 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/0.4291, allocations: 3.938 kB / 481.8 MB, free: 15.9 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.4291, allocations: 3.938 kB / 481.8 MB, free: 15.9 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001736/0.4293, allocations: 109 kB / 481.9 MB, free: 15.77 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.065e-05/0.4294, allocations: 89 kB / 482 MB, free: 15.67 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.304e-05/0.4294, allocations: 4 kB / 482 MB, free: 15.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.329e-05/0.4294, allocations: 4 kB / 482 MB, free: 15.66 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.857e-06/0.4294, allocations: 0 / 482 MB, free: 15.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.468e-06/0.4294, allocations: 0 / 482 MB, free: 15.66 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.47e-05/0.4295, allocations: 106.3 kB / 482.1 MB, free: 15.56 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.4296, allocations: 0 / 482.1 MB, free: 15.56 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003238/0.4299, allocations: 8 kB / 482.1 MB, free: 15.55 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.000596/0.4305, allocations: 0.6597 MB / 482.8 MB, free: 14.86 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001357/0.4306, allocations: 47.98 kB / 482.9 MB, free: 14.82 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.4307, allocations: 4.562 kB / 482.9 MB, free: 14.81 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.41e-07/0.4307, allocations: 4 kB / 482.9 MB, free: 14.81 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000298/0.431, allocations: 46.86 kB / 482.9 MB, free: 14.77 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001373/0.4324, allocations: 1.532 MB / 484.4 MB, free: 13.15 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003643/0.4327, allocations: 0.6965 MB / 485.1 MB, free: 12.43 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.655e-05/0.4328, allocations: 4 kB / 485.1 MB, free: 12.42 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.318e-05/0.4328, allocations: 23.42 kB / 485.2 MB, free: 12.4 MB / 362.7 MB Notification: Performance of SimCode: time 2.71e-07/0.4329, allocations: 4 kB / 485.2 MB, free: 12.39 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01626/0.4491, allocations: 1.428 MB / 486.6 MB, free: 11.12 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002729/0.4494, allocations: 201.6 kB / 486.8 MB, free: 10.88 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.609/2.059, allocations: 3.656 kB / 486.8 MB, free: 10.88 MB / 362.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