Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1.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.HoldWithDAeffects1,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_HoldWithDAeffects1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_HoldWithDAeffects1",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.001632/0.001632, allocations: 181.3 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.088/2.088, 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.001126/0.001126, allocations: 99.75 kB / 267.1 MB, free: 9.281 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.1101/0.1101, allocations: 12.59 MB / 327.8 MB, free: 12.48 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.166e-05/4.186e-05, allocations: 4 kB / 386.1 MB, free: 69.51 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09585/0.09594, allocations: 50.37 MB / 436.5 MB, free: 19.12 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.448/0.544, allocations: 79.53 MB / 0.5039 GB, free: 11.53 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003199/0.5444, allocations: 84.48 kB / 0.504 GB, free: 11.53 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009553/0.554, allocations: 2.319 MB / 0.5063 GB, free: 11.05 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.554, allocations: 4 kB / 0.5063 GB, free: 11.05 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.28e-05/0.5541, allocations: 7.844 kB / 0.5063 GB, free: 11.05 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0005504/0.5546, allocations: 415.4 kB / 0.5067 GB, free: 10.65 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.758e-05/0.5547, allocations: 7.531 kB / 0.5067 GB, free: 10.65 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.814e-05/0.5548, allocations: 37.53 kB / 0.5067 GB, free: 10.61 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.832e-05/0.5548, allocations: 22.88 kB / 0.5067 GB, free: 10.6 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003591/0.5552, allocations: 239 kB / 0.507 GB, free: 10.36 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.157e-05/0.5552, allocations: 15.61 kB / 0.507 GB, free: 10.36 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.481e-05/0.5553, allocations: 7.438 kB / 0.507 GB, free: 10.36 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005302/0.5558, allocations: 254.9 kB / 0.5072 GB, free: 10.21 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.5558, allocations: 0 / 0.5072 GB, free: 10.21 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.282e-05/0.5559, allocations: 3.844 kB / 0.5072 GB, free: 10.21 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.5559, allocations: 0 / 0.5072 GB, free: 10.21 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001438/0.556, allocations: 49.06 kB / 0.5073 GB, free: 10.21 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006557/0.5567, allocations: 441.2 kB / 0.5077 GB, free: 9.789 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003909/0.5571, allocations: 271.3 kB / 0.508 GB, free: 9.551 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000173/0.5573, allocations: 88.2 kB / 0.508 GB, free: 9.512 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.639e-05/0.5574, allocations: 11.52 kB / 0.508 GB, free: 9.504 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.682e-05/0.5574, allocations: 45.56 kB / 0.5081 GB, free: 9.457 MB / 330.7 MB Notification: Performance of pre-optimization done (n=17): time 3.477e-06/0.5574, allocations: 0 / 0.5081 GB, free: 9.457 MB / 330.7 MB Notification: Performance of matching and sorting (n=17): time 0.0004185/0.5578, allocations: 135.5 kB / 0.5082 GB, free: 9.402 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.36e-05/0.558, allocations: 195 kB / 0.5084 GB, free: 9.184 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002091/0.5582, allocations: 158.9 kB / 0.5086 GB, free: 9.078 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.54e-05/0.5582, allocations: 37.3 kB / 0.5086 GB, free: 9.043 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.552e-05/0.5583, allocations: 94.48 kB / 0.5087 GB, free: 8.961 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.058e-05/0.5583, allocations: 18.95 kB / 0.5087 GB, free: 8.949 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.746e-06/0.5583, allocations: 3.75 kB / 0.5087 GB, free: 8.949 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.294e-05/0.5584, allocations: 325.9 kB / 0.509 GB, free: 8.629 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.493e-05/0.5585, allocations: 19.06 kB / 0.509 GB, free: 8.629 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001229/0.5586, allocations: 124.4 kB / 0.5092 GB, free: 8.484 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.608e-05/0.5587, allocations: 42.11 kB / 0.5092 GB, free: 8.469 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.5587, allocations: 0 / 0.5092 GB, free: 8.469 MB / 330.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003044/0.5591, allocations: 144 kB / 0.5093 GB, free: 8.402 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.239e-05/0.5591, allocations: 11.75 kB / 0.5093 GB, free: 8.398 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/0.5591, allocations: 3.844 kB / 0.5093 GB, free: 8.398 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.987e-05/0.5592, allocations: 3.844 kB / 0.5094 GB, free: 8.398 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002514/0.5594, allocations: 38.14 kB / 0.5094 GB, free: 8.391 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.425e-05/0.5594, allocations: 11.47 kB / 0.5094 GB, free: 8.387 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000158/0.5596, allocations: 15.58 kB / 0.5094 GB, free: 8.379 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.929e-05/0.5596, allocations: 15.48 kB / 0.5094 GB, free: 8.375 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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.897e-05/0.5598, allocations: 123.8 kB / 0.5095 GB, free: 8.254 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002829/0.5601, allocations: 129.7 kB / 0.5097 GB, free: 8.195 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.553e-05/0.5601, allocations: 20.38 kB / 0.5097 GB, free: 8.191 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.5602, allocations: 3.969 kB / 0.5097 GB, free: 8.191 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.5602, allocations: 0 / 0.5097 GB, free: 8.191 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.827e-06/0.5602, allocations: 7.984 kB / 0.5097 GB, free: 8.184 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003448/0.5605, allocations: 217.5 kB / 0.5099 GB, free: 7.965 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.5606, allocations: 3.844 kB / 0.5099 GB, free: 7.965 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002609/0.5608, allocations: 42.62 kB / 0.51 GB, free: 7.953 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.722e-06/0.5609, allocations: 4.031 kB / 0.51 GB, free: 7.949 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.712e-05/0.5609, allocations: 7.406 kB / 0.51 GB, free: 7.949 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.938e-06/0.5609, allocations: 0 / 0.51 GB, free: 7.949 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/0.5609, allocations: 3.844 kB / 0.51 GB, free: 7.949 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003501/0.5613, allocations: 383.5 kB / 0.5103 GB, free: 7.621 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.991e-05/0.5614, allocations: 111.7 kB / 0.5104 GB, free: 7.508 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.48e-05/0.5614, allocations: 11.39 kB / 0.5104 GB, free: 7.504 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002242/0.5617, allocations: 11.61 kB / 0.5105 GB, free: 7.5 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.947e-05/0.5617, allocations: 7.812 kB / 0.5105 GB, free: 7.496 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.59e-05/0.5618, allocations: 11.3 kB / 0.5105 GB, free: 7.492 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001288/0.5619, allocations: 133.1 kB / 0.5106 GB, free: 7.41 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.5619, allocations: 0 / 0.5106 GB, free: 7.41 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004176/0.5623, allocations: 18.94 kB / 0.5106 GB, free: 7.41 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (17): * Single equations (assignments): 17 * 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.0005883/0.5629, allocations: 1.179 MB / 0.5118 GB, free: 6.301 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002611/0.5632, allocations: 100 kB / 0.5119 GB, free: 6.277 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.5632, allocations: 0 / 0.5119 GB, free: 6.277 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.358e-05/0.5633, allocations: 7.812 kB / 0.5119 GB, free: 6.273 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006121/0.5639, allocations: 88.05 kB / 0.512 GB, free: 6.254 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001666/0.5656, allocations: 374 kB / 0.5123 GB, free: 6.023 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002137/0.5658, allocations: 0.7337 MB / 0.513 GB, free: 5.301 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 8.874e-05/0.5659, allocations: 13.02 kB / 0.513 GB, free: 5.297 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.478e-05/0.566, allocations: 37.52 kB / 0.5131 GB, free: 5.285 MB / 330.7 MB Notification: Performance of SimCode: time 1.082e-06/0.566, allocations: 0 / 0.5131 GB, free: 5.285 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02793/0.5939, allocations: 2.983 MB / 0.516 GB, free: 3.77 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000283/0.5943, allocations: 188.3 kB / 0.5162 GB, free: 3.539 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.584/3.179, allocations: 0 / 0.5162 GB, free: 3.539 MB / 330.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_HoldWithDAeffects1_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_HoldWithDAeffects1.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.mat does not exist to compare? outputFormat=mat