Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.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.Sample1,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample1",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.001478/0.001478, allocations: 174.9 kB / 8.348 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.314/1.314, allocations: 221.5 MB / 230.3 MB, free: 7.555 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.000847/0.0008471, allocations: 93.06 kB / 281.2 MB, free: 5.309 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.268e-05/2.276e-05, allocations: 4 kB / 337.1 MB, free: 9.91 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1049, allocations: 50.42 MB / 387.6 MB, free: 7.449 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3305/0.4354, allocations: 76.33 MB / 463.9 MB, free: 2.352 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003838/0.4358, allocations: 78.36 kB / 464 MB, free: 2.277 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004199/0.4401, allocations: 1.468 MB / 465.4 MB, free: 0.8164 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.096e-06/0.4401, allocations: 0 / 465.4 MB, free: 0.8164 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.829e-06/0.4401, allocations: 7.922 kB / 465.4 MB, free: 0.8086 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003634/0.4405, allocations: 355.2 kB / 465.8 MB, free: 428 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.108e-05/0.4406, allocations: 8.031 kB / 465.8 MB, free: 420 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.95e-05/0.4406, allocations: 19.55 kB / 465.8 MB, free: 404 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002139/0.4408, allocations: 192.4 kB / 466 MB, free: 172 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.928e-06/0.4409, allocations: 4 kB / 466 MB, free: 168 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.386e-05/0.4409, allocations: 0 / 466 MB, free: 168 kB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.076e-05/0.441, allocations: 16 kB / 466 MB, free: 152 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002085/0.4412, allocations: 101 kB / 466.1 MB, free: 32 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.739e-06/0.4412, allocations: 3.984 kB / 466.1 MB, free: 28 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.4412, allocations: 3.953 kB / 466.1 MB, free: 24 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.4412, allocations: 0 / 466.1 MB, free: 24 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003485/0.4416, allocations: 246.4 kB / 466.4 MB, free: 15.74 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001672/0.4418, allocations: 134.2 kB / 466.5 MB, free: 15.57 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.254e-05/0.4418, allocations: 25.78 kB / 466.5 MB, free: 15.54 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.77e-05/0.4418, allocations: 0 / 466.5 MB, free: 15.54 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.283e-05/0.4419, allocations: 38.64 kB / 466.6 MB, free: 15.5 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 2.354e-06/0.4419, allocations: 0 / 466.6 MB, free: 15.5 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001601/0.442, allocations: 61.48 kB / 466.6 MB, free: 15.43 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.032e-05/0.4421, allocations: 77.11 kB / 466.7 MB, free: 15.34 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001044/0.4422, allocations: 122.7 kB / 466.8 MB, free: 15.21 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.225e-05/0.4422, allocations: 25.7 kB / 466.8 MB, free: 15.18 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.254e-05/0.4423, allocations: 92.05 kB / 466.9 MB, free: 15.08 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.246e-05/0.4423, allocations: 0 / 466.9 MB, free: 15.08 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.136e-06/0.4423, allocations: 4.031 kB / 466.9 MB, free: 15.08 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001141/0.4424, allocations: 318.8 kB / 467.2 MB, free: 14.76 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.453e-05/0.4424, allocations: 4 kB / 467.3 MB, free: 14.75 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.635e-05/0.4425, allocations: 31.38 kB / 467.3 MB, free: 14.71 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.253e-05/0.4425, allocations: 7.984 kB / 467.3 MB, free: 14.7 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.4425, allocations: 4 kB / 467.3 MB, free: 14.7 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.832e-05/0.4426, allocations: 53.55 kB / 467.3 MB, free: 14.64 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.4426, allocations: 8 kB / 467.4 MB, free: 14.63 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.4426, allocations: 3.984 kB / 467.4 MB, free: 14.63 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/0.4426, allocations: 0 / 467.4 MB, free: 14.63 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.661e-05/0.4427, allocations: 12 kB / 467.4 MB, free: 14.62 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.4427, allocations: 3.953 kB / 467.4 MB, free: 14.61 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.427e-05/0.4428, allocations: 12.06 kB / 467.4 MB, free: 14.6 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.4428, allocations: 3.984 kB / 467.4 MB, free: 14.6 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.077e-05/0.4429, allocations: 108.9 kB / 467.5 MB, free: 14.48 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.268e-05/0.443, allocations: 61.53 kB / 467.6 MB, free: 14.42 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.612e-05/0.443, allocations: 11.84 kB / 467.6 MB, free: 14.41 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.071e-05/0.443, allocations: 4.344 kB / 467.6 MB, free: 14.4 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.443, allocations: 7.953 kB / 467.6 MB, free: 14.39 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.443, allocations: 0 / 467.6 MB, free: 14.39 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.4431, allocations: 0 / 467.6 MB, free: 14.39 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001389/0.4432, allocations: 154.2 kB / 467.7 MB, free: 14.2 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.4432, allocations: 0 / 467.7 MB, free: 14.2 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.454e-05/0.4433, allocations: 15.92 kB / 467.7 MB, free: 14.19 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.4433, allocations: 4 kB / 467.8 MB, free: 14.18 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-06/0.4433, allocations: 0 / 467.8 MB, free: 14.18 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.4433, allocations: 0 / 467.8 MB, free: 14.18 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.4433, allocations: 4 kB / 467.8 MB, free: 14.18 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001295/0.4434, allocations: 174.2 kB / 467.9 MB, free: 13.98 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.679e-05/0.4435, allocations: 89.14 kB / 468 MB, free: 13.88 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.173e-05/0.4436, allocations: 7.969 kB / 468 MB, free: 13.87 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.178e-05/0.4436, allocations: 4 kB / 468 MB, free: 13.87 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.058e-05/0.4437, allocations: 3.953 kB / 468 MB, free: 13.86 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.471e-06/0.4437, allocations: 4 kB / 468 MB, free: 13.86 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.454e-05/0.4438, allocations: 104.6 kB / 468.1 MB, free: 13.76 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4438, allocations: 0 / 468.1 MB, free: 13.76 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002277/0.444, allocations: 12 kB / 468.1 MB, free: 13.75 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0004524/0.4445, allocations: 0.7603 MB / 468.9 MB, free: 12.95 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 7.877e-05/0.4446, allocations: 20.06 kB / 468.9 MB, free: 12.93 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.4446, allocations: 4.125 kB / 468.9 MB, free: 12.93 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.668e-05/0.4446, allocations: 8 kB / 468.9 MB, free: 12.92 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002264/0.4448, allocations: 19.97 kB / 469 MB, free: 12.9 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000373/0.4452, allocations: 134.4 kB / 469.1 MB, free: 12.73 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002383/0.4455, allocations: 0.6963 MB / 469.8 MB, free: 12.01 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.253e-05/0.4455, allocations: 7.969 kB / 469.8 MB, free: 12 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.984e-05/0.4455, allocations: 15.44 kB / 469.8 MB, free: 11.98 MB / 346.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4455, allocations: 0 / 469.8 MB, free: 11.98 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01938/0.4649, allocations: 0.9766 MB / 470.8 MB, free: 11.02 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002015/0.4652, allocations: 155.8 kB / 470.9 MB, free: 10.82 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.479/1.944, allocations: 0.9844 kB / 470.9 MB, free: 10.82 MB / 346.7 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample1_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample1.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1_res.mat does not exist to compare? outputFormat=mat