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.001001/0.001001, allocations: 177.1 kB / 8.35 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.308/1.308, allocations: 221.5 MB / 230.3 MB, free: 7.535 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.0008482/0.0008482, allocations: 82.25 kB / 281.2 MB, free: 5.273 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.896e-05/1.897e-05, allocations: 4 kB / 337.1 MB, free: 9.926 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.1046, allocations: 50.42 MB / 387.6 MB, free: 7.465 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3295/0.4341, allocations: 75.79 MB / 463.4 MB, free: 2.984 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002905/0.4345, allocations: 71.95 kB / 463.4 MB, free: 2.914 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00326/0.4378, allocations: 1.258 MB / 464.7 MB, free: 1.664 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.437e-06/0.4378, allocations: 7.984 kB / 464.7 MB, free: 1.656 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.436e-05/0.4378, allocations: 3.938 kB / 464.7 MB, free: 1.652 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.0003814/0.4382, allocations: 359.1 kB / 465 MB, free: 1.258 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.494e-05/0.4383, allocations: 12.03 kB / 465.1 MB, free: 1.246 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.558e-05/0.4383, allocations: 11.86 kB / 465.1 MB, free: 1.234 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002287/0.4385, allocations: 184 kB / 465.2 MB, free: 1.016 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.4386, allocations: 4 kB / 465.3 MB, free: 1.012 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.265e-05/0.4386, allocations: 3.984 kB / 465.3 MB, free: 1.008 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.372e-05/0.4387, allocations: 16 kB / 465.3 MB, free: 0.9922 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000224/0.4389, allocations: 119.2 kB / 465.4 MB, free: 0.8672 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.784e-06/0.4389, allocations: 0 / 465.4 MB, free: 0.8672 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/0.4389, allocations: 3.953 kB / 465.4 MB, free: 0.8633 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.439, allocations: 4 kB / 465.4 MB, free: 0.8594 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001469/0.4391, allocations: 150.1 kB / 465.5 MB, free: 0.6758 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001155/0.4392, allocations: 62.72 kB / 465.6 MB, free: 0.6055 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.743e-05/0.4393, allocations: 32.84 kB / 465.6 MB, free: 0.5703 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.413e-05/0.4393, allocations: 7.938 kB / 465.6 MB, free: 0.5625 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.348e-05/0.4394, allocations: 34.56 kB / 465.7 MB, free: 0.5195 MB / 330.7 MB Notification: Performance of pre-optimization done (n=8): time 1.252e-06/0.4394, allocations: 0 / 465.7 MB, free: 0.5195 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001717/0.4395, allocations: 69.78 kB / 465.7 MB, free: 456 kB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.361e-05/0.4396, allocations: 55.41 kB / 465.8 MB, free: 388 kB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001143/0.4397, allocations: 126.4 kB / 465.9 MB, free: 252 kB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.224e-05/0.4397, allocations: 25.7 kB / 465.9 MB, free: 220 kB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.371e-05/0.4398, allocations: 84.14 kB / 466 MB, free: 132 kB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.547e-05/0.4398, allocations: 7.938 kB / 466 MB, free: 124 kB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.096e-06/0.4398, allocations: 0 / 466 MB, free: 124 kB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001511/0.44, allocations: 322.8 kB / 466.4 MB, free: 15.8 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.816e-05/0.44, allocations: 8 kB / 466.4 MB, free: 15.79 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.666e-05/0.4401, allocations: 59.56 kB / 466.4 MB, free: 15.71 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.082e-05/0.4401, allocations: 19.98 kB / 466.4 MB, free: 15.69 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.4401, allocations: 0 / 466.4 MB, free: 15.69 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001086/0.4402, allocations: 77.47 kB / 466.5 MB, free: 15.61 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.4403, allocations: 4.188 kB / 466.5 MB, free: 15.6 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.4403, allocations: 4 kB / 466.5 MB, free: 15.6 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.4403, allocations: 3.938 kB / 466.5 MB, free: 15.59 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.579e-05/0.4404, allocations: 19.94 kB / 466.5 MB, free: 15.57 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.4404, allocations: 8.234 kB / 466.6 MB, free: 15.57 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.423e-05/0.4404, allocations: 4 kB / 466.6 MB, free: 15.56 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.796e-06/0.4404, allocations: 4 kB / 466.6 MB, free: 15.56 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: 0 () * 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 8.413e-05/0.4405, allocations: 108.9 kB / 466.7 MB, free: 15.45 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.371e-05/0.4406, allocations: 69.53 kB / 466.7 MB, free: 15.37 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.142e-05/0.4406, allocations: 7.906 kB / 466.7 MB, free: 15.36 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.568e-05/0.4407, allocations: 8.625 kB / 466.8 MB, free: 15.36 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.4407, allocations: 0 / 466.8 MB, free: 15.36 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.4407, allocations: 0 / 466.8 MB, free: 15.36 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.4407, allocations: 11.95 kB / 466.8 MB, free: 15.34 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001055/0.4408, allocations: 150.2 kB / 466.9 MB, free: 15.16 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.4408, allocations: 3.984 kB / 466.9 MB, free: 15.16 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.044e-05/0.4409, allocations: 8 kB / 466.9 MB, free: 15.15 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.4409, allocations: 0 / 466.9 MB, free: 15.15 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.657e-06/0.4409, allocations: 4 kB / 466.9 MB, free: 15.14 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.4409, allocations: 0 / 466.9 MB, free: 15.14 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.4409, allocations: 0 / 466.9 MB, free: 15.14 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001222/0.4411, allocations: 96.92 kB / 467 MB, free: 15.03 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.302e-05/0.4411, allocations: 101 kB / 467.1 MB, free: 14.91 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.568e-05/0.4412, allocations: 0 / 467.1 MB, free: 14.91 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.747e-05/0.4412, allocations: 0.75 kB / 467.1 MB, free: 14.91 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.488e-06/0.4412, allocations: 3.984 kB / 467.1 MB, free: 14.91 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.527e-06/0.4412, allocations: 0 / 467.1 MB, free: 14.91 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.129e-05/0.4413, allocations: 104.6 kB / 467.2 MB, free: 14.81 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4413, allocations: 3.938 kB / 467.2 MB, free: 14.8 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002038/0.4415, allocations: 8 kB / 467.2 MB, free: 14.8 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: 0 () * 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.0004333/0.4419, allocations: 0.6553 MB / 467.9 MB, free: 14.11 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 9.818e-05/0.442, allocations: 31.94 kB / 467.9 MB, free: 14.08 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.442, allocations: 0 / 467.9 MB, free: 14.08 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.1e-07/0.442, allocations: 0 / 467.9 MB, free: 14.08 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002309/0.4423, allocations: 32.58 kB / 468 MB, free: 14.05 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000378/0.4427, allocations: 146.1 kB / 468.1 MB, free: 13.87 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002888/0.443, allocations: 0.6968 MB / 468.8 MB, free: 13.15 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.516e-05/0.443, allocations: 4 kB / 468.8 MB, free: 13.14 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.177e-05/0.4431, allocations: 23.38 kB / 468.8 MB, free: 13.12 MB / 346.7 MB Notification: Performance of SimCode: time 2.71e-07/0.4431, allocations: 3.938 kB / 468.8 MB, free: 13.12 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01871/0.4618, allocations: 1.164 MB / 470 MB, free: 11.97 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001941/0.462, allocations: 164.1 kB / 470.2 MB, free: 11.77 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.468/1.931, allocations: 0 / 470.2 MB, free: 11.77 MB / 346.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