Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.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.Hold,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_Hold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_Hold",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.001064/0.001063, allocations: 180.5 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.386/1.386, allocations: 223.2 MB / 240.3 MB, free: 11.91 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.0009591/0.000959, allocations: 93.69 kB / 291.5 MB, free: 10.92 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002966/0.0002966, allocations: 8 kB / 351.2 MB, free: 15.22 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2759/0.2762, allocations: 50.41 MB / 401.6 MB, free: 32.59 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1084/0.3847, allocations: 81.21 MB / 482.8 MB, free: 15.27 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002813/0.385, allocations: 87.94 kB / 482.9 MB, free: 15.19 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01742/0.4025, allocations: 6.059 MB / 488.9 MB, free: 9.137 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.4025, allocations: 0 / 488.9 MB, free: 9.137 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.728e-05/0.4026, allocations: 12 kB / 488.9 MB, free: 9.125 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008065/0.4034, allocations: 0.5 MB / 489.4 MB, free: 8.57 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/0.4034, allocations: 8.031 kB / 489.5 MB, free: 8.562 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.551e-05/0.4035, allocations: 42.52 kB / 489.5 MB, free: 8.512 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.323e-05/0.4036, allocations: 19.8 kB / 489.5 MB, free: 8.492 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000479/0.4041, allocations: 265.6 kB / 489.8 MB, free: 8.191 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.062e-05/0.4041, allocations: 11.94 kB / 489.8 MB, free: 8.18 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.605e-05/0.4042, allocations: 4 kB / 489.8 MB, free: 8.176 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003894/0.4046, allocations: 171.6 kB / 490 MB, free: 7.984 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.4046, allocations: 3.938 kB / 490 MB, free: 7.98 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.82e-05/0.4046, allocations: 3.984 kB / 490 MB, free: 7.977 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/0.4046, allocations: 7.953 kB / 490 MB, free: 7.969 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001172/0.4047, allocations: 39.92 kB / 490 MB, free: 7.93 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006459/0.4054, allocations: 446.7 kB / 490.4 MB, free: 7.434 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002526/0.4057, allocations: 146.5 kB / 490.6 MB, free: 7.254 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.638e-05/0.4057, allocations: 4 kB / 490.6 MB, free: 7.25 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001694/0.4059, allocations: 97.16 kB / 490.7 MB, free: 7.137 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 1.884e-06/0.4059, allocations: 0 / 490.7 MB, free: 7.137 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004223/0.4063, allocations: 165.5 kB / 490.9 MB, free: 6.969 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.883e-05/0.4064, allocations: 162.1 kB / 491 MB, free: 6.773 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002922/0.4067, allocations: 244.2 kB / 491.2 MB, free: 6.527 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.409e-05/0.4068, allocations: 29.7 kB / 491.3 MB, free: 6.492 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.806e-05/0.4069, allocations: 116.3 kB / 491.4 MB, free: 6.371 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.033e-05/0.4069, allocations: 19.8 kB / 491.4 MB, free: 6.352 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.342e-06/0.4069, allocations: 7.938 kB / 491.4 MB, free: 6.344 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.407, allocations: 330.9 kB / 491.7 MB, free: 6.012 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.709e-05/0.4071, allocations: 23.98 kB / 491.8 MB, free: 5.988 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000105/0.4072, allocations: 71.86 kB / 491.8 MB, free: 5.895 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.346e-05/0.4073, allocations: 36.27 kB / 491.9 MB, free: 5.859 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.4073, allocations: 0 / 491.9 MB, free: 5.859 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002409/0.4076, allocations: 137.3 kB / 492 MB, free: 5.719 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.4076, allocations: 7.953 kB / 492 MB, free: 5.711 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.4076, allocations: 3.938 kB / 492 MB, free: 5.707 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.4076, allocations: 4 kB / 492 MB, free: 5.703 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.09e-05/0.4077, allocations: 20.14 kB / 492 MB, free: 5.684 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.725e-06/0.4078, allocations: 0 / 492 MB, free: 5.684 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.932e-05/0.4079, allocations: 15.94 kB / 492.1 MB, free: 5.668 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.333e-05/0.4079, allocations: 7.984 kB / 492.1 MB, free: 5.66 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,$PRE.table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEvent,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEventScaled,sample1.u,shiftSample1.y,hold1.u,hold1.y,shiftSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001375/0.408, allocations: 141.8 kB / 492.2 MB, free: 5.512 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001005/0.4081, allocations: 65.42 kB / 492.3 MB, free: 5.441 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002568/0.4084, allocations: 127.4 kB / 492.4 MB, free: 5.312 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.4084, allocations: 0 / 492.4 MB, free: 5.312 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.4084, allocations: 4 kB / 492.4 MB, free: 5.309 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.4084, allocations: 3.984 kB / 492.4 MB, free: 5.305 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002323/0.4087, allocations: 229.6 kB / 492.6 MB, free: 5.031 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.4087, allocations: 4 kB / 492.6 MB, free: 5.027 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.673e-05/0.4087, allocations: 7.984 kB / 492.6 MB, free: 5.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.4087, allocations: 0 / 492.6 MB, free: 5.02 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.524e-05/0.4088, allocations: 8 kB / 492.6 MB, free: 5.012 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5e-06/0.4088, allocations: 7.891 kB / 492.6 MB, free: 5.004 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.4088, allocations: 4 kB / 492.7 MB, free: 5 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000299/0.4091, allocations: 212.5 kB / 492.9 MB, free: 4.746 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001244/0.4092, allocations: 124.8 kB / 493 MB, free: 4.605 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.285e-05/0.4093, allocations: 4 kB / 493 MB, free: 4.602 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.061e-05/0.4093, allocations: 4 kB / 493 MB, free: 4.598 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.002e-05/0.4094, allocations: 11.98 kB / 493 MB, free: 4.586 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.379e-05/0.4094, allocations: 4 kB / 493 MB, free: 4.582 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000213/0.4096, allocations: 200.4 kB / 493.2 MB, free: 4.383 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4097, allocations: 0 / 493.2 MB, free: 4.383 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002835/0.4099, allocations: 39.92 kB / 493.2 MB, free: 4.344 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,sample1.u,hold1.y,hold1.u,shiftSample1.y,sample1.y,shiftSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001569/0.4115, allocations: 1.289 MB / 494.5 MB, free: 3.168 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002471/0.4118, allocations: 75.89 kB / 494.6 MB, free: 3.094 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.4118, allocations: 4 kB / 494.6 MB, free: 3.09 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.578e-05/0.4119, allocations: 35.92 kB / 494.6 MB, free: 3.055 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003617/0.4123, allocations: 60.89 kB / 494.7 MB, free: 2.996 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002038/0.4143, allocations: 1.768 MB / 496.5 MB, free: 1.148 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000347/0.4147, allocations: 0.74 MB / 497.2 MB, free: 392 kB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001053/0.4148, allocations: 29.81 kB / 497.2 MB, free: 364 kB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.266e-05/0.4149, allocations: 51.41 kB / 497.3 MB, free: 312 kB / 362.7 MB Notification: Performance of SimCode: time 4.3e-07/0.4149, allocations: 0 / 497.3 MB, free: 312 kB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01826/0.4332, allocations: 4.262 MB / 0.4898 GB, free: 12.2 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002142/0.4334, allocations: 219.7 kB / 0.49 GB, free: 11.96 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.814/2.247, allocations: 3.234 kB / 0.49 GB, free: 11.96 MB / 378.7 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_Hold_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_Hold.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold_res.mat does not exist to compare? outputFormat=mat