Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREGL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.DLATREGL,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Digital_Examples_DLATREGL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.DLATREGL,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Digital_Examples_DLATREGL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001116/0.001116, allocations: 196.5 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.353/1.353, allocations: 225.4 MB / 240.1 MB, free: 15.1 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00103/0.00103, allocations: 84.44 kB / 292.1 MB, free: 6 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.407e-05/3.41e-05, allocations: 4 kB / 350.6 MB, free: 2.469 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.1181, allocations: 51.47 MB / 402.1 MB, free: 14.95 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3596/0.4777, allocations: 83.71 MB / 485.8 MB, free: 5.715 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001876/0.478, allocations: 65.66 kB / 485.9 MB, free: 5.684 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06653/0.5445, allocations: 33.84 MB / 0.5076 GB, free: 5.895 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.5446, allocations: 0 / 0.5076 GB, free: 5.895 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.474e-05/0.5446, allocations: 12 kB / 0.5076 GB, free: 5.883 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001344/0.546, allocations: 1.005 MB / 0.5085 GB, free: 4.785 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.351e-05/0.546, allocations: 16.02 kB / 0.5086 GB, free: 4.77 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.927e-05/0.5461, allocations: 58.55 kB / 0.5086 GB, free: 4.703 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001426/0.5463, allocations: 90.92 kB / 0.5087 GB, free: 4.613 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006369/0.5469, allocations: 415.6 kB / 0.5091 GB, free: 4.164 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.352e-05/0.547, allocations: 19.98 kB / 0.5091 GB, free: 4.145 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.625e-05/0.547, allocations: 28 kB / 0.5091 GB, free: 4.117 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008176/0.5479, allocations: 498.1 kB / 0.5096 GB, free: 3.621 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.5479, allocations: 0 / 0.5096 GB, free: 3.621 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.244e-05/0.548, allocations: 15.98 kB / 0.5096 GB, free: 3.605 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.749e-06/0.548, allocations: 7.953 kB / 0.5096 GB, free: 3.598 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005257/0.5485, allocations: 364.1 kB / 0.51 GB, free: 3.242 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001497/0.55, allocations: 0.9184 MB / 0.5109 GB, free: 2.273 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000688/0.5507, allocations: 0.5025 MB / 0.5114 GB, free: 1.758 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006389/0.5514, allocations: 488.9 kB / 0.5118 GB, free: 1.277 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.381e-05/0.5514, allocations: 0 / 0.5118 GB, free: 1.277 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008407/0.5522, allocations: 0.6267 MB / 0.5125 GB, free: 0.6133 MB / 378.7 MB Notification: Performance of pre-optimization done (n=32): time 1.473e-06/0.5522, allocations: 0 / 0.5125 GB, free: 0.6133 MB / 378.7 MB Notification: Performance of matching and sorting (n=32): time 0.001759/0.554, allocations: 1.128 MB / 0.5136 GB, free: 15.44 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000202/0.5542, allocations: 295.2 kB / 0.5138 GB, free: 15.09 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001391/0.5556, allocations: 1.015 MB / 0.5148 GB, free: 14.07 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.957e-05/0.5557, allocations: 45.69 kB / 0.5149 GB, free: 14.02 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001175/0.5558, allocations: 141.9 kB / 0.515 GB, free: 13.88 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.54e-05/0.5559, allocations: 71.25 kB / 0.5151 GB, free: 13.8 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.81e-05/0.556, allocations: 7.984 kB / 0.5151 GB, free: 13.8 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001564/0.5561, allocations: 346.8 kB / 0.5154 GB, free: 13.45 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004885/0.5566, allocations: 343.8 kB / 0.5157 GB, free: 13.11 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005243/0.5572, allocations: 355.8 kB / 0.5161 GB, free: 12.77 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005249/0.5577, allocations: 491.9 kB / 0.5166 GB, free: 12.24 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.5577, allocations: 0 / 0.5166 GB, free: 12.24 MB / 394.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001506/0.5592, allocations: 1.1 MB / 0.5176 GB, free: 11.09 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001996/0.5595, allocations: 249.2 kB / 0.5179 GB, free: 10.81 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.5595, allocations: 0 / 0.5179 GB, free: 10.81 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.5595, allocations: 0 / 0.5179 GB, free: 10.81 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.658e-05/0.5595, allocations: 4 kB / 0.5179 GB, free: 10.8 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.786e-06/0.5595, allocations: 0 / 0.5179 GB, free: 10.8 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003266/0.5599, allocations: 47.81 kB / 0.5179 GB, free: 10.76 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001708/0.56, allocations: 122.9 kB / 0.518 GB, free: 10.64 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 36 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,enable.y,data_0.y,reset.y,data_1.y,$PRE.dLATREGL.delay.inertialDelaySensitive[1].x,dLATREGL.delay.inertialDelaySensitive[1].x,$PRE.dLATREGL.delay.inertialDelaySensitive[1].y,dLATREGL.delay.inertialDelaySensitive[1].y,dLATREGL.delay.inertialDelaySensitive[1].delayTime,dLATREGL.delay.inertialDelaySensitive[1].y_auxiliary,dLATREGL.delay.inertialDelaySensitive[1].y_old,dLATREGL.delay.inertialDelaySensitive[1].lh,dLATREGL.delay.inertialDelaySensitive[1].t_next,$PRE.dLATREGL.delay.inertialDelaySensitive[2].x,dLATREGL.delay.inertialDelaySensitive[2].x,$PRE.dLATREGL.delay.inertialDelaySensitive[2].y,dLATREGL.delay.inertialDelaySensitive[2].y,dLATREGL.delay.inertialDelaySensitive[2].delayTime,dLATREGL.delay.inertialDelaySensitive[2].y_auxiliary,dLATREGL.delay.inertialDelaySensitive[2].y_old,dLATREGL.delay.inertialDelaySensitive[2].lh,dLATREGL.delay.inertialDelaySensitive[2].t_next,dLATREGL.dLATR.dataIn[1],dLATREGL.dLATR.dataIn[2],dLATREGL.dLATR.dataOut[1],dLATREGL.dLATR.dataOut[2],dLATREGL.dLATR.enable_flag,dLATREGL.dLATR.reset_flag,dLATREGL.dLATR.nextstate[1],dLATREGL.dLATR.nextstate[2],dLATREGL.dLATR.next_assign_val[1],dLATREGL.dLATR.next_assign_val[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 7 * 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.0003853/0.5604, allocations: 414 kB / 0.5184 GB, free: 10.18 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001106/0.5606, allocations: 87.06 kB / 0.5185 GB, free: 10.1 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002579/0.5608, allocations: 151.6 kB / 0.5187 GB, free: 9.945 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/0.5608, allocations: 0 / 0.5187 GB, free: 9.945 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.5609, allocations: 3.938 kB / 0.5187 GB, free: 9.941 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.5609, allocations: 0 / 0.5187 GB, free: 9.941 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002568/0.5634, allocations: 1.938 MB / 0.5206 GB, free: 7.902 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.5635, allocations: 0 / 0.5206 GB, free: 7.902 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.164e-05/0.5635, allocations: 4 kB / 0.5206 GB, free: 7.898 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.5635, allocations: 0 / 0.5206 GB, free: 7.898 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.781e-05/0.5636, allocations: 31.98 kB / 0.5206 GB, free: 7.867 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.469e-06/0.5636, allocations: 3.984 kB / 0.5206 GB, free: 7.863 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.5636, allocations: 0 / 0.5206 GB, free: 7.863 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001873/0.5654, allocations: 1.365 MB / 0.5219 GB, free: 6.438 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000907/0.5664, allocations: 0.5582 MB / 0.5225 GB, free: 5.859 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001501/0.5665, allocations: 55.97 kB / 0.5225 GB, free: 5.805 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003145/0.5668, allocations: 35.88 kB / 0.5226 GB, free: 5.77 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004446/0.5673, allocations: 239.7 kB / 0.5228 GB, free: 5.535 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001565/0.5675, allocations: 128.4 kB / 0.5229 GB, free: 5.41 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.00117/0.5686, allocations: 0.8539 MB / 0.5237 GB, free: 4.559 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5687, allocations: 4 kB / 0.5237 GB, free: 4.555 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004867/0.5692, allocations: 124 kB / 0.5239 GB, free: 4.434 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 32 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,enable.y,data_0.y,reset.y,data_1.y,dLATREGL.delay.inertialDelaySensitive[1].x,dLATREGL.delay.inertialDelaySensitive[1].y,dLATREGL.delay.inertialDelaySensitive[1].delayTime,dLATREGL.delay.inertialDelaySensitive[1].y_auxiliary,dLATREGL.delay.inertialDelaySensitive[1].y_old,dLATREGL.delay.inertialDelaySensitive[1].lh,dLATREGL.delay.inertialDelaySensitive[1].t_next,dLATREGL.delay.inertialDelaySensitive[2].x,dLATREGL.delay.inertialDelaySensitive[2].y,dLATREGL.delay.inertialDelaySensitive[2].delayTime,dLATREGL.delay.inertialDelaySensitive[2].y_auxiliary,dLATREGL.delay.inertialDelaySensitive[2].y_old,dLATREGL.delay.inertialDelaySensitive[2].lh,dLATREGL.delay.inertialDelaySensitive[2].t_next,dLATREGL.dLATR.dataIn[1],dLATREGL.dLATR.dataIn[2],dLATREGL.dLATR.dataOut[1],dLATREGL.dLATR.dataOut[2],dLATREGL.dLATR.enable_flag,dLATREGL.dLATR.reset_flag,dLATREGL.dLATR.nextstate[1],dLATREGL.dLATR.nextstate[2],dLATREGL.dLATR.next_assign_val[1],dLATREGL.dLATR.next_assign_val[2]) * Number of discrete states: 30 (enable.y,data_0.y,reset.y,data_1.y,dLATREGL.dLATR.dataOut[2],dLATREGL.dLATR.dataOut[1],dLATREGL.dLATR.next_assign_val[2],dLATREGL.dLATR.next_assign_val[1],dLATREGL.dLATR.nextstate[2],dLATREGL.dLATR.nextstate[1],dLATREGL.dLATR.reset_flag,dLATREGL.dLATR.enable_flag,dLATREGL.delay.inertialDelaySensitive[1].y,dLATREGL.delay.inertialDelaySensitive[1].y_auxiliary,dLATREGL.delay.inertialDelaySensitive[1].t_next,dLATREGL.delay.inertialDelaySensitive[1].delayTime,dLATREGL.delay.inertialDelaySensitive[1].lh,dLATREGL.delay.inertialDelaySensitive[1].y_old,$whenCondition4,$whenCondition3,dLATREGL.delay.inertialDelaySensitive[1].x,dLATREGL.delay.inertialDelaySensitive[2].y,dLATREGL.delay.inertialDelaySensitive[2].y_auxiliary,dLATREGL.delay.inertialDelaySensitive[2].t_next,dLATREGL.delay.inertialDelaySensitive[2].delayTime,dLATREGL.delay.inertialDelaySensitive[2].lh,dLATREGL.delay.inertialDelaySensitive[2].y_old,$whenCondition2,$whenCondition1,dLATREGL.delay.inertialDelaySensitive[2].x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 7 * 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.00226/0.5714, allocations: 1.989 MB / 0.5258 GB, free: 2.375 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00184/0.5733, allocations: 1.507 MB / 0.5273 GB, free: 0.7812 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.051e-06/0.5733, allocations: 4 kB / 0.5273 GB, free: 0.7773 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001256/0.5746, allocations: 1.145 MB / 0.5284 GB, free: 15.55 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00114/0.5757, allocations: 255.7 kB / 0.5286 GB, free: 15.3 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003492/0.5792, allocations: 1.877 MB / 0.5305 GB, free: 13.38 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008009/0.58, allocations: 1.035 MB / 0.5315 GB, free: 12.31 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001501/0.5802, allocations: 38.14 kB / 0.5315 GB, free: 12.28 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.759e-05/0.5803, allocations: 71.41 kB / 0.5316 GB, free: 12.21 MB / 410.7 MB Notification: Performance of SimCode: time 1.432e-06/0.5803, allocations: 0 / 0.5316 GB, free: 12.21 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03121/0.6115, allocations: 15.42 MB / 0.5467 GB, free: 12.71 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002559/0.6118, allocations: 151 kB / 0.5468 GB, free: 12.49 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.008/2.62, allocations: 7.562 kB / 0.5468 GB, free: 12.48 MB / 426.7 MB (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREGL.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREGL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREGL.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREGL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREGL_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Digital_Examples_DLATREGL_fmu --startTime=0 --stopTime=25 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Digital_Examples_DLATREGL.fmu > Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREGL.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREGL_res.mat does not exist to compare? outputFormat=mat