Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Hold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.RealSignals.Hold,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_Hold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.RealSignals.Hold,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_Hold",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003094/0.003094, allocations: 181.4 kB / 13.23 MB, free: 2.086 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.159/2.159, allocations: 205.2 MB / 219 MB, free: 9.199 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001185/0.001184, allocations: 101.1 kB / 267.1 MB, free: 9.27 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.1194/0.1194, allocations: 12.59 MB / 327.8 MB, free: 12.48 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.274e-05/3.278e-05, allocations: 8 kB / 386.1 MB, free: 69.5 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09956/0.09961, allocations: 50.38 MB / 436.5 MB, free: 19.11 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4491/0.5488, allocations: 78.42 MB / 0.5028 GB, free: 11.48 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000265/0.5491, allocations: 78.38 kB / 0.5029 GB, free: 11.48 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005619/0.5548, allocations: 1.541 MB / 0.5044 GB, free: 11.08 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.5548, allocations: 0 / 0.5044 GB, free: 11.08 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.123e-05/0.5548, allocations: 3.844 kB / 0.5044 GB, free: 11.08 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003712/0.5552, allocations: 360 kB / 0.5048 GB, free: 10.71 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/0.5553, allocations: 15.44 kB / 0.5048 GB, free: 10.71 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.074e-05/0.5553, allocations: 34.31 kB / 0.5048 GB, free: 10.67 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.153e-05/0.5554, allocations: 7.875 kB / 0.5048 GB, free: 10.67 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002001/0.5556, allocations: 205.4 kB / 0.505 GB, free: 10.45 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.5556, allocations: 3.953 kB / 0.505 GB, free: 10.45 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.425e-05/0.5556, allocations: 7.5 kB / 0.505 GB, free: 10.45 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000272/0.5559, allocations: 118.3 kB / 0.5051 GB, free: 10.37 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/0.5559, allocations: 4 kB / 0.5051 GB, free: 10.36 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.5559, allocations: 0 / 0.5051 GB, free: 10.36 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.556, allocations: 3.812 kB / 0.5051 GB, free: 10.36 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.397e-05/0.556, allocations: 21.25 kB / 0.5052 GB, free: 10.36 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004126/0.5565, allocations: 378 kB / 0.5055 GB, free: 9.984 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000103/0.5566, allocations: 85.66 kB / 0.5056 GB, free: 9.887 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.668e-05/0.5567, allocations: 45.67 kB / 0.5056 GB, free: 9.852 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.622e-05/0.5567, allocations: 0 / 0.5056 GB, free: 9.852 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.284e-05/0.5567, allocations: 38.34 kB / 0.5057 GB, free: 9.809 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 1.683e-06/0.5567, allocations: 0 / 0.5057 GB, free: 9.809 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002281/0.557, allocations: 70.33 kB / 0.5058 GB, free: 9.77 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.811e-05/0.557, allocations: 139.8 kB / 0.5059 GB, free: 9.609 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001186/0.5572, allocations: 131.7 kB / 0.506 GB, free: 9.516 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.19e-05/0.5572, allocations: 25.7 kB / 0.506 GB, free: 9.484 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.323e-05/0.5572, allocations: 87.03 kB / 0.5061 GB, free: 9.402 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.986e-05/0.5573, allocations: 11.62 kB / 0.5061 GB, free: 9.398 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.129e-06/0.5573, allocations: 3.938 kB / 0.5061 GB, free: 9.395 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.416e-05/0.5574, allocations: 321.3 kB / 0.5064 GB, free: 9.078 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.076e-05/0.5574, allocations: 14.41 kB / 0.5065 GB, free: 9.074 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.448e-05/0.5575, allocations: 36.11 kB / 0.5065 GB, free: 9.035 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.326e-05/0.5575, allocations: 13.67 kB / 0.5065 GB, free: 9.035 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.5575, allocations: 0 / 0.5065 GB, free: 9.035 MB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001386/0.5577, allocations: 74.09 kB / 0.5066 GB, free: 8.988 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.5577, allocations: 10.88 kB / 0.5066 GB, free: 8.988 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.5577, allocations: 0 / 0.5066 GB, free: 8.988 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.5577, allocations: 3.844 kB / 0.5066 GB, free: 8.988 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001422/0.5579, allocations: 11.19 kB / 0.5066 GB, free: 8.988 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.114e-05/0.5579, allocations: 11.16 kB / 0.5066 GB, free: 8.984 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.09e-05/0.558, allocations: 3.969 kB / 0.5066 GB, free: 8.984 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.127e-05/0.558, allocations: 8.094 kB / 0.5066 GB, free: 8.98 MB / 330.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 5.62e-05/0.5581, allocations: 116.6 kB / 0.5067 GB, free: 8.859 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001216/0.5582, allocations: 58.81 kB / 0.5068 GB, free: 8.824 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.005e-05/0.5583, allocations: 15.25 kB / 0.5068 GB, free: 8.816 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.5583, allocations: 3.188 kB / 0.5068 GB, free: 8.816 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.5583, allocations: 3.969 kB / 0.5068 GB, free: 8.816 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.5583, allocations: 0 / 0.5068 GB, free: 8.816 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002443/0.5586, allocations: 184.5 kB / 0.507 GB, free: 8.621 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.5586, allocations: 4.062 kB / 0.507 GB, free: 8.617 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001112/0.5587, allocations: 22.16 kB / 0.507 GB, free: 8.609 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.5587, allocations: 3.875 kB / 0.507 GB, free: 8.609 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.5587, allocations: 3.188 kB / 0.507 GB, free: 8.609 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.5587, allocations: 3.812 kB / 0.507 GB, free: 8.609 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.5588, allocations: 0 / 0.507 GB, free: 8.609 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001858/0.559, allocations: 297.8 kB / 0.5073 GB, free: 8.324 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.14e-05/0.559, allocations: 90.8 kB / 0.5074 GB, free: 8.227 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.18e-05/0.5591, allocations: 6.812 kB / 0.5074 GB, free: 8.227 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001459/0.5592, allocations: 10.69 kB / 0.5074 GB, free: 8.223 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.131e-05/0.5593, allocations: 0 / 0.5074 GB, free: 8.223 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.238e-06/0.5593, allocations: 15.73 kB / 0.5074 GB, free: 8.211 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.937e-05/0.5594, allocations: 116.9 kB / 0.5075 GB, free: 8.133 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.5594, allocations: 0 / 0.5075 GB, free: 8.133 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003298/0.5597, allocations: 7.656 kB / 0.5075 GB, free: 8.133 MB / 330.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.0003817/0.5601, allocations: 1.023 MB / 0.5085 GB, free: 7.129 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001291/0.5602, allocations: 36.67 kB / 0.5086 GB, free: 7.125 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.5603, allocations: 0 / 0.5086 GB, free: 7.125 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.079e-05/0.5603, allocations: 8.156 kB / 0.5086 GB, free: 7.121 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003763/0.5607, allocations: 30.88 kB / 0.5086 GB, free: 7.117 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005365/0.5612, allocations: 167 kB / 0.5088 GB, free: 6.969 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001755/0.5614, allocations: 0.6957 MB / 0.5094 GB, free: 6.273 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.78e-05/0.5615, allocations: 8.156 kB / 0.5095 GB, free: 6.27 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.384e-05/0.5616, allocations: 21.84 kB / 0.5095 GB, free: 6.262 MB / 330.7 MB Notification: Performance of SimCode: time 6.91e-07/0.5616, allocations: 0 / 0.5095 GB, free: 6.262 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02037/0.5819, allocations: 1.576 MB / 0.511 GB, free: 5.766 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002061/0.5822, allocations: 173.4 kB / 0.5112 GB, free: 5.539 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.372/2.954, allocations: 4 kB / 0.5112 GB, free: 5.535 MB / 330.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Hold.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Hold.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Hold.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Hold.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Hold_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_Hold_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_Hold.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Hold.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Hold_res.mat does not exist to compare? outputFormat=mat