Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.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.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test4",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.001803/0.001802, allocations: 179.6 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.495/1.495, allocations: 221.3 MB / 236 MB, free: 2.918 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.00104/0.00104, allocations: 92.05 kB / 287 MB, free: 240 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.2209/0.2209, allocations: 44.15 MB / 382 MB, free: 14.67 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.379e-05/4.383e-05, allocations: 4.219 kB / 451.9 MB, free: 9.328 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1309/0.131, allocations: 61.92 MB / 0.5018 GB, free: 11.34 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.478/0.6091, allocations: 89.27 MB / 0.589 GB, free: 15.95 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002401/0.6094, allocations: 75.97 kB / 0.5891 GB, free: 15.87 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01672/0.6261, allocations: 5.914 MB / 0.5948 GB, free: 9.977 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.6261, allocations: 0 / 0.5948 GB, free: 9.977 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.43e-05/0.6262, allocations: 4 kB / 0.5948 GB, free: 9.973 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.00057/0.6267, allocations: 414.2 kB / 0.5952 GB, free: 9.523 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/0.6268, allocations: 8.031 kB / 0.5952 GB, free: 9.516 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.979e-05/0.6269, allocations: 38.55 kB / 0.5953 GB, free: 9.469 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.295e-05/0.6269, allocations: 11.81 kB / 0.5953 GB, free: 9.457 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003375/0.6273, allocations: 231.2 kB / 0.5955 GB, free: 9.191 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.682e-05/0.6273, allocations: 3.953 kB / 0.5955 GB, free: 9.188 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.949e-05/0.6273, allocations: 8 kB / 0.5955 GB, free: 9.18 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001457/0.6275, allocations: 61.61 kB / 0.5956 GB, free: 9.113 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.728e-05/0.6275, allocations: 3.906 kB / 0.5956 GB, free: 9.109 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.6275, allocations: 0 / 0.5956 GB, free: 9.109 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.658e-06/0.6275, allocations: 0 / 0.5956 GB, free: 9.109 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.678e-05/0.6276, allocations: 20 kB / 0.5956 GB, free: 9.09 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004632/0.6281, allocations: 312.8 kB / 0.5959 GB, free: 8.734 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002053/0.6283, allocations: 58.5 kB / 0.596 GB, free: 8.668 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.676e-05/0.6284, allocations: 20.98 kB / 0.596 GB, free: 8.645 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.821e-05/0.6284, allocations: 7.984 kB / 0.596 GB, free: 8.637 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000153/0.6286, allocations: 67.39 kB / 0.596 GB, free: 8.559 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.462e-06/0.6286, allocations: 4 kB / 0.596 GB, free: 8.555 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006438/0.6293, allocations: 209.1 kB / 0.5962 GB, free: 8.344 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.045e-05/0.6293, allocations: 51.41 kB / 0.5963 GB, free: 8.281 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002226/0.6295, allocations: 202.3 kB / 0.5965 GB, free: 8.074 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.21e-05/0.6296, allocations: 25.7 kB / 0.5965 GB, free: 8.043 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.99e-05/0.6297, allocations: 108.1 kB / 0.5966 GB, free: 7.934 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.461e-05/0.6297, allocations: 35.45 kB / 0.5967 GB, free: 7.898 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.787e-06/0.6297, allocations: 7.938 kB / 0.5967 GB, free: 7.891 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001659/0.6299, allocations: 330.8 kB / 0.597 GB, free: 7.559 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.432e-05/0.63, allocations: 28 kB / 0.597 GB, free: 7.531 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.892e-05/0.63, allocations: 41.72 kB / 0.597 GB, free: 7.484 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.961e-05/0.6301, allocations: 27.98 kB / 0.5971 GB, free: 7.457 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.6301, allocations: 0 / 0.5971 GB, free: 7.457 MB / 410.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000208/0.6303, allocations: 129.5 kB / 0.5972 GB, free: 7.324 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.6303, allocations: 4 kB / 0.5972 GB, free: 7.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.6304, allocations: 4.031 kB / 0.5972 GB, free: 7.316 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.6304, allocations: 0 / 0.5972 GB, free: 7.316 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.722e-05/0.6305, allocations: 23.98 kB / 0.5972 GB, free: 7.293 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/0.6305, allocations: 0 / 0.5972 GB, free: 7.293 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.076e-05/0.6305, allocations: 11.94 kB / 0.5972 GB, free: 7.281 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.506e-05/0.6306, allocations: 7.953 kB / 0.5972 GB, free: 7.273 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 (13): * Single equations (assignments): 13 * 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 8.366e-05/0.6307, allocations: 108.9 kB / 0.5973 GB, free: 7.16 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.605e-05/0.6307, allocations: 15.81 kB / 0.5974 GB, free: 7.145 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002892/0.631, allocations: 150.1 kB / 0.5975 GB, free: 6.992 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.631, allocations: 0 / 0.5975 GB, free: 6.992 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.631, allocations: 0 / 0.5975 GB, free: 6.992 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.631, allocations: 0 / 0.5975 GB, free: 6.992 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005906/0.6316, allocations: 475.9 kB / 0.598 GB, free: 6.465 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.6316, allocations: 0 / 0.598 GB, free: 6.465 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.619e-05/0.6317, allocations: 19.98 kB / 0.598 GB, free: 6.445 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.6317, allocations: 8.062 kB / 0.598 GB, free: 6.438 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/0.6317, allocations: 0 / 0.598 GB, free: 6.438 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.879e-06/0.6318, allocations: 7.953 kB / 0.598 GB, free: 6.43 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.6318, allocations: 3.938 kB / 0.598 GB, free: 6.426 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002675/0.632, allocations: 252.4 kB / 0.5982 GB, free: 6.145 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.103e-05/0.6321, allocations: 101 kB / 0.5983 GB, free: 6.027 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.778e-05/0.6321, allocations: 4 kB / 0.5983 GB, free: 6.023 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.88e-05/0.6322, allocations: 4 kB / 0.5983 GB, free: 6.02 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.71e-05/0.6323, allocations: 11.98 kB / 0.5984 GB, free: 6.008 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.13e-05/0.6323, allocations: 4 kB / 0.5984 GB, free: 6.004 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001681/0.6325, allocations: 156.2 kB / 0.5985 GB, free: 5.852 MB / 410.7 MB Notification: Performance of sort global known variables: time 2e-07/0.6325, allocations: 7.938 kB / 0.5985 GB, free: 5.844 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000279/0.6328, allocations: 39.94 kB / 0.5986 GB, free: 5.805 MB / 410.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: 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 (12): * Single equations (assignments): 10 * 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.001721/0.6345, allocations: 1.301 MB / 0.5998 GB, free: 4.598 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000225/0.6347, allocations: 79.86 kB / 0.5999 GB, free: 4.52 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.6348, allocations: 0 / 0.5999 GB, free: 4.52 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.044e-05/0.6348, allocations: 39.94 kB / 0.5999 GB, free: 4.48 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002929/0.6351, allocations: 26.02 kB / 0.6 GB, free: 4.457 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006408/0.6358, allocations: 274 kB / 0.6002 GB, free: 4.148 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003249/0.6361, allocations: 0.7199 MB / 0.6009 GB, free: 3.402 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.684e-05/0.6362, allocations: 24.55 kB / 0.6009 GB, free: 3.379 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.658e-05/0.6363, allocations: 43.41 kB / 0.601 GB, free: 3.336 MB / 410.7 MB Notification: Performance of SimCode: time 6.21e-07/0.6363, allocations: 192 / 0.601 GB, free: 3.336 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01537/0.6517, allocations: 3.459 MB / 0.6044 GB, free: 15.96 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001906/0.6519, allocations: 187 kB / 0.6045 GB, free: 15.73 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.789/2.441, allocations: 0 / 0.6045 GB, free: 15.73 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test4_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test4.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat does not exist to compare? outputFormat=mat