Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.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.Sample3,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample3",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.001232/0.001232, 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.283/1.283, allocations: 221.3 MB / 235.5 MB, free: 2.914 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.0008166/0.0008166, allocations: 91.33 kB / 286.5 MB, free: 180 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.472e-05/4.498e-05, allocations: 7.984 kB / 343.9 MB, free: 4.207 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0957/0.09577, allocations: 50.42 MB / 394.4 MB, free: 1.754 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3274/0.4232, allocations: 77.01 MB / 471.4 MB, free: 10.46 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002383/0.4235, allocations: 75.95 kB / 471.4 MB, free: 10.39 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003709/0.4272, allocations: 1.428 MB / 472.9 MB, free: 8.969 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.4273, allocations: 4 kB / 472.9 MB, free: 8.965 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.867e-06/0.4273, allocations: 0 / 472.9 MB, free: 8.965 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0003735/0.4277, allocations: 359.2 kB / 473.2 MB, free: 8.57 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.446e-05/0.4277, allocations: 12.03 kB / 473.2 MB, free: 8.559 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.954e-05/0.4278, allocations: 34.56 kB / 473.3 MB, free: 8.516 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.018e-05/0.4278, allocations: 11.86 kB / 473.3 MB, free: 8.504 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002042/0.428, allocations: 196.1 kB / 473.5 MB, free: 8.273 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.4e-05/0.428, allocations: 15.94 kB / 473.5 MB, free: 8.258 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.577e-05/0.4281, allocations: 4 kB / 473.5 MB, free: 8.254 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003235/0.4284, allocations: 146.5 kB / 473.6 MB, free: 8.09 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.4284, allocations: 0 / 473.6 MB, free: 8.09 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/0.4284, allocations: 7.938 kB / 473.6 MB, free: 8.082 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.4284, allocations: 8 kB / 473.6 MB, free: 8.074 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.695e-05/0.4285, allocations: 27.94 kB / 473.7 MB, free: 8.047 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004299/0.4289, allocations: 373.9 kB / 474 MB, free: 7.625 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002109/0.4292, allocations: 113.1 kB / 474.2 MB, free: 7.488 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.56e-05/0.4293, allocations: 47.52 kB / 474.2 MB, free: 7.434 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.438e-05/0.4293, allocations: 7.953 kB / 474.2 MB, free: 7.426 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.123e-05/0.4293, allocations: 38.56 kB / 474.2 MB, free: 7.379 MB / 346.7 MB Notification: Performance of pre-optimization done (n=10): time 1.273e-06/0.4293, allocations: 3.938 kB / 474.2 MB, free: 7.375 MB / 346.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002213/0.4296, allocations: 89.52 kB / 474.3 MB, free: 7.281 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.943e-05/0.4296, allocations: 111.5 kB / 474.4 MB, free: 7.148 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000108/0.4298, allocations: 126.3 kB / 474.6 MB, free: 7.016 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.482e-05/0.4298, allocations: 25.7 kB / 474.6 MB, free: 6.984 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.142e-05/0.4298, allocations: 92.36 kB / 474.7 MB, free: 6.891 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.158e-05/0.4299, allocations: 23.81 kB / 474.7 MB, free: 6.867 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.568e-06/0.4299, allocations: 0 / 474.7 MB, free: 6.867 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001123/0.43, allocations: 318.8 kB / 475 MB, free: 6.547 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.418e-05/0.43, allocations: 12 kB / 475 MB, free: 6.535 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.114e-05/0.4301, allocations: 67.72 kB / 475.1 MB, free: 6.441 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.758e-05/0.4301, allocations: 15.94 kB / 475.1 MB, free: 6.426 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.4301, allocations: 0 / 475.1 MB, free: 6.426 MB / 346.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001333/0.4303, allocations: 101.5 kB / 475.2 MB, free: 6.32 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.4303, allocations: 7.953 kB / 475.2 MB, free: 6.312 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.4303, allocations: 4 kB / 475.2 MB, free: 6.309 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.4303, allocations: 4 kB / 475.2 MB, free: 6.305 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.569e-05/0.4304, allocations: 19.98 kB / 475.2 MB, free: 6.285 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.4304, allocations: 4.219 kB / 475.2 MB, free: 6.281 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.469e-05/0.4305, allocations: 19.91 kB / 475.3 MB, free: 6.262 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.225e-06/0.4305, allocations: 4 kB / 475.3 MB, free: 6.258 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.909e-05/0.4306, allocations: 109 kB / 475.4 MB, free: 6.145 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001234/0.4307, allocations: 77.59 kB / 475.5 MB, free: 6.062 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.201e-05/0.4308, allocations: 20.56 kB / 475.5 MB, free: 6.043 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.4308, allocations: 4 kB / 475.5 MB, free: 6.039 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.4308, allocations: 0 / 475.5 MB, free: 6.039 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.4308, allocations: 0 / 475.5 MB, free: 6.039 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002257/0.431, allocations: 181.6 kB / 475.7 MB, free: 5.812 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.431, allocations: 8 kB / 475.7 MB, free: 5.805 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.477e-05/0.4311, allocations: 19.98 kB / 475.7 MB, free: 5.785 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/0.4311, allocations: 0 / 475.7 MB, free: 5.785 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.704e-06/0.4311, allocations: 0 / 475.7 MB, free: 5.785 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.2e-06/0.4311, allocations: 7.953 kB / 475.7 MB, free: 5.777 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.4312, allocations: 0 / 475.7 MB, free: 5.777 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003289/0.4315, allocations: 339.7 kB / 476 MB, free: 5.41 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.209e-05/0.4316, allocations: 93 kB / 476.1 MB, free: 5.301 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.623e-05/0.4316, allocations: 4 kB / 476.1 MB, free: 5.297 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.458e-05/0.4317, allocations: 0 / 476.1 MB, free: 5.297 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.36e-05/0.4317, allocations: 7.953 kB / 476.1 MB, free: 5.289 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.105e-06/0.4317, allocations: 12 kB / 476.1 MB, free: 5.277 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.556e-05/0.4318, allocations: 105.1 kB / 476.2 MB, free: 5.176 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4318, allocations: 0 / 476.2 MB, free: 5.176 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002497/0.4321, allocations: 8 kB / 476.2 MB, free: 5.168 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.000621/0.4327, allocations: 0.9954 MB / 477.2 MB, free: 4.133 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001282/0.4329, allocations: 55.81 kB / 477.3 MB, free: 4.078 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.4329, allocations: 0.5625 kB / 477.3 MB, free: 4.078 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.926e-05/0.4329, allocations: 11.98 kB / 477.3 MB, free: 4.066 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000291/0.4332, allocations: 43.92 kB / 477.4 MB, free: 4.023 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004581/0.4337, allocations: 172.5 kB / 477.5 MB, free: 3.812 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002771/0.4339, allocations: 0.7082 MB / 478.2 MB, free: 3.078 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.204e-05/0.434, allocations: 4.797 kB / 478.2 MB, free: 3.07 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.258e-05/0.434, allocations: 19.44 kB / 478.3 MB, free: 3.051 MB / 346.7 MB Notification: Performance of SimCode: time 3.11e-07/0.434, allocations: 0 / 478.3 MB, free: 3.051 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01159/0.4456, allocations: 1.588 MB / 479.8 MB, free: 1.59 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001784/0.4459, allocations: 163.8 kB / 480 MB, free: 1.363 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.399/1.845, allocations: 0 / 480 MB, free: 1.363 MB / 346.7 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample3_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample3.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.mat does not exist to compare? outputFormat=mat