Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Digital.Examples.VectorDelay.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) 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.Electrical.Digital.Examples.VectorDelay,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Digital_Examples_VectorDelay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.VectorDelay,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Digital_Examples_VectorDelay",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.001054/0.001054, allocations: 171.3 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.449/1.449, allocations: 205.2 MB / 219.8 MB, free: 14.26 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.0008815/0.0008814, allocations: 90.64 kB / 268 MB, free: 14.09 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.294e-05/3.296e-05, allocations: 4 kB / 322.5 MB, free: 17.26 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0894/0.08945, allocations: 47.57 MB / 370.1 MB, free: 1.621 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3008/0.3903, allocations: 80.76 MB / 450.9 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001734/0.3906, allocations: 66.53 kB / 450.9 MB, free: 12.43 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02629/0.4169, allocations: 13.39 MB / 464.3 MB, free: 0.582 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.434e-06/0.4169, allocations: 0 / 464.3 MB, free: 0.582 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.226e-05/0.417, allocations: 8 kB / 464.3 MB, free: 0.5742 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001523/0.4185, allocations: 1.041 MB / 465.4 MB, free: 15.45 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.985e-05/0.4186, allocations: 8.031 kB / 465.4 MB, free: 15.44 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001333/0.4187, allocations: 50.55 kB / 465.4 MB, free: 15.38 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001632/0.4189, allocations: 94.83 kB / 465.5 MB, free: 15.29 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006401/0.4195, allocations: 420.8 kB / 465.9 MB, free: 14.82 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.63e-05/0.4196, allocations: 15.98 kB / 466 MB, free: 14.81 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.978e-05/0.4197, allocations: 16 kB / 466 MB, free: 14.79 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005624/0.4202, allocations: 340.5 kB / 466.3 MB, free: 14.45 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.4203, allocations: 4 kB / 466.3 MB, free: 14.44 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.079e-05/0.4203, allocations: 8 kB / 466.3 MB, free: 14.43 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.236e-06/0.4203, allocations: 7.953 kB / 466.3 MB, free: 14.43 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003858/0.4207, allocations: 195.8 kB / 466.5 MB, free: 14.23 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001574/0.4223, allocations: 0.9666 MB / 467.5 MB, free: 13.21 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004018/0.4227, allocations: 299.6 kB / 467.8 MB, free: 12.89 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003362/0.4231, allocations: 270.5 kB / 468 MB, free: 12.62 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.513e-05/0.4231, allocations: 0 / 468 MB, free: 12.62 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006454/0.4237, allocations: 0.5745 MB / 468.6 MB, free: 11.98 MB / 346.7 MB Notification: Performance of pre-optimization done (n=30): time 1.893e-06/0.4238, allocations: 4 kB / 468.6 MB, free: 11.98 MB / 346.7 MB Notification: Performance of matching and sorting (n=30): time 0.001316/0.4251, allocations: 0.8812 MB / 469.5 MB, free: 11.05 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001289/0.4252, allocations: 281 kB / 469.8 MB, free: 10.72 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001825/0.4271, allocations: 1.27 MB / 471 MB, free: 9.426 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.163e-05/0.4271, allocations: 41.7 kB / 471.1 MB, free: 9.379 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.149e-05/0.4272, allocations: 118.5 kB / 471.2 MB, free: 9.258 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.428e-05/0.4273, allocations: 71.19 kB / 471.3 MB, free: 9.188 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.92e-05/0.4274, allocations: 11.98 kB / 471.3 MB, free: 9.176 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001144/0.4275, allocations: 334.8 kB / 471.6 MB, free: 8.84 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002913/0.4278, allocations: 203.9 kB / 471.8 MB, free: 8.641 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002957/0.4281, allocations: 231 kB / 472 MB, free: 8.406 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003548/0.4284, allocations: 354 kB / 472.4 MB, free: 8.023 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.4285, allocations: 7.875 kB / 472.4 MB, free: 8.016 MB / 346.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001067/0.4295, allocations: 0.8271 MB / 473.2 MB, free: 7.145 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001489/0.4297, allocations: 194.2 kB / 473.4 MB, free: 6.918 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.4297, allocations: 0 / 473.4 MB, free: 6.918 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.973e-05/0.4297, allocations: 4 kB / 473.4 MB, free: 6.914 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.534e-05/0.4298, allocations: 7.938 kB / 473.4 MB, free: 6.906 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.4298, allocations: 0 / 473.4 MB, free: 6.906 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003273/0.4301, allocations: 35.88 kB / 473.4 MB, free: 6.871 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001238/0.4302, allocations: 91.88 kB / 473.5 MB, free: 6.781 MB / 346.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 ($whenCondition5,$whenCondition6,$PRE.delay.inertialDelaySensitive[3].x,delay.inertialDelaySensitive[3].x,$PRE.delay.inertialDelaySensitive[3].y,delay.inertialDelaySensitive[3].y,delay.inertialDelaySensitive[3].delayTime,delay.inertialDelaySensitive[3].y_auxiliary,delay.inertialDelaySensitive[3].y_old,delay.inertialDelaySensitive[3].lh,delay.inertialDelaySensitive[3].t_next,table2.y,$whenCondition3,$whenCondition4,$PRE.delay.inertialDelaySensitive[2].x,delay.inertialDelaySensitive[2].x,$PRE.delay.inertialDelaySensitive[2].y,delay.inertialDelaySensitive[2].y,delay.inertialDelaySensitive[2].delayTime,delay.inertialDelaySensitive[2].y_auxiliary,delay.inertialDelaySensitive[2].y_old,delay.inertialDelaySensitive[2].lh,delay.inertialDelaySensitive[2].t_next,table1.y,$whenCondition1,$whenCondition2,$PRE.delay.inertialDelaySensitive[1].x,delay.inertialDelaySensitive[1].x,$PRE.delay.inertialDelaySensitive[1].y,delay.inertialDelaySensitive[1].y,delay.inertialDelaySensitive[1].delayTime,delay.inertialDelaySensitive[1].y_auxiliary,delay.inertialDelaySensitive[1].y_old,delay.inertialDelaySensitive[1].lh,delay.inertialDelaySensitive[1].t_next,table.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 6 * 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.0002885/0.4305, allocations: 348.5 kB / 473.9 MB, free: 6.395 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001326/0.4307, allocations: 102.8 kB / 474 MB, free: 6.293 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003426/0.431, allocations: 200 kB / 474.2 MB, free: 6.098 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.431, allocations: 4 kB / 474.2 MB, free: 6.094 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.126e-06/0.4311, allocations: 144 / 474.2 MB, free: 6.094 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/0.4311, allocations: 3.984 kB / 474.2 MB, free: 6.09 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002331/0.4334, allocations: 1.831 MB / 476 MB, free: 4.164 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.4334, allocations: 4 kB / 476 MB, free: 4.16 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.829e-06/0.4334, allocations: 3.938 kB / 476 MB, free: 4.156 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.4335, allocations: 4 kB / 476 MB, free: 4.152 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.431e-05/0.4335, allocations: 27.98 kB / 476.1 MB, free: 4.125 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.599e-06/0.4335, allocations: 4 kB / 476.1 MB, free: 4.121 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.4335, allocations: 0 / 476.1 MB, free: 4.121 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001451/0.435, allocations: 1.281 MB / 477.3 MB, free: 2.773 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009485/0.436, allocations: 0.5891 MB / 477.9 MB, free: 2.164 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001482/0.4361, allocations: 59.89 kB / 478 MB, free: 2.105 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003833/0.4365, allocations: 43.81 kB / 478 MB, free: 2.062 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001937/0.4367, allocations: 79.89 kB / 478.1 MB, free: 1.984 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001128/0.4368, allocations: 91.92 kB / 478.2 MB, free: 1.895 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001542/0.4384, allocations: 1.075 MB / 479.3 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.4384, allocations: 0 / 479.3 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005095/0.4389, allocations: 108 kB / 479.4 MB, free: 0.6992 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 30 ($whenCondition1,$whenCondition2,delay.inertialDelaySensitive[1].x,delay.inertialDelaySensitive[1].y,delay.inertialDelaySensitive[1].delayTime,delay.inertialDelaySensitive[1].y_auxiliary,delay.inertialDelaySensitive[1].y_old,delay.inertialDelaySensitive[1].lh,delay.inertialDelaySensitive[1].t_next,table.y,$whenCondition3,$whenCondition4,delay.inertialDelaySensitive[2].x,delay.inertialDelaySensitive[2].y,delay.inertialDelaySensitive[2].delayTime,delay.inertialDelaySensitive[2].y_auxiliary,delay.inertialDelaySensitive[2].y_old,delay.inertialDelaySensitive[2].lh,delay.inertialDelaySensitive[2].t_next,table1.y,$whenCondition5,$whenCondition6,delay.inertialDelaySensitive[3].x,delay.inertialDelaySensitive[3].y,delay.inertialDelaySensitive[3].delayTime,delay.inertialDelaySensitive[3].y_auxiliary,delay.inertialDelaySensitive[3].y_old,delay.inertialDelaySensitive[3].lh,delay.inertialDelaySensitive[3].t_next,table2.y) * Number of discrete states: 30 (table2.y,delay.inertialDelaySensitive[3].y,delay.inertialDelaySensitive[3].y_auxiliary,delay.inertialDelaySensitive[3].t_next,delay.inertialDelaySensitive[3].delayTime,delay.inertialDelaySensitive[3].lh,delay.inertialDelaySensitive[3].y_old,$whenCondition6,$whenCondition5,delay.inertialDelaySensitive[3].x,table1.y,delay.inertialDelaySensitive[2].y,delay.inertialDelaySensitive[2].y_auxiliary,delay.inertialDelaySensitive[2].t_next,delay.inertialDelaySensitive[2].delayTime,delay.inertialDelaySensitive[2].lh,delay.inertialDelaySensitive[2].y_old,$whenCondition4,$whenCondition3,delay.inertialDelaySensitive[2].x,table.y,delay.inertialDelaySensitive[1].y,delay.inertialDelaySensitive[1].y_auxiliary,delay.inertialDelaySensitive[1].t_next,delay.inertialDelaySensitive[1].delayTime,delay.inertialDelaySensitive[1].lh,delay.inertialDelaySensitive[1].y_old,$whenCondition2,$whenCondition1,delay.inertialDelaySensitive[1].x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 6 * 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.002004/0.4409, allocations: 2.021 MB / 481.4 MB, free: 14.6 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001087/0.442, allocations: 0.9806 MB / 482.4 MB, free: 13.55 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.442, allocations: 0 / 482.4 MB, free: 13.55 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006964/0.4427, allocations: 0.7932 MB / 483.2 MB, free: 12.68 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009313/0.4437, allocations: 203.9 kB / 483.4 MB, free: 12.48 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003486/0.4472, allocations: 1.989 MB / 485.4 MB, free: 10.44 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008292/0.448, allocations: 1.105 MB / 486.5 MB, free: 9.309 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001114/0.4482, allocations: 37.38 kB / 486.5 MB, free: 9.273 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.133e-05/0.4482, allocations: 51.42 kB / 486.5 MB, free: 9.223 MB / 362.7 MB Notification: Performance of SimCode: time 9.91e-07/0.4482, allocations: 0 / 486.5 MB, free: 9.223 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02294/0.4712, allocations: 10.43 MB / 497 MB, free: 14.77 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002627/0.4715, allocations: 154.5 kB / 497.1 MB, free: 14.54 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.738/2.21, allocations: 7.938 kB / 497.1 MB, free: 14.54 MB / 378.7 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.VectorDelay.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.VectorDelay.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.VectorDelay.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.VectorDelay.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Digital.Examples.VectorDelay_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Digital_Examples_VectorDelay_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Digital_Examples_VectorDelay.fmu > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.VectorDelay.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.Digital.Examples.VectorDelay_res.mat does not exist to compare? outputFormat=mat