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.001027/0.001027, allocations: 175.5 kB / 13.63 MB, free: 1.684 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.35/1.35, allocations: 221.3 MB / 235.5 MB, free: 2.965 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.0008899/0.00089, allocations: 87.69 kB / 286.5 MB, free: 236 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.922e-05/2.925e-05, allocations: 4 kB / 343.9 MB, free: 4.223 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1113, allocations: 50.41 MB / 394.3 MB, free: 1.766 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3209/0.4322, allocations: 76.47 MB / 470.8 MB, free: 11.02 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002291/0.4325, allocations: 75.95 kB / 470.9 MB, free: 10.95 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003106/0.4356, allocations: 1.267 MB / 472.2 MB, free: 9.691 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.4357, allocations: 0 / 472.2 MB, free: 9.691 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.441e-05/0.4357, allocations: 11.94 kB / 472.2 MB, free: 9.68 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.0003194/0.436, allocations: 347.2 kB / 472.5 MB, free: 9.297 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.4361, allocations: 8.031 kB / 472.5 MB, free: 9.289 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.313e-05/0.4361, allocations: 34.56 kB / 472.5 MB, free: 9.246 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.089e-05/0.4362, allocations: 15.84 kB / 472.6 MB, free: 9.23 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001868/0.4363, allocations: 188.2 kB / 472.7 MB, free: 9.008 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.221e-05/0.4364, allocations: 10.25 kB / 472.8 MB, free: 9 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.858e-06/0.4364, allocations: 0 / 472.8 MB, free: 9 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002353/0.4366, allocations: 123.3 kB / 472.9 MB, free: 8.867 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.166e-06/0.4366, allocations: 0 / 472.9 MB, free: 8.867 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.928e-06/0.4367, allocations: 3.953 kB / 472.9 MB, free: 8.863 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.4367, allocations: 8 kB / 472.9 MB, free: 8.855 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.899e-05/0.4367, allocations: 12 kB / 472.9 MB, free: 8.844 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001387/0.4369, allocations: 173.5 kB / 473.1 MB, free: 8.625 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001394/0.437, allocations: 78.58 kB / 473.1 MB, free: 8.539 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.934e-05/0.4371, allocations: 40.84 kB / 473.2 MB, free: 8.496 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.2e-05/0.4371, allocations: 0 / 473.2 MB, free: 8.496 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.464e-05/0.4371, allocations: 38.59 kB / 473.2 MB, free: 8.449 MB / 346.7 MB Notification: Performance of pre-optimization done (n=8): time 1.002e-06/0.4371, allocations: 0 / 473.2 MB, free: 8.449 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001509/0.4373, allocations: 65.61 kB / 473.3 MB, free: 8.379 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.876e-05/0.4374, allocations: 63.3 kB / 473.3 MB, free: 8.305 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.944e-05/0.4375, allocations: 130.7 kB / 473.5 MB, free: 8.168 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.626e-05/0.4375, allocations: 33.64 kB / 473.5 MB, free: 8.129 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.663e-05/0.4375, allocations: 80.14 kB / 473.6 MB, free: 8.047 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.192e-05/0.4375, allocations: 4 kB / 473.6 MB, free: 8.043 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.395e-06/0.4375, allocations: 8 kB / 473.6 MB, free: 8.035 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.813e-05/0.4376, allocations: 318.8 kB / 473.9 MB, free: 7.715 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.698e-05/0.4377, allocations: 8 kB / 473.9 MB, free: 7.707 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.797e-05/0.4377, allocations: 54.88 kB / 474 MB, free: 7.629 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.317e-05/0.4378, allocations: 19.92 kB / 474 MB, free: 7.609 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.4378, allocations: 0 / 474 MB, free: 7.609 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001135/0.4379, allocations: 93.62 kB / 474.1 MB, free: 7.512 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.4379, allocations: 4 kB / 474.1 MB, free: 7.508 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.4379, allocations: 4 kB / 474.1 MB, free: 7.504 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.4379, allocations: 0 / 474.1 MB, free: 7.504 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.76e-05/0.438, allocations: 23.92 kB / 474.1 MB, free: 7.48 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.438, allocations: 0 / 474.1 MB, free: 7.48 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.082e-05/0.4381, allocations: 7.953 kB / 474.1 MB, free: 7.473 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.557e-06/0.4381, allocations: 7.984 kB / 474.1 MB, free: 7.465 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 6.669e-05/0.4382, allocations: 110.1 kB / 474.2 MB, free: 7.352 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.448e-05/0.4382, allocations: 77.84 kB / 474.3 MB, free: 7.27 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.336e-05/0.4383, allocations: 12.62 kB / 474.3 MB, free: 7.258 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.4383, allocations: 0 / 474.3 MB, free: 7.258 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.4383, allocations: 0.875 kB / 474.3 MB, free: 7.258 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.4383, allocations: 0 / 474.3 MB, free: 7.258 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.731e-05/0.4384, allocations: 177.5 kB / 474.5 MB, free: 7.035 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.4384, allocations: 0 / 474.5 MB, free: 7.035 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.194e-05/0.4385, allocations: 12 kB / 474.5 MB, free: 7.023 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.4385, allocations: 0 / 474.5 MB, free: 7.023 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.767e-06/0.4385, allocations: 4 kB / 474.5 MB, free: 7.02 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.4385, allocations: 8.172 kB / 474.5 MB, free: 7.012 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.4385, allocations: 4 kB / 474.5 MB, free: 7.008 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000115/0.4386, allocations: 108.8 kB / 474.6 MB, free: 6.883 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.565e-05/0.4387, allocations: 93 kB / 474.7 MB, free: 6.773 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.358e-05/0.4387, allocations: 0 / 474.7 MB, free: 6.773 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.867e-05/0.4387, allocations: 8 kB / 474.7 MB, free: 6.766 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.815e-06/0.4388, allocations: 0 / 474.7 MB, free: 6.766 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.959e-06/0.4388, allocations: 0 / 474.7 MB, free: 6.766 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.637e-05/0.4388, allocations: 116.7 kB / 474.8 MB, free: 6.652 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4388, allocations: 0 / 474.8 MB, free: 6.652 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001788/0.439, allocations: 8 kB / 474.9 MB, free: 6.645 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.0004239/0.4395, allocations: 0.6553 MB / 475.5 MB, free: 5.961 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 9.605e-05/0.4396, allocations: 48.34 kB / 475.6 MB, free: 5.914 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.4396, allocations: 0 / 475.6 MB, free: 5.914 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.033e-06/0.4396, allocations: 4 kB / 475.6 MB, free: 5.91 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002049/0.4398, allocations: 33.06 kB / 475.6 MB, free: 5.879 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003266/0.4401, allocations: 143.6 kB / 475.7 MB, free: 5.699 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002293/0.4404, allocations: 0.7004 MB / 476.4 MB, free: 4.973 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.223e-05/0.4404, allocations: 4.125 kB / 476.4 MB, free: 4.969 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.71e-05/0.4404, allocations: 24.41 kB / 476.5 MB, free: 4.945 MB / 346.7 MB Notification: Performance of SimCode: time 2.6e-07/0.4404, allocations: 0 / 476.5 MB, free: 4.945 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01104/0.4515, allocations: 1.479 MB / 477.9 MB, free: 3.598 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001794/0.4517, allocations: 177 kB / 478.1 MB, free: 3.367 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.488/1.94, allocations: 4 kB / 478.1 MB, free: 3.363 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