Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.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.Test9,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test9,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test9",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.001173/0.001173, allocations: 180.8 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.517/1.517, allocations: 221.3 MB / 236 MB, free: 2.992 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.0008615/0.0008615, allocations: 91.78 kB / 287 MB, free: 260 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.2384/0.2384, allocations: 44.16 MB / 382.1 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 5.762e-05/5.764e-05, allocations: 8.156 kB / 451.9 MB, free: 9.344 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1825/0.1826, allocations: 61.92 MB / 0.5018 GB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5237/0.7064, allocations: 89.17 MB / 0.5889 GB, free: 84 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002157/0.7067, allocations: 71.97 kB / 0.589 GB, free: 12 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01558/0.7223, allocations: 5.596 MB / 0.5944 GB, free: 10.43 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.452e-06/0.7223, allocations: 0 / 0.5944 GB, free: 10.43 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.743e-05/0.7224, allocations: 4 kB / 0.5944 GB, free: 10.43 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.0005441/0.7229, allocations: 402.2 kB / 0.5948 GB, free: 9.988 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.005e-05/0.723, allocations: 8.031 kB / 0.5948 GB, free: 9.98 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.883e-05/0.723, allocations: 38.55 kB / 0.5949 GB, free: 9.934 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.446e-05/0.7231, allocations: 11.81 kB / 0.5949 GB, free: 9.922 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003575/0.7235, allocations: 219.3 kB / 0.5951 GB, free: 9.668 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.532e-05/0.7235, allocations: 3.953 kB / 0.5951 GB, free: 9.664 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.004e-05/0.7235, allocations: 8 kB / 0.5951 GB, free: 9.656 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001392/0.7237, allocations: 53.62 kB / 0.5951 GB, free: 9.598 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/0.7237, allocations: 4 kB / 0.5951 GB, free: 9.594 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.333e-05/0.7237, allocations: 3.984 kB / 0.5951 GB, free: 9.59 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.7237, allocations: 0 / 0.5951 GB, free: 9.59 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.629e-05/0.7238, allocations: 16 kB / 0.5952 GB, free: 9.574 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004455/0.7242, allocations: 308.8 kB / 0.5955 GB, free: 9.223 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001536/0.7244, allocations: 54.62 kB / 0.5955 GB, free: 9.16 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.331e-05/0.7245, allocations: 20.98 kB / 0.5955 GB, free: 9.137 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.856e-05/0.7245, allocations: 0 / 0.5955 GB, free: 9.137 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001557/0.7246, allocations: 67.39 kB / 0.5956 GB, free: 9.059 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 6.152e-06/0.7247, allocations: 3.984 kB / 0.5956 GB, free: 9.055 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006051/0.7253, allocations: 161.1 kB / 0.5957 GB, free: 8.891 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.587e-05/0.7253, allocations: 55.41 kB / 0.5958 GB, free: 8.824 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002494/0.7256, allocations: 194.4 kB / 0.596 GB, free: 8.625 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.256e-05/0.7256, allocations: 33.7 kB / 0.596 GB, free: 8.586 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.507e-05/0.7257, allocations: 104.1 kB / 0.5961 GB, free: 8.48 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.733e-05/0.7258, allocations: 27.64 kB / 0.5961 GB, free: 8.453 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.849e-06/0.7258, allocations: 3.938 kB / 0.5961 GB, free: 8.449 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001917/0.726, allocations: 326.8 kB / 0.5965 GB, free: 8.121 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.882e-05/0.726, allocations: 20 kB / 0.5965 GB, free: 8.102 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.412e-05/0.7261, allocations: 33.72 kB / 0.5965 GB, free: 8.062 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.83e-05/0.7262, allocations: 27.98 kB / 0.5965 GB, free: 8.035 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.7262, allocations: 0 / 0.5965 GB, free: 8.035 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001618/0.7264, allocations: 101.4 kB / 0.5966 GB, free: 7.93 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.7264, allocations: 8 kB / 0.5966 GB, free: 7.922 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.7264, allocations: 3.984 kB / 0.5966 GB, free: 7.918 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.7264, allocations: 0 / 0.5966 GB, free: 7.918 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.652e-05/0.7265, allocations: 12 kB / 0.5967 GB, free: 7.906 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.847e-06/0.7265, allocations: 4.188 kB / 0.5967 GB, free: 7.902 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.587e-05/0.7266, allocations: 4 kB / 0.5967 GB, free: 7.898 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.149e-05/0.7266, allocations: 12.02 kB / 0.5967 GB, free: 7.887 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.587e-05/0.7267, allocations: 116.9 kB / 0.5968 GB, free: 7.766 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.015e-05/0.7267, allocations: 7.906 kB / 0.5968 GB, free: 7.758 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002345/0.727, allocations: 119.1 kB / 0.5969 GB, free: 7.629 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.727, allocations: 7.938 kB / 0.5969 GB, free: 7.621 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.727, allocations: 0 / 0.5969 GB, free: 7.621 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.727, allocations: 3.938 kB / 0.5969 GB, free: 7.617 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004428/0.7274, allocations: 415.4 kB / 0.5973 GB, free: 7.152 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.7275, allocations: 0 / 0.5973 GB, free: 7.152 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.297e-05/0.7275, allocations: 15.98 kB / 0.5973 GB, free: 7.137 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.7275, allocations: 4 kB / 0.5973 GB, free: 7.133 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.378e-06/0.7275, allocations: 288 / 0.5973 GB, free: 7.133 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.7275, allocations: 80 / 0.5973 GB, free: 7.133 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.7275, allocations: 3.984 kB / 0.5973 GB, free: 7.129 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002126/0.7278, allocations: 225.9 kB / 0.5976 GB, free: 6.883 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.673e-05/0.7279, allocations: 96.91 kB / 0.5976 GB, free: 6.77 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.819e-05/0.7279, allocations: 8 kB / 0.5977 GB, free: 6.762 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.243e-05/0.728, allocations: 0 / 0.5977 GB, free: 6.762 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.711e-05/0.728, allocations: 11.94 kB / 0.5977 GB, free: 6.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.828e-06/0.728, allocations: 4 kB / 0.5977 GB, free: 6.746 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001384/0.7282, allocations: 156.2 kB / 0.5978 GB, free: 6.594 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.7282, allocations: 0 / 0.5978 GB, free: 6.594 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002534/0.7284, allocations: 39.92 kB / 0.5979 GB, free: 6.555 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.001436/0.7299, allocations: 1.14 MB / 0.599 GB, free: 5.504 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001486/0.73, allocations: 55.98 kB / 0.599 GB, free: 5.449 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.7301, allocations: 0 / 0.599 GB, free: 5.449 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.012e-05/0.7301, allocations: 27.94 kB / 0.599 GB, free: 5.422 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002751/0.7304, allocations: 35.81 kB / 0.5991 GB, free: 5.387 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005548/0.731, allocations: 248.5 kB / 0.5993 GB, free: 5.105 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003116/0.7313, allocations: 0.716 MB / 0.6 GB, free: 4.363 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.725e-05/0.7314, allocations: 16.86 kB / 0.6 GB, free: 4.348 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.223e-05/0.7314, allocations: 35.42 kB / 0.6001 GB, free: 4.312 MB / 410.7 MB Notification: Performance of SimCode: time 4.61e-07/0.7314, allocations: 0 / 0.6001 GB, free: 4.312 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01595/0.7474, allocations: 3.141 MB / 0.6031 GB, free: 1.258 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002097/0.7477, allocations: 192.5 kB / 0.6033 GB, free: 1.031 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.665/2.412, allocations: 64 / 0.6033 GB, free: 1.031 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test9_fmu --startTime=0 --stopTime=3.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test9.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat does not exist to compare? outputFormat=mat