Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.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.Test29,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test29,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test29",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.001517/0.001518, 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.5/1.5, allocations: 221.3 MB / 236 MB, free: 2.996 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.0008598/0.0008598, allocations: 94.77 kB / 287 MB, free: 248 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.2764/0.2764, allocations: 44.16 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.163e-05/4.166e-05, allocations: 4 kB / 451.9 MB, free: 9.34 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1584/0.1585, allocations: 61.92 MB / 0.5018 GB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5605/0.719, allocations: 89.22 MB / 0.5889 GB, free: 40 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003093/0.7194, allocations: 78.3 kB / 0.589 GB, free: 15.96 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01588/0.7353, allocations: 5.569 MB / 0.5944 GB, free: 10.4 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.063e-06/0.7354, allocations: 0 / 0.5944 GB, free: 10.4 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.303e-05/0.7354, allocations: 4 kB / 0.5945 GB, free: 10.4 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.0005576/0.736, allocations: 402.3 kB / 0.5948 GB, free: 9.961 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.164e-05/0.736, allocations: 12.03 kB / 0.5948 GB, free: 9.949 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.494e-05/0.7361, allocations: 34.56 kB / 0.5949 GB, free: 9.906 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.066e-05/0.7362, allocations: 11.91 kB / 0.5949 GB, free: 9.895 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003443/0.7365, allocations: 210.8 kB / 0.5951 GB, free: 9.648 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.61e-05/0.7365, allocations: 3.953 kB / 0.5951 GB, free: 9.645 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.129e-05/0.7366, allocations: 7.938 kB / 0.5951 GB, free: 9.637 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001704/0.7367, allocations: 57.61 kB / 0.5952 GB, free: 9.574 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.668e-05/0.7368, allocations: 0 / 0.5952 GB, free: 9.574 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.7368, allocations: 3.938 kB / 0.5952 GB, free: 9.57 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.7368, allocations: 4 kB / 0.5952 GB, free: 9.566 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.318e-05/0.7369, allocations: 16 kB / 0.5952 GB, free: 9.551 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004881/0.7374, allocations: 300.9 kB / 0.5955 GB, free: 9.207 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001295/0.7375, allocations: 54.62 kB / 0.5955 GB, free: 9.145 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.537e-05/0.7376, allocations: 20.98 kB / 0.5955 GB, free: 9.121 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.02e-05/0.7376, allocations: 8 kB / 0.5955 GB, free: 9.113 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001545/0.7378, allocations: 63.38 kB / 0.5956 GB, free: 9.039 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.283e-06/0.7378, allocations: 0 / 0.5956 GB, free: 9.039 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005294/0.7383, allocations: 157.2 kB / 0.5958 GB, free: 8.879 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.658e-05/0.7384, allocations: 55.41 kB / 0.5958 GB, free: 8.812 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002081/0.7386, allocations: 165.4 kB / 0.596 GB, free: 8.645 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.368e-05/0.7386, allocations: 29.7 kB / 0.596 GB, free: 8.609 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.467e-05/0.7387, allocations: 104.1 kB / 0.5961 GB, free: 8.504 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.745e-05/0.7388, allocations: 23.7 kB / 0.5961 GB, free: 8.48 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.398e-06/0.7388, allocations: 0 / 0.5961 GB, free: 8.48 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001612/0.7389, allocations: 326.8 kB / 0.5964 GB, free: 8.152 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.002e-05/0.739, allocations: 16 kB / 0.5964 GB, free: 8.137 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.747e-05/0.739, allocations: 37.7 kB / 0.5965 GB, free: 8.094 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.126e-05/0.7391, allocations: 27.92 kB / 0.5965 GB, free: 8.066 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.7391, allocations: 0 / 0.5965 GB, free: 8.066 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001695/0.7393, allocations: 105.5 kB / 0.5966 GB, free: 7.957 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.7393, allocations: 4 kB / 0.5966 GB, free: 7.953 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.7394, allocations: 0 / 0.5966 GB, free: 7.953 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.7394, allocations: 0 / 0.5966 GB, free: 7.953 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000104/0.7395, allocations: 19.94 kB / 0.5966 GB, free: 7.934 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.7395, allocations: 0 / 0.5966 GB, free: 7.934 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.853e-05/0.7396, allocations: 11.92 kB / 0.5966 GB, free: 7.922 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.081e-05/0.7396, allocations: 4 kB / 0.5966 GB, free: 7.918 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.992e-05/0.7397, allocations: 113 kB / 0.5968 GB, free: 7.801 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.91e-05/0.7397, allocations: 7.906 kB / 0.5968 GB, free: 7.793 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002396/0.7399, allocations: 122.3 kB / 0.5969 GB, free: 7.672 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.74, allocations: 0 / 0.5969 GB, free: 7.672 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.253e-06/0.74, allocations: 4 kB / 0.5969 GB, free: 7.668 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.688e-06/0.74, allocations: 0 / 0.5969 GB, free: 7.668 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004893/0.7405, allocations: 411.2 kB / 0.5973 GB, free: 7.207 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.7405, allocations: 3.938 kB / 0.5973 GB, free: 7.203 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.806e-05/0.7405, allocations: 12.03 kB / 0.5973 GB, free: 7.191 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.7405, allocations: 0 / 0.5973 GB, free: 7.191 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.684e-05/0.7406, allocations: 7.984 kB / 0.5973 GB, free: 7.184 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.7406, allocations: 0 / 0.5973 GB, free: 7.184 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.7406, allocations: 3.938 kB / 0.5973 GB, free: 7.18 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002523/0.7408, allocations: 214 kB / 0.5975 GB, free: 6.945 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.293e-05/0.7409, allocations: 100.9 kB / 0.5976 GB, free: 6.828 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.079e-05/0.741, allocations: 8.172 kB / 0.5976 GB, free: 6.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.662e-05/0.7411, allocations: 4 kB / 0.5976 GB, free: 6.816 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.102e-05/0.7411, allocations: 15.94 kB / 0.5976 GB, free: 6.801 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.123e-05/0.7411, allocations: 4 kB / 0.5976 GB, free: 6.797 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001388/0.7413, allocations: 145 kB / 0.5978 GB, free: 6.656 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.7413, allocations: 0 / 0.5978 GB, free: 6.656 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000261/0.7415, allocations: 31.98 kB / 0.5978 GB, free: 6.625 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.001631/0.7432, allocations: 1.137 MB / 0.5989 GB, free: 5.578 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001792/0.7434, allocations: 59.92 kB / 0.599 GB, free: 5.52 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.7434, allocations: 3.938 kB / 0.599 GB, free: 5.516 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.427e-05/0.7435, allocations: 31.94 kB / 0.599 GB, free: 5.484 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002914/0.7438, allocations: 23.94 kB / 0.599 GB, free: 5.461 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006348/0.7444, allocations: 220.6 kB / 0.5992 GB, free: 5.199 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004724/0.7449, allocations: 0.7043 MB / 0.5999 GB, free: 4.469 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.494e-05/0.745, allocations: 20.41 kB / 0.5999 GB, free: 4.449 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.007e-05/0.7451, allocations: 31.42 kB / 0.6 GB, free: 4.418 MB / 410.7 MB Notification: Performance of SimCode: time 2.9e-07/0.7451, allocations: 4 kB / 0.6 GB, free: 4.414 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0167/0.7618, allocations: 3.007 MB / 0.6029 GB, free: 1.496 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002381/0.7621, allocations: 188 kB / 0.6031 GB, free: 1.27 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.725/2.487, allocations: 7.938 kB / 0.6031 GB, free: 1.262 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test29_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test29.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat does not exist to compare? outputFormat=mat