Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.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.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test21",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.001922/0.001922, allocations: 179.7 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.616/1.616, allocations: 221.4 MB / 236 MB, free: 2.953 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.0008633/0.0008633, allocations: 91.98 kB / 287 MB, free: 228 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.2359/0.2359, allocations: 44.16 MB / 382 MB, free: 14.65 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.17e-05/4.18e-05, allocations: 8.203 kB / 451.9 MB, free: 9.297 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1715/0.1716, allocations: 61.91 MB / 0.5018 GB, free: 11.32 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.568/0.7397, allocations: 89.21 MB / 0.5889 GB, free: 15.99 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002583/0.74, allocations: 79.89 kB / 0.589 GB, free: 15.92 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01585/0.7559, allocations: 5.561 MB / 0.5944 GB, free: 10.37 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.725e-06/0.7559, allocations: 0 / 0.5944 GB, free: 10.37 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.35e-05/0.756, allocations: 2.844 kB / 0.5944 GB, free: 10.37 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005259/0.7565, allocations: 402.3 kB / 0.5948 GB, free: 9.93 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/0.7566, allocations: 8.031 kB / 0.5948 GB, free: 9.922 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.861e-05/0.7566, allocations: 38.5 kB / 0.5949 GB, free: 9.875 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.994e-05/0.7567, allocations: 7.906 kB / 0.5949 GB, free: 9.867 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000284/0.757, allocations: 214.8 kB / 0.5951 GB, free: 9.617 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.586e-05/0.757, allocations: 7.953 kB / 0.5951 GB, free: 9.609 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.988e-05/0.757, allocations: 4 kB / 0.5951 GB, free: 9.605 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001269/0.7571, allocations: 61.61 kB / 0.5952 GB, free: 9.539 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.7572, allocations: 0 / 0.5952 GB, free: 9.539 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.7572, allocations: 7.922 kB / 0.5952 GB, free: 9.531 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.7572, allocations: 0 / 0.5952 GB, free: 9.531 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.616e-05/0.7573, allocations: 20 kB / 0.5952 GB, free: 9.512 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004448/0.7577, allocations: 292.9 kB / 0.5955 GB, free: 9.176 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001156/0.7578, allocations: 58.62 kB / 0.5955 GB, free: 9.109 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.864e-05/0.7579, allocations: 20.98 kB / 0.5955 GB, free: 9.086 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.629e-05/0.7579, allocations: 0 / 0.5955 GB, free: 9.086 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000135/0.7581, allocations: 63.39 kB / 0.5956 GB, free: 9.012 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.383e-06/0.7581, allocations: 0 / 0.5956 GB, free: 9.012 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004589/0.7585, allocations: 161.1 kB / 0.5957 GB, free: 8.848 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.315e-05/0.7586, allocations: 55.41 kB / 0.5958 GB, free: 8.781 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001893/0.7588, allocations: 169.4 kB / 0.596 GB, free: 8.609 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.708e-05/0.7588, allocations: 29.7 kB / 0.596 GB, free: 8.574 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.148e-05/0.7589, allocations: 96.14 kB / 0.5961 GB, free: 8.477 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.931e-05/0.7589, allocations: 23.7 kB / 0.5961 GB, free: 8.453 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.389e-06/0.7589, allocations: 0 / 0.5961 GB, free: 8.453 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001122/0.7591, allocations: 330.8 kB / 0.5964 GB, free: 8.121 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.638e-05/0.7591, allocations: 20 kB / 0.5964 GB, free: 8.102 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.723e-05/0.7592, allocations: 29.72 kB / 0.5965 GB, free: 8.066 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.459e-05/0.7592, allocations: 27.92 kB / 0.5965 GB, free: 8.039 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.7592, allocations: 0 / 0.5965 GB, free: 8.039 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001494/0.7594, allocations: 97.5 kB / 0.5966 GB, free: 7.938 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.7594, allocations: 7.984 kB / 0.5966 GB, free: 7.93 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.7594, allocations: 0 / 0.5966 GB, free: 7.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.7594, allocations: 0 / 0.5966 GB, free: 7.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000102/0.7595, allocations: 23.97 kB / 0.5966 GB, free: 7.906 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.647e-06/0.7595, allocations: 0 / 0.5966 GB, free: 7.906 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.319e-05/0.7596, allocations: 15.92 kB / 0.5966 GB, free: 7.891 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.416e-06/0.7596, allocations: 0 / 0.5966 GB, free: 7.891 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 (10): * Single equations (assignments): 10 * 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.279e-05/0.7597, allocations: 110.7 kB / 0.5967 GB, free: 7.777 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.986e-05/0.7597, allocations: 7.906 kB / 0.5967 GB, free: 7.77 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002217/0.76, allocations: 122.2 kB / 0.5969 GB, free: 7.648 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.76, allocations: 4 kB / 0.5969 GB, free: 7.645 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.76, allocations: 4 kB / 0.5969 GB, free: 7.641 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.76, allocations: 0 / 0.5969 GB, free: 7.641 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004258/0.7604, allocations: 411.2 kB / 0.5973 GB, free: 7.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.7604, allocations: 3.938 kB / 0.5973 GB, free: 7.176 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.898e-05/0.7605, allocations: 8.188 kB / 0.5973 GB, free: 7.168 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.7605, allocations: 0 / 0.5973 GB, free: 7.168 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.679e-05/0.7605, allocations: 15.98 kB / 0.5973 GB, free: 7.152 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-06/0.7605, allocations: 0 / 0.5973 GB, free: 7.152 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.7605, allocations: 3.938 kB / 0.5973 GB, free: 7.148 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002074/0.7607, allocations: 214 kB / 0.5975 GB, free: 6.914 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.432e-05/0.7608, allocations: 96.86 kB / 0.5976 GB, free: 6.801 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.918e-05/0.7608, allocations: 7.984 kB / 0.5976 GB, free: 6.793 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.814e-05/0.7609, allocations: 8 kB / 0.5976 GB, free: 6.785 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.605e-05/0.761, allocations: 3.953 kB / 0.5976 GB, free: 6.781 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.027e-05/0.761, allocations: 11.98 kB / 0.5976 GB, free: 6.77 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001183/0.7611, allocations: 145 kB / 0.5978 GB, free: 6.629 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.7611, allocations: 0 / 0.5978 GB, free: 6.629 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002503/0.7614, allocations: 31.98 kB / 0.5978 GB, free: 6.598 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 7 * 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.001377/0.7628, allocations: 1.131 MB / 0.5989 GB, free: 5.551 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001533/0.763, allocations: 59.92 kB / 0.599 GB, free: 5.492 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.763, allocations: 4 kB / 0.599 GB, free: 5.488 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.253e-05/0.763, allocations: 39.92 kB / 0.599 GB, free: 5.449 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000279/0.7633, allocations: 27.92 kB / 0.599 GB, free: 5.422 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005457/0.7639, allocations: 216.4 kB / 0.5992 GB, free: 5.164 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002969/0.7642, allocations: 0.7083 MB / 0.5999 GB, free: 4.43 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.135e-05/0.7643, allocations: 28.47 kB / 0.5999 GB, free: 4.402 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.883e-05/0.7643, allocations: 35.42 kB / 0.6 GB, free: 4.367 MB / 410.7 MB Notification: Performance of SimCode: time 3.21e-07/0.7643, allocations: 0 / 0.6 GB, free: 4.367 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01405/0.7784, allocations: 2.996 MB / 0.6029 GB, free: 1.461 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001911/0.7786, allocations: 188 kB / 0.6031 GB, free: 1.234 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.703/2.482, allocations: 3.938 kB / 0.6031 GB, free: 1.23 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test21_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test21.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat does not exist to compare? outputFormat=mat