Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2.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.HoldWithDAeffects2,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_HoldWithDAeffects2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_HoldWithDAeffects2",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.002146/0.002146, 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.161/2.161, 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.001086/0.001086, allocations: 98.39 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.1057/0.1057, allocations: 12.58 MB / 327.8 MB, free: 12.48 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.928e-05/3.96e-05, allocations: 7.984 kB / 386.1 MB, free: 69.5 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.1211, allocations: 50.37 MB / 436.5 MB, free: 19.12 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4793/0.6005, allocations: 79.54 MB / 0.5039 GB, free: 11.46 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003247/0.6009, allocations: 80.73 kB / 0.504 GB, free: 11.45 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009677/0.6106, allocations: 2.386 MB / 0.5063 GB, free: 10.95 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.6106, allocations: 0 / 0.5063 GB, free: 10.95 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.271e-05/0.6107, allocations: 7.812 kB / 0.5063 GB, free: 10.95 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.0006077/0.6113, allocations: 424.5 kB / 0.5067 GB, free: 10.54 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.992e-05/0.6113, allocations: 7.688 kB / 0.5067 GB, free: 10.54 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.425e-05/0.6114, allocations: 45.58 kB / 0.5068 GB, free: 10.49 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.215e-05/0.6115, allocations: 15.53 kB / 0.5068 GB, free: 10.48 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003374/0.6118, allocations: 237.4 kB / 0.507 GB, free: 10.25 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.02e-05/0.6118, allocations: 7.922 kB / 0.507 GB, free: 10.25 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.303e-05/0.6119, allocations: 11.34 kB / 0.507 GB, free: 10.25 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005554/0.6124, allocations: 254.6 kB / 0.5073 GB, free: 10.11 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.6125, allocations: 3.875 kB / 0.5073 GB, free: 10.11 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.147e-05/0.6125, allocations: 3.438 kB / 0.5073 GB, free: 10.11 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.195e-06/0.6125, allocations: 7.656 kB / 0.5073 GB, free: 10.11 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001452/0.6127, allocations: 52.39 kB / 0.5074 GB, free: 10.09 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000593/0.6133, allocations: 434.5 kB / 0.5078 GB, free: 9.676 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003947/0.6137, allocations: 273.8 kB / 0.508 GB, free: 9.441 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001719/0.6139, allocations: 90.33 kB / 0.5081 GB, free: 9.398 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.785e-05/0.6139, allocations: 7.25 kB / 0.5081 GB, free: 9.398 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.602e-05/0.614, allocations: 38.48 kB / 0.5082 GB, free: 9.352 MB / 330.7 MB Notification: Performance of pre-optimization done (n=18): time 2.956e-06/0.614, allocations: 0 / 0.5082 GB, free: 9.352 MB / 330.7 MB Notification: Performance of matching and sorting (n=18): time 0.0004092/0.6144, allocations: 149.6 kB / 0.5083 GB, free: 9.293 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.431e-05/0.6145, allocations: 198.4 kB / 0.5085 GB, free: 9.066 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001876/0.6147, allocations: 150 kB / 0.5086 GB, free: 8.969 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.303e-05/0.6148, allocations: 32.89 kB / 0.5087 GB, free: 8.938 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.498e-05/0.6148, allocations: 104.2 kB / 0.5088 GB, free: 8.844 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.828e-05/0.6149, allocations: 14.64 kB / 0.5088 GB, free: 8.836 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.446e-06/0.6149, allocations: 3.031 kB / 0.5088 GB, free: 8.836 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.099e-05/0.615, allocations: 328.6 kB / 0.5091 GB, free: 8.516 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.876e-05/0.615, allocations: 17.69 kB / 0.5091 GB, free: 8.516 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001332/0.6152, allocations: 141.9 kB / 0.5092 GB, free: 8.359 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001013/0.6153, allocations: 41.89 kB / 0.5093 GB, free: 8.348 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.6153, allocations: 0 / 0.5093 GB, free: 8.348 MB / 330.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003223/0.6157, allocations: 157 kB / 0.5094 GB, free: 8.277 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.26e-05/0.6157, allocations: 11.7 kB / 0.5094 GB, free: 8.273 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.949e-06/0.6157, allocations: 3.844 kB / 0.5095 GB, free: 8.273 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.622e-05/0.6157, allocations: 12.19 kB / 0.5095 GB, free: 8.27 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002629/0.616, allocations: 42.48 kB / 0.5095 GB, free: 8.258 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.682e-05/0.616, allocations: 15.55 kB / 0.5095 GB, free: 8.25 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001579/0.6162, allocations: 11.56 kB / 0.5095 GB, free: 8.246 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.972e-05/0.6162, allocations: 10.84 kB / 0.5095 GB, free: 8.246 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 19 * 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 0.0001057/0.6164, allocations: 123.5 kB / 0.5097 GB, free: 8.129 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002822/0.6167, allocations: 131 kB / 0.5098 GB, free: 8.07 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.474e-05/0.6168, allocations: 26.62 kB / 0.5098 GB, free: 8.059 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.002e-06/0.6168, allocations: 7.875 kB / 0.5098 GB, free: 8.055 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.6168, allocations: 0 / 0.5098 GB, free: 8.055 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.553e-06/0.6168, allocations: 3.969 kB / 0.5098 GB, free: 8.055 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003137/0.6171, allocations: 225 kB / 0.51 GB, free: 7.832 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.257e-06/0.6171, allocations: 0 / 0.51 GB, free: 7.832 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002642/0.6174, allocations: 42.23 kB / 0.5101 GB, free: 7.824 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.344e-06/0.6174, allocations: 3.844 kB / 0.5101 GB, free: 7.824 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.677e-05/0.6175, allocations: 3.984 kB / 0.5101 GB, free: 7.82 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.252e-06/0.6175, allocations: 11.73 kB / 0.5101 GB, free: 7.812 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.706e-06/0.6175, allocations: 4 kB / 0.5101 GB, free: 7.809 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003534/0.6179, allocations: 380.4 kB / 0.5105 GB, free: 7.492 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000105/0.618, allocations: 107 kB / 0.5106 GB, free: 7.383 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.761e-05/0.618, allocations: 7.25 kB / 0.5106 GB, free: 7.383 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002247/0.6183, allocations: 15.64 kB / 0.5106 GB, free: 7.379 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.917e-05/0.6183, allocations: 7.781 kB / 0.5106 GB, free: 7.375 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.637e-05/0.6183, allocations: 3.844 kB / 0.5106 GB, free: 7.375 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001279/0.6185, allocations: 137.8 kB / 0.5107 GB, free: 7.289 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.6185, allocations: 4 kB / 0.5107 GB, free: 7.285 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00043/0.6189, allocations: 22.69 kB / 0.5108 GB, free: 7.285 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 (18): * Single equations (assignments): 18 * 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.0008178/0.6198, allocations: 1.236 MB / 0.512 GB, free: 6.164 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002844/0.6201, allocations: 103.1 kB / 0.5121 GB, free: 6.145 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.6201, allocations: 4.125 kB / 0.5121 GB, free: 6.141 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.273e-05/0.6201, allocations: 3.875 kB / 0.5121 GB, free: 6.141 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006552/0.6208, allocations: 88.5 kB / 0.5122 GB, free: 6.125 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008577/0.6217, allocations: 267.9 kB / 0.5124 GB, free: 5.926 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002102/0.6219, allocations: 0.7345 MB / 0.5131 GB, free: 5.203 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 8.505e-05/0.622, allocations: 9.25 kB / 0.5131 GB, free: 5.203 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.862e-05/0.6221, allocations: 44.62 kB / 0.5132 GB, free: 5.188 MB / 330.7 MB Notification: Performance of SimCode: time 9.61e-07/0.6221, allocations: 0 / 0.5132 GB, free: 5.188 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02479/0.6469, allocations: 3.078 MB / 0.5162 GB, free: 3.625 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000264/0.6473, allocations: 184.2 kB / 0.5164 GB, free: 3.398 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.536/3.183, allocations: 0 / 0.5164 GB, free: 3.398 MB / 330.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_HoldWithDAeffects2_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_HoldWithDAeffects2.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2_res.mat does not exist to compare? outputFormat=mat