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.001053/0.001053, allocations: 199.7 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.221/1.221, allocations: 227.2 MB / 245 MB, free: 5.891 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008442/0.0008442, allocations: 97.78 kB / 297.3 MB, free: 5.984 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002046/0.0002045, allocations: 8 kB / 358 MB, free: 9.238 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1924/0.1926, allocations: 51.48 MB / 409.5 MB, free: 26.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08832/0.281, allocations: 83.78 MB / 493.3 MB, free: 6.805 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001743/0.2812, allocations: 67.97 kB / 493.3 MB, free: 6.738 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2099/0.4911, allocations: 33.65 MB / 0.5146 GB, free: 93.32 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.4912, allocations: 0 / 0.5146 GB, free: 93.32 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.188e-05/0.4912, allocations: 7.875 kB / 0.5146 GB, free: 93.32 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.001173/0.4924, allocations: 1.148 MB / 0.5158 GB, free: 92.38 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.385e-05/0.4924, allocations: 7.438 kB / 0.5158 GB, free: 92.38 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001013/0.4925, allocations: 54.53 kB / 0.5158 GB, free: 92.34 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001351/0.4927, allocations: 99.77 kB / 0.5159 GB, free: 92.29 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005785/0.4933, allocations: 410.3 kB / 0.5163 GB, free: 91.98 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.63e-05/0.4933, allocations: 18.62 kB / 0.5163 GB, free: 91.98 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.42e-05/0.4934, allocations: 26.92 kB / 0.5164 GB, free: 91.97 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006672/0.494, allocations: 0.4995 MB / 0.5168 GB, free: 91.77 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.4941, allocations: 0 / 0.5168 GB, free: 91.77 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.736e-05/0.4941, allocations: 19.55 kB / 0.5169 GB, free: 91.76 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.4941, allocations: 7.5 kB / 0.5169 GB, free: 91.75 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000447/0.4946, allocations: 365.9 kB / 0.5172 GB, free: 91.59 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001371/0.496, allocations: 0.9221 MB / 0.5181 GB, free: 90.91 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005138/0.4965, allocations: 0.5011 MB / 0.5186 GB, free: 90.62 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.766e-06/0.4965, allocations: 0 / 0.5186 GB, free: 90.62 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006011/0.4971, allocations: 0.6322 MB / 0.5192 GB, free: 90.19 MB / 378.7 MB Notification: Performance of pre-optimization done (n=32): time 1.693e-06/0.4971, allocations: 0 / 0.5192 GB, free: 90.19 MB / 378.7 MB Notification: Performance of matching and sorting (n=32): time 0.001758/0.4989, allocations: 1.751 MB / 0.5209 GB, free: 89.07 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.924e-05/0.499, allocations: 290.2 kB / 0.5212 GB, free: 88.75 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001119/0.5001, allocations: 1.026 MB / 0.5222 GB, free: 88.14 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.343e-05/0.5002, allocations: 45.56 kB / 0.5223 GB, free: 88.1 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.604e-05/0.5003, allocations: 137.9 kB / 0.5224 GB, free: 87.97 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.271e-05/0.5003, allocations: 75.92 kB / 0.5225 GB, free: 87.92 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.591e-05/0.5004, allocations: 7.938 kB / 0.5225 GB, free: 87.92 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.819e-05/0.5004, allocations: 347 kB / 0.5228 GB, free: 87.58 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003908/0.5008, allocations: 343.2 kB / 0.5231 GB, free: 87.35 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004075/0.5013, allocations: 374.2 kB / 0.5235 GB, free: 86.98 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003804/0.5016, allocations: 0.4933 MB / 0.524 GB, free: 86.44 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.5017, allocations: 0 / 0.524 GB, free: 86.44 MB / 378.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001114/0.5028, allocations: 1.105 MB / 0.525 GB, free: 85.29 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001119/0.5029, allocations: 246.2 kB / 0.5253 GB, free: 85.01 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.5029, allocations: 4 kB / 0.5253 GB, free: 85.01 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.5029, allocations: 4.062 kB / 0.5253 GB, free: 85 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.289e-05/0.503, allocations: 4 kB / 0.5253 GB, free: 85 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.503, allocations: 0 / 0.5253 GB, free: 85 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002789/0.5033, allocations: 43.77 kB / 0.5253 GB, free: 84.96 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001145/0.5034, allocations: 132.2 kB / 0.5255 GB, free: 84.83 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 36 ($PRE.dLATREGL.delay.inertialDelaySensitive[2].y,$PRE.dLATREGL.delay.inertialDelaySensitive[1].y,$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,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,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 () * Number of clocked 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.0006175/0.504, allocations: 0.7708 MB / 0.5262 GB, free: 84.02 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.881e-05/0.5041, allocations: 94.97 kB / 0.5263 GB, free: 83.92 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001873/0.5043, allocations: 147.5 kB / 0.5264 GB, free: 83.77 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.5043, allocations: 0 / 0.5264 GB, free: 83.77 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.5043, allocations: 0 / 0.5264 GB, free: 83.77 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.5043, allocations: 3.984 kB / 0.5265 GB, free: 83.77 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001889/0.5062, allocations: 1.949 MB / 0.5284 GB, free: 81.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.5062, allocations: 0 / 0.5284 GB, free: 81.73 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.765e-06/0.5062, allocations: 3.938 kB / 0.5284 GB, free: 81.72 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.5063, allocations: 0 / 0.5284 GB, free: 81.72 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.683e-05/0.5063, allocations: 35.98 kB / 0.5284 GB, free: 81.69 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.5063, allocations: 0 / 0.5284 GB, free: 81.69 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.5063, allocations: 3.953 kB / 0.5284 GB, free: 81.68 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001324/0.5077, allocations: 1.375 MB / 0.5297 GB, free: 80.25 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007027/0.5084, allocations: 0.562 MB / 0.5303 GB, free: 79.67 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001295/0.5085, allocations: 59.95 kB / 0.5303 GB, free: 79.61 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002732/0.5088, allocations: 35.97 kB / 0.5304 GB, free: 79.58 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000293/0.5091, allocations: 231.8 kB / 0.5306 GB, free: 79.35 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001155/0.5092, allocations: 135.9 kB / 0.5307 GB, free: 79.22 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0008818/0.5101, allocations: 0.8538 MB / 0.5316 GB, free: 78.37 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5101, allocations: 0 / 0.5316 GB, free: 78.37 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003919/0.5105, allocations: 124 kB / 0.5317 GB, free: 78.25 MB / 378.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) * Number of clocked states: 0 () * 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.001588/0.5121, allocations: 2.011 MB / 0.5336 GB, free: 76.18 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001258/0.5134, allocations: 1.534 MB / 0.5351 GB, free: 74.56 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.5134, allocations: 0 / 0.5351 GB, free: 74.56 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007236/0.5141, allocations: 1.14 MB / 0.5363 GB, free: 73.33 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008312/0.515, allocations: 263.8 kB / 0.5365 GB, free: 73.09 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005003/0.52, allocations: 4.816 MB / 0.5412 GB, free: 68.22 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004931/0.5205, allocations: 1.031 MB / 0.5422 GB, free: 67.16 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001126/0.5206, allocations: 41.42 kB / 0.5423 GB, free: 67.12 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.713e-05/0.5207, allocations: 75.41 kB / 0.5423 GB, free: 67.05 MB / 378.7 MB Notification: Performance of SimCode: time 3.21e-07/0.5207, allocations: 0 / 0.5423 GB, free: 67.05 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02206/0.5427, allocations: 15.42 MB / 0.5574 GB, free: 51.59 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001265/0.5429, allocations: 184.7 kB / 0.5576 GB, free: 51.34 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.841/2.384, allocations: 0 / 0.5576 GB, free: 51.34 MB / 378.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