Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.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.RealSignals.AssignClock,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClock",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_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.001039/0.001038, allocations: 179.3 kB / 16.38 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.184/1.184, allocations: 223.2 MB / 240.3 MB, free: 10.17 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.0008363/0.0008363, allocations: 97.36 kB / 291.5 MB, free: 10.71 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002226/0.0002226, allocations: 4 kB / 351.2 MB, free: 15.02 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1772/0.1775, allocations: 50.41 MB / 401.6 MB, free: 32.56 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.07907/0.2566, allocations: 76.54 MB / 478.1 MB, free: 3.918 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001872/0.2568, allocations: 75.95 kB / 478.2 MB, free: 3.844 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002833/0.2596, allocations: 1.273 MB / 479.5 MB, free: 2.578 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.2597, allocations: 0 / 479.5 MB, free: 2.578 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.628e-06/0.2597, allocations: 4.531 kB / 479.5 MB, free: 2.574 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.0002989/0.26, allocations: 370.2 kB / 479.8 MB, free: 2.168 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.26, allocations: 12.03 kB / 479.8 MB, free: 2.156 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.172e-05/0.2601, allocations: 30.56 kB / 479.9 MB, free: 2.117 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.618e-05/0.2601, allocations: 19.77 kB / 479.9 MB, free: 2.098 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001583/0.2602, allocations: 189.6 kB / 480.1 MB, free: 1.875 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.713e-06/0.2603, allocations: 4 kB / 480.1 MB, free: 1.871 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.013e-05/0.2603, allocations: 7.25 kB / 480.1 MB, free: 1.867 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002236/0.2605, allocations: 131.1 kB / 480.2 MB, free: 1.727 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.451e-06/0.2605, allocations: 0 / 480.2 MB, free: 1.727 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.266e-06/0.2605, allocations: 3.953 kB / 480.2 MB, free: 1.723 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.396e-06/0.2605, allocations: 0 / 480.2 MB, free: 1.723 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.798e-05/0.2606, allocations: 22.48 kB / 480.2 MB, free: 1.703 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001303/0.2607, allocations: 173.7 kB / 480.4 MB, free: 1.484 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001044/0.2608, allocations: 54.72 kB / 480.5 MB, free: 1.422 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.798e-06/0.2609, allocations: 4.5 kB / 480.5 MB, free: 1.418 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.372e-05/0.2609, allocations: 42.5 kB / 480.5 MB, free: 1.367 MB / 346.7 MB Notification: Performance of pre-optimization done (n=8): time 9.92e-07/0.2609, allocations: 0 / 480.5 MB, free: 1.367 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001518/0.261, allocations: 81.64 kB / 480.6 MB, free: 1.281 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.138e-05/0.2611, allocations: 63.34 kB / 480.7 MB, free: 1.207 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.67e-05/0.2612, allocations: 125 kB / 480.8 MB, free: 1.074 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.144e-05/0.2612, allocations: 25.7 kB / 480.8 MB, free: 1.043 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.026e-05/0.2612, allocations: 88.12 kB / 480.9 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.759e-06/0.2613, allocations: 4 kB / 480.9 MB, free: 0.9492 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.405e-06/0.2613, allocations: 4 kB / 480.9 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001019/0.2614, allocations: 318.8 kB / 481.2 MB, free: 0.625 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.804e-05/0.2614, allocations: 12 kB / 481.2 MB, free: 0.6133 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.334e-05/0.2614, allocations: 58.8 kB / 481.3 MB, free: 0.5312 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.911e-05/0.2615, allocations: 16 kB / 481.3 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.2615, allocations: 0 / 481.3 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001142/0.2616, allocations: 89.84 kB / 481.4 MB, free: 432 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.2616, allocations: 12 kB / 481.4 MB, free: 420 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.2616, allocations: 3.938 kB / 481.4 MB, free: 416 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.2617, allocations: 4 kB / 481.4 MB, free: 412 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.425e-05/0.2617, allocations: 15.98 kB / 481.4 MB, free: 396 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/0.2617, allocations: 7.938 kB / 481.4 MB, free: 388 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.979e-05/0.2618, allocations: 3.953 kB / 481.4 MB, free: 384 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.511e-06/0.2618, 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: 0 () * 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.033e-05/0.2619, allocations: 128.5 kB / 481.6 MB, free: 244 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.741e-05/0.262, allocations: 77.73 kB / 481.6 MB, free: 160 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.091e-05/0.262, allocations: 20.64 kB / 481.7 MB, free: 132 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.262, allocations: 0 / 481.7 MB, free: 132 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.262, allocations: 0 / 481.7 MB, free: 132 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.262, allocations: 7.922 kB / 481.7 MB, free: 124 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001072/0.2621, allocations: 177.5 kB / 481.8 MB, free: 15.9 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.2621, allocations: 0 / 481.8 MB, free: 15.9 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.999e-05/0.2622, allocations: 15.98 kB / 481.8 MB, free: 15.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.2622, allocations: 0 / 481.8 MB, free: 15.88 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/0.2622, allocations: 4 kB / 481.9 MB, free: 15.88 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.103e-06/0.2622, allocations: 0 / 481.9 MB, free: 15.88 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.2622, allocations: 4 kB / 481.9 MB, free: 15.88 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001036/0.2623, allocations: 101 kB / 482 MB, free: 15.76 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.966e-05/0.2624, allocations: 93 kB / 482 MB, free: 15.65 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.609e-05/0.2624, allocations: 4 kB / 482 MB, free: 15.64 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.665e-05/0.2624, allocations: 3.938 kB / 482.1 MB, free: 15.64 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.034e-06/0.2625, allocations: 0 / 482.1 MB, free: 15.64 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.521e-06/0.2625, allocations: 4 kB / 482.1 MB, free: 15.64 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.707e-05/0.2625, allocations: 105.6 kB / 482.2 MB, free: 15.54 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2625, allocations: 4 kB / 482.2 MB, free: 15.53 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001812/0.2627, allocations: 12 kB / 482.2 MB, free: 15.52 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: 0 () * 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.0003744/0.2631, allocations: 0.6553 MB / 482.8 MB, free: 14.84 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.383e-05/0.2632, allocations: 48.78 kB / 482.9 MB, free: 14.79 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.2632, allocations: 0 / 482.9 MB, free: 14.79 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.62e-07/0.2632, allocations: 0 / 482.9 MB, free: 14.79 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001971/0.2634, allocations: 40.02 kB / 482.9 MB, free: 14.75 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008868/0.2643, allocations: 1.559 MB / 484.5 MB, free: 13.11 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002411/0.2646, allocations: 0.7043 MB / 485.2 MB, free: 12.38 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.197e-05/0.2646, allocations: 4 kB / 485.2 MB, free: 12.38 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.791e-05/0.2646, allocations: 23.38 kB / 485.2 MB, free: 12.35 MB / 362.7 MB Notification: Performance of SimCode: time 2.2e-07/0.2646, allocations: 0 / 485.2 MB, free: 12.35 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3015/0.5661, allocations: 1.465 MB / 486.7 MB, free: 11.04 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001704/0.5663, allocations: 194.9 kB / 486.9 MB, free: 10.8 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.591/2.157, allocations: 0 / 486.9 MB, free: 10.8 MB / 362.7 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClock_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClock.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock_res.mat does not exist to compare? outputFormat=mat