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.001537/0.001537, allocations: 181.2 kB / 16.39 MB, free: 5.762 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.355/1.355, allocations: 223.2 MB / 240.3 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009411/0.0009411, allocations: 87.33 kB / 291.5 MB, free: 10.9 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002842/0.0002843, allocations: 15.98 kB / 351.2 MB, free: 15.2 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2502/0.2505, allocations: 50.41 MB / 401.6 MB, free: 32.56 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09357/0.3441, allocations: 77.06 MB / 478.6 MB, free: 3.398 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002652/0.3444, allocations: 80.67 kB / 478.7 MB, free: 3.32 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004396/0.3489, allocations: 1.485 MB / 480.2 MB, free: 1.848 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.3489, allocations: 0 / 480.2 MB, free: 1.848 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.345e-05/0.3489, allocations: 3.938 kB / 480.2 MB, free: 1.844 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.00043/0.3494, allocations: 367.1 kB / 480.6 MB, free: 1.438 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.881e-05/0.3494, allocations: 8.031 kB / 480.6 MB, free: 1.43 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.618e-05/0.3495, allocations: 38.52 kB / 480.6 MB, free: 1.383 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.088e-05/0.3495, allocations: 11.91 kB / 480.6 MB, free: 1.371 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002206/0.3497, allocations: 193.8 kB / 480.8 MB, free: 1.145 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.318e-06/0.3498, allocations: 0 / 480.8 MB, free: 1.145 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.274e-05/0.3498, allocations: 4 kB / 480.8 MB, free: 1.141 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003017/0.3501, allocations: 128.8 kB / 480.9 MB, free: 0.9961 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.3501, allocations: 0 / 480.9 MB, free: 0.9961 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.3501, allocations: 4 kB / 481 MB, free: 0.9922 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.3501, allocations: 3.953 kB / 481 MB, free: 0.9883 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.857e-05/0.3502, allocations: 23.98 kB / 481 MB, free: 0.9648 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003862/0.3506, allocations: 269.8 kB / 481.2 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002162/0.3509, allocations: 142.2 kB / 481.4 MB, free: 484 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.83e-05/0.3509, allocations: 0 / 481.4 MB, free: 484 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.821e-05/0.3509, allocations: 34.56 kB / 481.4 MB, free: 440 kB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.193e-06/0.3509, allocations: 3.938 kB / 481.4 MB, free: 436 kB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002747/0.3512, allocations: 93.67 kB / 481.5 MB, free: 336 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.292e-05/0.3513, allocations: 81.05 kB / 481.6 MB, free: 236 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001206/0.3514, allocations: 121.2 kB / 481.7 MB, free: 104 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.995e-05/0.3514, allocations: 29.83 kB / 481.7 MB, free: 68 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.875e-05/0.3515, allocations: 96.08 kB / 481.8 MB, free: 15.97 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.561e-05/0.3515, allocations: 3.938 kB / 481.8 MB, free: 15.96 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.996e-06/0.3515, allocations: 0 / 481.8 MB, free: 15.96 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001218/0.3517, allocations: 318.8 kB / 482.1 MB, free: 15.64 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.457e-05/0.3517, allocations: 8 kB / 482.2 MB, free: 15.64 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.482e-05/0.3518, allocations: 43.42 kB / 482.2 MB, free: 15.58 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.884e-05/0.3518, allocations: 11.98 kB / 482.2 MB, free: 15.57 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.3518, allocations: 0 / 482.2 MB, free: 15.57 MB / 362.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001434/0.352, allocations: 81.53 kB / 482.3 MB, free: 15.48 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.352, allocations: 4 kB / 482.3 MB, free: 15.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.829e-06/0.352, allocations: 4.281 kB / 482.3 MB, free: 15.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.3521, allocations: 3.953 kB / 482.3 MB, free: 15.47 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.185e-05/0.3521, allocations: 11.98 kB / 482.3 MB, free: 15.46 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.3521, allocations: 0 / 482.3 MB, free: 15.46 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.319e-05/0.3522, allocations: 4 kB / 482.3 MB, free: 15.46 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.13e-05/0.3522, allocations: 4 kB / 482.3 MB, free: 15.45 MB / 362.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 () * Number of clocked 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 9.158e-05/0.3523, allocations: 121.9 kB / 482.4 MB, free: 15.32 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.395e-05/0.3524, allocations: 53.53 kB / 482.5 MB, free: 15.27 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.32e-05/0.3524, allocations: 16.23 kB / 482.5 MB, free: 15.24 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.3525, allocations: 0 / 482.5 MB, free: 15.24 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.3525, allocations: 3.953 kB / 482.5 MB, free: 15.24 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.3525, allocations: 0 / 482.5 MB, free: 15.24 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001772/0.3527, allocations: 169.7 kB / 482.7 MB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.3527, allocations: 4 kB / 482.7 MB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.777e-05/0.3527, allocations: 11.98 kB / 482.7 MB, free: 15.01 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.3527, allocations: 0 / 482.7 MB, free: 15.01 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.306e-06/0.3527, allocations: 4 kB / 482.7 MB, free: 15 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.529e-06/0.3528, allocations: 4 kB / 482.7 MB, free: 15 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.3528, allocations: 3.938 kB / 482.7 MB, free: 15 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001945/0.353, allocations: 189.9 kB / 482.9 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.648e-05/0.353, allocations: 93 kB / 483 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.533e-05/0.3531, allocations: 0 / 483 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.834e-05/0.3531, allocations: 8 kB / 483 MB, free: 14.67 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.162e-05/0.3532, allocations: 7.938 kB / 483 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-06/0.3532, allocations: 0 / 483 MB, free: 14.66 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.239e-05/0.3533, allocations: 105.8 kB / 483.1 MB, free: 14.56 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.433e-06/0.3533, allocations: 0 / 483.1 MB, free: 14.56 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002156/0.3535, allocations: 11.94 kB / 483.1 MB, free: 14.55 MB / 362.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 () * Number of clocked 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.0005484/0.3541, allocations: 0.7875 MB / 483.9 MB, free: 13.73 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001401/0.3542, allocations: 31.98 kB / 483.9 MB, free: 13.7 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.3542, allocations: 0 / 483.9 MB, free: 13.7 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.277e-05/0.3543, allocations: 15.92 kB / 483.9 MB, free: 13.68 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002661/0.3545, allocations: 26.91 kB / 484 MB, free: 13.66 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001061/0.3556, allocations: 0.9531 MB / 484.9 MB, free: 12.64 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002714/0.3559, allocations: 0.6926 MB / 485.6 MB, free: 11.92 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.507e-05/0.3559, allocations: 3.984 kB / 485.6 MB, free: 11.91 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.405e-05/0.356, allocations: 15.44 kB / 485.6 MB, free: 11.9 MB / 362.7 MB Notification: Performance of SimCode: time 3.41e-07/0.356, allocations: 4 kB / 485.6 MB, free: 11.89 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0136/0.3696, allocations: 1.29 MB / 486.9 MB, free: 10.74 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000215/0.3699, allocations: 188.3 kB / 487.1 MB, free: 10.5 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.531/1.901, allocations: 0 / 487.1 MB, free: 10.5 MB / 362.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