Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.conf.json 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/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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test57,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test57",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test57,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test57",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001224/0.001224, allocations: 97.25 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001393/0.001393, allocations: 180 kB / 17.87 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.45/1.45, allocations: 223.2 MB / 241.8 MB, free: 388 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.204/0.204, allocations: 44.23 MB / 337.1 MB, free: 2.906 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002834/0.0002834, allocations: 15.98 kB / 409.6 MB, free: 27.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.1157, allocations: 61.92 MB / 471.5 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.001695/0.1175, allocations: 1.394 MB / 472.9 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001591/0.1191, allocations: 1.367 MB / 474.3 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.629e-05/0.1192, allocations: 0 / 474.3 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002095/0.1194, allocations: 31.84 kB / 474.3 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001447/0.1195, allocations: 47.81 kB / 474.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002297/0.1198, allocations: 87.77 kB / 474.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001222/0.1199, allocations: 63.84 kB / 474.5 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.838e-05/0.12, allocations: 12.23 kB / 474.5 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.546e-05/0.1201, allocations: 35.84 kB / 474.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001094/0.1202, allocations: 23.86 kB / 474.6 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.232e-05/0.1202, allocations: 4 kB / 474.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.299e-05/0.1203, allocations: 43.91 kB / 474.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.131e-05/0.1203, allocations: 15.92 kB / 474.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.456e-05/0.1204, allocations: 37.64 kB / 474.7 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001369/0.1205, allocations: 92.08 kB / 474.8 MB, free: 10.4 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.1205, allocations: 4 kB / 474.8 MB, free: 10.4 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1205, allocations: 3.938 kB / 474.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.938e-06/0.1206, allocations: 0 / 474.8 MB, free: 10.39 MB / 350.1 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.0004339/0.121, allocations: 391 kB / 475.2 MB, free: 9.965 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.121, allocations: 12.03 kB / 475.2 MB, free: 9.953 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.947e-05/0.1211, allocations: 38.55 kB / 475.2 MB, free: 9.906 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.111e-05/0.1211, allocations: 7.906 kB / 475.2 MB, free: 9.898 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001975/0.1213, allocations: 194.9 kB / 475.4 MB, free: 9.668 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.613e-05/0.1213, allocations: 15.94 kB / 475.4 MB, free: 9.652 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.384e-05/0.1214, allocations: 4 kB / 475.5 MB, free: 9.648 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001462/0.1215, allocations: 67.39 kB / 475.5 MB, free: 9.57 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.457e-06/0.1215, allocations: 3.906 kB / 475.5 MB, free: 9.566 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.347e-06/0.1216, allocations: 0 / 475.5 MB, free: 9.566 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.1216, allocations: 0 / 475.5 MB, free: 9.566 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.658e-05/0.1216, allocations: 19.98 kB / 475.5 MB, free: 9.547 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003088/0.1219, allocations: 288.8 kB / 475.8 MB, free: 9.215 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001464/0.1221, allocations: 54.67 kB / 475.9 MB, free: 9.152 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.551e-05/0.1221, allocations: 4 kB / 475.9 MB, free: 9.148 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001485/0.1223, allocations: 67.52 kB / 475.9 MB, free: 9.07 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 2.554e-06/0.1223, allocations: 0 / 475.9 MB, free: 9.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004717/0.1228, allocations: 173.5 kB / 476.1 MB, free: 8.895 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.337e-05/0.1228, allocations: 77.11 kB / 476.2 MB, free: 8.801 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001301/0.123, allocations: 163.7 kB / 476.4 MB, free: 8.633 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.745e-05/0.123, allocations: 25.7 kB / 476.4 MB, free: 8.602 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.612e-05/0.123, allocations: 96.12 kB / 476.5 MB, free: 8.504 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.606e-05/0.1231, allocations: 23.66 kB / 476.5 MB, free: 8.48 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.737e-06/0.1231, allocations: 0 / 476.5 MB, free: 8.48 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001277/0.1232, allocations: 326.8 kB / 476.8 MB, free: 8.152 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.127e-05/0.1233, allocations: 19.98 kB / 476.8 MB, free: 8.133 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.122e-05/0.1233, allocations: 42.56 kB / 476.9 MB, free: 8.082 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.888e-05/0.1234, allocations: 27.98 kB / 476.9 MB, free: 8.055 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.1234, allocations: 0 / 476.9 MB, free: 8.055 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001745/0.1236, allocations: 97.52 kB / 477 MB, free: 7.953 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/0.1236, allocations: 4 kB / 477 MB, free: 7.949 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.1236, allocations: 4.188 kB / 477 MB, free: 7.945 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.518e-06/0.1236, allocations: 4 kB / 477 MB, free: 7.941 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.392e-05/0.1237, allocations: 16 kB / 477 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.603e-06/0.1237, allocations: 4.172 kB / 477 MB, free: 7.922 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.207e-05/0.1238, allocations: 11.91 kB / 477 MB, free: 7.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.044e-05/0.1238, allocations: 11.89 kB / 477 MB, free: 7.898 MB / 350.1 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 () * Number of clocked 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.986e-05/0.1239, allocations: 122.3 kB / 477.2 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.473e-05/0.1239, allocations: 11.91 kB / 477.2 MB, free: 7.758 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.867e-05/0.124, allocations: 16.7 kB / 477.2 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.124, allocations: 4 kB / 477.2 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.124, allocations: 0 / 477.2 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.124, allocations: 0 / 477.2 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003982/0.1244, allocations: 391.3 kB / 477.6 MB, free: 7.293 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1244, allocations: 0 / 477.6 MB, free: 7.293 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.392e-05/0.1245, allocations: 11.98 kB / 477.6 MB, free: 7.281 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.1245, allocations: 0 / 477.6 MB, free: 7.281 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/0.1245, allocations: 4 kB / 477.6 MB, free: 7.277 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1245, allocations: 4.031 kB / 477.6 MB, free: 7.273 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.1245, allocations: 3.953 kB / 477.6 MB, free: 7.27 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002274/0.1247, allocations: 210 kB / 477.8 MB, free: 7.039 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.765e-05/0.1248, allocations: 93 kB / 477.9 MB, free: 6.93 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.379e-05/0.1248, allocations: 0 / 477.9 MB, free: 6.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.105e-05/0.1249, allocations: 11.95 kB / 477.9 MB, free: 6.918 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.464e-05/0.125, allocations: 7.984 kB / 477.9 MB, free: 6.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.524e-05/0.125, allocations: 7.938 kB / 477.9 MB, free: 6.902 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.187e-05/0.1251, allocations: 121.8 kB / 478 MB, free: 6.785 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1251, allocations: 0 / 478 MB, free: 6.785 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002641/0.1254, allocations: 28 kB / 478.1 MB, free: 6.758 MB / 350.1 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.001476/0.1268, allocations: 1.215 MB / 479.3 MB, free: 5.715 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001631/0.127, allocations: 55.97 kB / 479.3 MB, free: 5.66 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.127, allocations: 4 kB / 479.3 MB, free: 5.656 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.785e-05/0.1271, allocations: 27.94 kB / 479.4 MB, free: 5.629 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002344/0.1273, allocations: 24.09 kB / 479.4 MB, free: 5.605 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001053/0.1284, allocations: 0.7782 MB / 480.2 MB, free: 4.77 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002394/0.1287, allocations: 0.7014 MB / 480.9 MB, free: 4.043 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.588e-05/0.1287, allocations: 21.31 kB / 480.9 MB, free: 4.02 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.163e-05/0.1288, allocations: 35.42 kB / 480.9 MB, free: 3.984 MB / 350.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1288, allocations: 4 kB / 480.9 MB, free: 3.98 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02337/0.1522, allocations: 3.042 MB / 484 MB, free: 1.074 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000291/0.1525, allocations: 224.5 kB / 484.2 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.712/1.864, allocations: 0 / 484.2 MB, free: 0.8281 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test57_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test57.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat does not exist to compare? outputFormat=mat