Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.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.Hold,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Hold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Hold,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Hold",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.001277/0.001277, 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.384/1.384, 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.000887/0.0008871, allocations: 107 kB / 286.5 MB, free: 176 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.028e-05/3.047e-05, allocations: 0 / 343.9 MB, free: 4.207 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08867/0.08872, allocations: 50.42 MB / 394.3 MB, free: 1.746 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3198/0.4086, allocations: 77.24 MB / 471.6 MB, free: 10.24 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002777/0.4089, allocations: 87.88 kB / 471.7 MB, free: 10.15 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0064/0.4153, allocations: 1.603 MB / 473.3 MB, free: 8.555 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.4154, allocations: 8 kB / 473.3 MB, free: 8.547 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.009e-05/0.4154, allocations: 0 / 473.3 MB, free: 8.547 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004828/0.4159, allocations: 365 kB / 473.6 MB, free: 8.148 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.491e-05/0.4159, allocations: 12.03 kB / 473.7 MB, free: 8.137 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.194e-05/0.416, allocations: 38.52 kB / 473.7 MB, free: 8.09 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.737e-05/0.4161, allocations: 11.84 kB / 473.7 MB, free: 8.078 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003022/0.4164, allocations: 199.4 kB / 473.9 MB, free: 7.84 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.518e-05/0.4164, allocations: 4 kB / 473.9 MB, free: 7.836 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.456e-05/0.4164, allocations: 4 kB / 473.9 MB, free: 7.832 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003804/0.4168, allocations: 126.8 kB / 474 MB, free: 7.684 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.4169, allocations: 0 / 474 MB, free: 7.684 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.262e-05/0.4169, allocations: 0 / 474 MB, free: 7.684 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.355e-05/0.4169, allocations: 7.953 kB / 474 MB, free: 7.676 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.01e-05/0.417, allocations: 23.88 kB / 474.1 MB, free: 7.652 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006709/0.4177, allocations: 370.7 kB / 474.4 MB, free: 7.23 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001894/0.4179, allocations: 91.59 kB / 474.5 MB, free: 7.105 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.238e-05/0.418, allocations: 35.56 kB / 474.5 MB, free: 7.059 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.356e-05/0.4181, allocations: 11.98 kB / 474.6 MB, free: 7.047 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.326e-05/0.4181, allocations: 42.45 kB / 474.6 MB, free: 6.996 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.964e-06/0.4181, allocations: 0 / 474.6 MB, free: 6.996 MB / 346.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003364/0.4185, allocations: 77.52 kB / 474.7 MB, free: 6.914 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000118/0.4186, allocations: 132.5 kB / 474.8 MB, free: 6.754 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000198/0.4188, allocations: 133 kB / 474.9 MB, free: 6.621 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.695e-05/0.4189, allocations: 29.7 kB / 475 MB, free: 6.586 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.027e-05/0.419, allocations: 96.25 kB / 475.1 MB, free: 6.488 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.952e-05/0.419, allocations: 7.906 kB / 475.1 MB, free: 6.48 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.961e-06/0.419, allocations: 0 / 475.1 MB, free: 6.48 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000176/0.4192, allocations: 318.8 kB / 475.4 MB, free: 6.16 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.885e-05/0.4193, allocations: 8 kB / 475.4 MB, free: 6.152 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.356e-05/0.4193, allocations: 41.11 kB / 475.4 MB, free: 6.098 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.446e-05/0.4194, allocations: 12 kB / 475.4 MB, free: 6.086 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.4194, allocations: 0 / 475.4 MB, free: 6.086 MB / 346.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002127/0.4197, allocations: 77.56 kB / 475.5 MB, free: 6.004 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.431e-05/0.4197, allocations: 9.391 kB / 475.5 MB, free: 5.996 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.4197, allocations: 0 / 475.5 MB, free: 5.996 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.258e-05/0.4197, allocations: 7.953 kB / 475.5 MB, free: 5.988 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001316/0.4199, allocations: 16 kB / 475.5 MB, free: 5.973 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.458e-06/0.4199, allocations: 0 / 475.5 MB, free: 5.973 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001033/0.42, allocations: 16.05 kB / 475.6 MB, free: 5.957 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.382e-05/0.4201, allocations: 4 kB / 475.6 MB, free: 5.953 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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 8.845e-05/0.4202, allocations: 109 kB / 475.7 MB, free: 5.84 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001648/0.4203, allocations: 53.61 kB / 475.7 MB, free: 5.781 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.967e-05/0.4204, allocations: 19.59 kB / 475.7 MB, free: 5.766 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.497e-06/0.4204, allocations: 7.953 kB / 475.7 MB, free: 5.758 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.278e-06/0.4204, allocations: 0 / 475.7 MB, free: 5.758 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/0.4204, allocations: 3.938 kB / 475.8 MB, free: 5.754 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003755/0.4208, allocations: 177.6 kB / 475.9 MB, free: 5.531 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.4209, allocations: 0 / 475.9 MB, free: 5.531 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001135/0.421, allocations: 15.98 kB / 475.9 MB, free: 5.516 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.421, allocations: 64 / 475.9 MB, free: 5.516 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.421, allocations: 4 kB / 475.9 MB, free: 5.512 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.959e-06/0.421, allocations: 4 kB / 475.9 MB, free: 5.508 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.628e-06/0.421, allocations: 3.953 kB / 476 MB, free: 5.504 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003264/0.4214, allocations: 301.5 kB / 476.2 MB, free: 5.168 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.487e-05/0.4215, allocations: 89 kB / 476.3 MB, free: 5.062 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.029e-05/0.4215, allocations: 11.92 kB / 476.3 MB, free: 5.051 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001932/0.4217, allocations: 8 kB / 476.4 MB, free: 5.043 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.251e-05/0.4218, allocations: 0 / 476.4 MB, free: 5.043 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.127e-05/0.4218, allocations: 4 kB / 476.4 MB, free: 5.039 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001287/0.422, allocations: 107.8 kB / 476.5 MB, free: 4.934 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.3e-07/0.422, allocations: 7.938 kB / 476.5 MB, free: 4.926 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004757/0.4225, allocations: 4 kB / 476.5 MB, free: 4.922 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (6): * Single equations (assignments): 6 * 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.0008064/0.4233, allocations: 1.03 MB / 477.5 MB, free: 3.844 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001617/0.4235, allocations: 31.94 kB / 477.5 MB, free: 3.812 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.993e-06/0.4235, allocations: 4 kB / 477.5 MB, free: 3.809 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.787e-05/0.4236, allocations: 7.984 kB / 477.5 MB, free: 3.801 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004803/0.4241, allocations: 32.55 kB / 477.6 MB, free: 3.77 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007079/0.4248, allocations: 165.5 kB / 477.7 MB, free: 3.559 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003608/0.4252, allocations: 0.6965 MB / 478.4 MB, free: 2.836 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.462e-05/0.4252, allocations: 11.97 kB / 478.4 MB, free: 2.824 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.205e-05/0.4253, allocations: 19.44 kB / 478.5 MB, free: 2.805 MB / 346.7 MB Notification: Performance of SimCode: time 3.9e-07/0.4253, allocations: 4 kB / 478.5 MB, free: 2.801 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01204/0.4374, allocations: 1.567 MB / 480 MB, free: 1.363 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001611/0.4376, allocations: 152.7 kB / 480.2 MB, free: 1.145 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.476/1.914, allocations: 0 / 480.2 MB, free: 1.145 MB / 346.7 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Hold_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Hold.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold_res.mat does not exist to compare? outputFormat=mat