Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test85,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test85",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test85,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test85",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001302/0.001303, allocations: 180.5 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.455/1.455, allocations: 221.3 MB / 236 MB, free: 2.938 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009603/0.0009608, allocations: 87.86 kB / 287 MB, free: 208 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2229/0.2229, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.113e-05/4.115e-05, allocations: 4.219 kB / 451.9 MB, free: 9.344 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1475/0.1475, allocations: 61.92 MB / 0.5018 GB, free: 11.37 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4435/0.5911, allocations: 88.99 MB / 0.5887 GB, free: 284 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002573/0.5914, allocations: 75.95 kB / 0.5888 GB, free: 208 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01408/0.6055, allocations: 5.306 MB / 0.594 GB, free: 10.91 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.6056, allocations: 0 / 0.594 GB, free: 10.91 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.15e-05/0.6056, allocations: 0 / 0.594 GB, free: 10.91 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005164/0.6061, allocations: 386.3 kB / 0.5943 GB, free: 10.49 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.628e-05/0.6062, allocations: 8.031 kB / 0.5943 GB, free: 10.48 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.105e-05/0.6063, allocations: 34.56 kB / 0.5944 GB, free: 10.44 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.331e-05/0.6063, allocations: 11.89 kB / 0.5944 GB, free: 10.43 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003316/0.6066, allocations: 209.9 kB / 0.5946 GB, free: 10.19 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.767e-05/0.6067, allocations: 4 kB / 0.5946 GB, free: 10.18 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.25e-05/0.6067, allocations: 3.953 kB / 0.5946 GB, free: 10.18 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001245/0.6068, allocations: 49.67 kB / 0.5946 GB, free: 10.12 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.6068, allocations: 8 kB / 0.5946 GB, free: 10.12 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.6069, allocations: 0 / 0.5946 GB, free: 10.12 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.6069, allocations: 0 / 0.5946 GB, free: 10.12 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.07e-05/0.6069, allocations: 15.98 kB / 0.5947 GB, free: 10.1 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002246/0.6072, allocations: 177.7 kB / 0.5948 GB, free: 9.879 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001122/0.6073, allocations: 54.5 kB / 0.5949 GB, free: 9.816 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.428e-05/0.6073, allocations: 16.86 kB / 0.5949 GB, free: 9.797 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.8e-05/0.6074, allocations: 11.95 kB / 0.5949 GB, free: 9.785 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000136/0.6075, allocations: 71.42 kB / 0.595 GB, free: 9.703 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 2.835e-06/0.6075, allocations: 3.984 kB / 0.595 GB, free: 9.699 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001977/0.6077, allocations: 77.53 kB / 0.5951 GB, free: 9.617 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.286e-05/0.6078, allocations: 59.34 kB / 0.5951 GB, free: 9.547 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001449/0.6079, allocations: 149.4 kB / 0.5953 GB, free: 9.395 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.805e-05/0.608, allocations: 33.7 kB / 0.5953 GB, free: 9.355 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.319e-05/0.608, allocations: 100.1 kB / 0.5954 GB, free: 9.254 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.813e-05/0.608, allocations: 7.906 kB / 0.5954 GB, free: 9.246 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.667e-06/0.6081, allocations: 0 / 0.5954 GB, free: 9.246 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000105/0.6082, allocations: 322.8 kB / 0.5957 GB, free: 8.922 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.065e-05/0.6082, allocations: 12 kB / 0.5957 GB, free: 8.91 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.049e-05/0.6083, allocations: 33.7 kB / 0.5957 GB, free: 8.871 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.923e-05/0.6083, allocations: 12 kB / 0.5957 GB, free: 8.859 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.073e-06/0.6083, allocations: 4 kB / 0.5958 GB, free: 8.855 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001183/0.6084, allocations: 85.42 kB / 0.5958 GB, free: 8.766 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.6085, allocations: 8.891 kB / 0.5958 GB, free: 8.758 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.6085, allocations: 4 kB / 0.5958 GB, free: 8.754 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.6085, allocations: 128 / 0.5958 GB, free: 8.754 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.796e-05/0.6086, allocations: 12 kB / 0.5959 GB, free: 8.742 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.6086, allocations: 0 / 0.5959 GB, free: 8.742 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.513e-05/0.6086, allocations: 7.938 kB / 0.5959 GB, free: 8.734 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.036e-05/0.6087, allocations: 4 kB / 0.5959 GB, free: 8.73 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 7.823e-05/0.6087, allocations: 116.9 kB / 0.596 GB, free: 8.609 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.743e-05/0.6088, allocations: 7.906 kB / 0.596 GB, free: 8.602 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001918/0.609, allocations: 93.88 kB / 0.5961 GB, free: 8.5 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.609, allocations: 0 / 0.5961 GB, free: 8.5 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.609, allocations: 0 / 0.5961 GB, free: 8.5 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.609, allocations: 0 / 0.5961 GB, free: 8.5 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001537/0.6092, allocations: 189.6 kB / 0.5963 GB, free: 8.266 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.6092, allocations: 0 / 0.5963 GB, free: 8.266 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.614e-05/0.6092, allocations: 4 kB / 0.5963 GB, free: 8.262 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.6092, allocations: 0 / 0.5963 GB, free: 8.262 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.457e-05/0.6092, allocations: 8 kB / 0.5963 GB, free: 8.254 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.796e-06/0.6092, allocations: 11.83 kB / 0.5963 GB, free: 8.242 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.6092, allocations: 3.984 kB / 0.5963 GB, free: 8.238 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001618/0.6094, allocations: 112.9 kB / 0.5964 GB, free: 8.109 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.597e-05/0.6095, allocations: 89 kB / 0.5965 GB, free: 8.004 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.543e-05/0.6095, allocations: 4 kB / 0.5965 GB, free: 8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.212e-05/0.6096, allocations: 4 kB / 0.5965 GB, free: 7.996 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.627e-05/0.6096, allocations: 11.94 kB / 0.5965 GB, free: 7.984 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.746e-06/0.6096, allocations: 4 kB / 0.5965 GB, free: 7.98 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001276/0.6098, allocations: 130.5 kB / 0.5966 GB, free: 7.855 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6098, allocations: 0 / 0.5966 GB, free: 7.855 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002101/0.61, allocations: 23.98 kB / 0.5966 GB, free: 7.832 MB / 410.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0012/0.6112, allocations: 0.9128 MB / 0.5975 GB, free: 7.004 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001285/0.6113, allocations: 47.92 kB / 0.5976 GB, free: 6.957 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.552e-06/0.6113, allocations: 0 / 0.5976 GB, free: 6.957 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.264e-05/0.6114, allocations: 16 kB / 0.5976 GB, free: 6.941 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002063/0.6116, allocations: 27.92 kB / 0.5976 GB, free: 6.914 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004329/0.612, allocations: 184.3 kB / 0.5978 GB, free: 6.699 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003141/0.6124, allocations: 0.7083 MB / 0.5985 GB, free: 5.965 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.996e-05/0.6124, allocations: 16.41 kB / 0.5985 GB, free: 5.949 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.697e-05/0.6125, allocations: 35.36 kB / 0.5985 GB, free: 5.914 MB / 410.7 MB Notification: Performance of SimCode: time 3.4e-07/0.6125, allocations: 0 / 0.5985 GB, free: 5.914 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01366/0.6262, allocations: 2.618 MB / 0.6011 GB, free: 3.379 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003165/0.6265, allocations: 196 kB / 0.6013 GB, free: 3.145 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.615/2.242, allocations: 0 / 0.6013 GB, free: 3.145 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test85_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test85.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat does not exist to compare? outputFormat=mat