Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.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.Sample2,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample2",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.001352/0.001352, allocations: 175.1 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.383/1.383, allocations: 221.3 MB / 235.5 MB, free: 2.906 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.0008053/0.0008053, allocations: 92.05 kB / 286.5 MB, free: 180 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.943e-05/2.947e-05, allocations: 4 kB / 343.9 MB, free: 4.215 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1056, allocations: 50.41 MB / 394.3 MB, free: 1.762 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3441/0.4498, allocations: 76.45 MB / 470.8 MB, free: 11.04 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002249/0.45, allocations: 75.95 kB / 470.9 MB, free: 10.96 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002804/0.4528, allocations: 1.157 MB / 472 MB, free: 9.816 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.895e-06/0.4529, allocations: 4 kB / 472 MB, free: 9.812 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.056e-06/0.4529, allocations: 3.938 kB / 472 MB, free: 9.809 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003308/0.4532, allocations: 343.2 kB / 472.4 MB, free: 9.43 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.4533, allocations: 8.031 kB / 472.4 MB, free: 9.422 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.842e-05/0.4533, allocations: 38.55 kB / 472.4 MB, free: 9.375 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.633e-05/0.4534, allocations: 7.859 kB / 472.4 MB, free: 9.367 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001883/0.4535, allocations: 194.8 kB / 472.6 MB, free: 9.137 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.218e-05/0.4536, allocations: 4 kB / 472.6 MB, free: 9.133 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.793e-05/0.4536, allocations: 12 kB / 472.6 MB, free: 9.121 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000238/0.4538, allocations: 105 kB / 472.7 MB, free: 9 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.4539, allocations: 0 / 472.7 MB, free: 9 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.817e-06/0.4539, allocations: 0 / 472.7 MB, free: 9 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.4539, allocations: 3.953 kB / 472.7 MB, free: 8.996 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.335e-05/0.4539, allocations: 15.94 kB / 472.8 MB, free: 8.98 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003214/0.4543, allocations: 261.8 kB / 473 MB, free: 8.672 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001688/0.4544, allocations: 134.2 kB / 473.1 MB, free: 8.504 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.144e-05/0.4545, allocations: 33.72 kB / 473.2 MB, free: 8.465 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.496e-05/0.4545, allocations: 0 / 473.2 MB, free: 8.465 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.583e-05/0.4545, allocations: 30.56 kB / 473.2 MB, free: 8.426 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.4545, allocations: 0 / 473.2 MB, free: 8.426 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001506/0.4547, allocations: 65.58 kB / 473.3 MB, free: 8.355 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.794e-05/0.4548, allocations: 77.11 kB / 473.3 MB, free: 8.262 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001051/0.4549, allocations: 122.8 kB / 473.5 MB, free: 8.133 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.559e-05/0.4549, allocations: 25.7 kB / 473.5 MB, free: 8.102 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.299e-05/0.4549, allocations: 92.12 kB / 473.6 MB, free: 8.008 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.126e-05/0.455, allocations: 0 / 473.6 MB, free: 8.008 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.194e-06/0.455, allocations: 0 / 473.6 MB, free: 8.008 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001076/0.4551, allocations: 318.8 kB / 473.9 MB, free: 7.688 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.147e-05/0.4551, allocations: 0 / 473.9 MB, free: 7.688 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.05e-05/0.4551, allocations: 36.58 kB / 473.9 MB, free: 7.641 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.95e-05/0.4552, allocations: 11.94 kB / 473.9 MB, free: 7.629 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.4552, allocations: 0 / 473.9 MB, free: 7.629 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.391e-05/0.4552, allocations: 57.53 kB / 474 MB, free: 7.566 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.4553, allocations: 4 kB / 474 MB, free: 7.562 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.4553, allocations: 8.266 kB / 474 MB, free: 7.555 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.4553, allocations: 3.953 kB / 474 MB, free: 7.551 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.017e-05/0.4554, allocations: 11.98 kB / 474 MB, free: 7.539 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.4554, allocations: 0 / 474 MB, free: 7.539 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.356e-05/0.4554, allocations: 8 kB / 474 MB, free: 7.531 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.198e-06/0.4554, allocations: 4 kB / 474 MB, free: 7.527 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 6.036e-05/0.4555, allocations: 112.8 kB / 474.1 MB, free: 7.41 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.49e-05/0.4556, allocations: 45.61 kB / 474.2 MB, free: 7.359 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.517e-05/0.4556, allocations: 20.02 kB / 474.2 MB, free: 7.336 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.4556, allocations: 3.953 kB / 474.2 MB, free: 7.332 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.4556, allocations: 0 / 474.2 MB, free: 7.332 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.4556, allocations: 0 / 474.2 MB, free: 7.332 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001643/0.4558, allocations: 169.6 kB / 474.4 MB, free: 7.117 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.4558, allocations: 0 / 474.4 MB, free: 7.117 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.775e-05/0.4559, allocations: 12 kB / 474.4 MB, free: 7.105 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.4559, allocations: 0 / 474.4 MB, free: 7.105 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.7e-06/0.4559, allocations: 0 / 474.4 MB, free: 7.105 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.4559, allocations: 4 kB / 474.4 MB, free: 7.102 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.4559, allocations: 3.953 kB / 474.4 MB, free: 7.098 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001178/0.456, allocations: 174 kB / 474.6 MB, free: 6.902 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.551e-05/0.4561, allocations: 88.95 kB / 474.6 MB, free: 6.797 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.686e-05/0.4561, allocations: 11.98 kB / 474.7 MB, free: 6.785 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.894e-05/0.4562, allocations: 3.953 kB / 474.7 MB, free: 6.781 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.824e-05/0.4562, allocations: 4 kB / 474.7 MB, free: 6.777 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.995e-06/0.4562, allocations: 7.938 kB / 474.7 MB, free: 6.77 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.143e-05/0.4563, allocations: 103.8 kB / 474.8 MB, free: 6.668 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4563, allocations: 0 / 474.8 MB, free: 6.668 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002085/0.4565, allocations: 4 kB / 474.8 MB, free: 6.664 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.0003718/0.4569, allocations: 0.7749 MB / 475.6 MB, free: 5.859 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 8.143e-05/0.457, allocations: 23.92 kB / 475.6 MB, free: 5.836 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.457, allocations: 0 / 475.6 MB, free: 5.836 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.247e-05/0.457, allocations: 4 kB / 475.6 MB, free: 5.832 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002061/0.4572, allocations: 19.89 kB / 475.6 MB, free: 5.812 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003293/0.4576, allocations: 131.8 kB / 475.7 MB, free: 5.645 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002293/0.4578, allocations: 0.6933 MB / 476.4 MB, free: 4.926 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.648e-05/0.4578, allocations: 4 kB / 476.4 MB, free: 4.922 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.442e-05/0.4579, allocations: 11.44 kB / 476.4 MB, free: 4.914 MB / 346.7 MB Notification: Performance of SimCode: time 1.503e-06/0.4579, allocations: 0 / 476.4 MB, free: 4.914 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01067/0.4685, allocations: 1.225 MB / 477.7 MB, free: 3.812 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001748/0.4688, allocations: 161.7 kB / 477.8 MB, free: 3.59 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.407/1.876, allocations: 0 / 477.8 MB, free: 3.59 MB / 346.7 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample2_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample2.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2_res.mat does not exist to compare? outputFormat=mat