Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.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.Test60,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test60",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test60,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test60",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.001166/0.001166, allocations: 93.92 kB / 16.98 MB, free: 5.938 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.001444/0.001444, allocations: 186.9 kB / 17.88 MB, free: 5.594 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.307/1.307, allocations: 223.2 MB / 241.8 MB, free: 14.67 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1959/0.1959, allocations: 44.23 MB / 337.1 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003148/0.0003148, allocations: 12 kB / 409.6 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.1148, allocations: 61.93 MB / 471.6 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.001655/0.1165, allocations: 1.387 MB / 472.9 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001623/0.1182, allocations: 1.363 MB / 474.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.205e-05/0.1182, allocations: 3.938 kB / 474.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002034/0.1185, allocations: 31.89 kB / 474.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001396/0.1186, allocations: 47.81 kB / 474.4 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002218/0.1188, allocations: 83.78 kB / 474.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001161/0.119, allocations: 67.84 kB / 474.5 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.721e-05/0.119, allocations: 8.234 kB / 474.5 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.83e-05/0.1191, allocations: 43.77 kB / 474.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001039/0.1192, allocations: 27.86 kB / 474.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.075e-05/0.1192, allocations: 0 / 474.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.75e-05/0.1193, allocations: 51.84 kB / 474.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.6e-05/0.1194, allocations: 7.984 kB / 474.7 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.303e-05/0.1194, allocations: 37.64 kB / 474.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001315/0.1196, allocations: 92.09 kB / 474.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.893e-06/0.1196, allocations: 0 / 474.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1196, allocations: 0 / 474.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.995e-06/0.1196, allocations: 0 / 474.8 MB, free: 10.38 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.0004381/0.12, allocations: 399 kB / 475.2 MB, free: 9.938 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.213e-05/0.1201, allocations: 8.031 kB / 475.2 MB, free: 9.93 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.712e-05/0.1201, allocations: 30.56 kB / 475.2 MB, free: 9.891 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.939e-05/0.1201, allocations: 11.91 kB / 475.2 MB, free: 9.879 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002062/0.1203, allocations: 202.9 kB / 475.4 MB, free: 9.641 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.045e-05/0.1204, allocations: 7.953 kB / 475.4 MB, free: 9.633 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.523e-05/0.1204, allocations: 8 kB / 475.4 MB, free: 9.625 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001354/0.1205, allocations: 63.39 kB / 475.5 MB, free: 9.551 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.1205, allocations: 3.906 kB / 475.5 MB, free: 9.547 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.778e-06/0.1206, allocations: 4 kB / 475.5 MB, free: 9.543 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.975e-06/0.1206, allocations: 0 / 475.5 MB, free: 9.543 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.373e-05/0.1206, allocations: 15.98 kB / 475.5 MB, free: 9.527 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002935/0.1209, allocations: 288.8 kB / 475.8 MB, free: 9.195 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001506/0.1211, allocations: 58.67 kB / 475.9 MB, free: 9.129 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.538e-05/0.1211, allocations: 0 / 475.9 MB, free: 9.129 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001468/0.1213, allocations: 75.45 kB / 475.9 MB, free: 9.043 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 2.415e-06/0.1213, allocations: 4 kB / 475.9 MB, free: 9.039 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004464/0.1217, allocations: 165.3 kB / 476.1 MB, free: 8.871 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.154e-05/0.1218, allocations: 81.05 kB / 476.2 MB, free: 8.773 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001335/0.1219, allocations: 156 kB / 476.3 MB, free: 8.613 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.662e-05/0.122, allocations: 33.64 kB / 476.4 MB, free: 8.574 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.221e-05/0.122, allocations: 92.14 kB / 476.5 MB, free: 8.48 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.717e-05/0.122, allocations: 31.62 kB / 476.5 MB, free: 8.449 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.636e-06/0.122, allocations: 0 / 476.5 MB, free: 8.449 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001114/0.1222, allocations: 326.8 kB / 476.8 MB, free: 8.121 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.034e-05/0.1222, allocations: 20 kB / 476.8 MB, free: 8.102 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.121e-05/0.1223, allocations: 42.5 kB / 476.9 MB, free: 8.051 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.572e-05/0.1223, allocations: 23.98 kB / 476.9 MB, free: 8.027 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.1224, allocations: 0 / 476.9 MB, free: 8.027 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000184/0.1225, allocations: 105.6 kB / 477 MB, free: 7.918 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.109e-05/0.1226, allocations: 4.062 kB / 477 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.1226, allocations: 7.984 kB / 477 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.677e-06/0.1226, allocations: 0 / 477 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.778e-05/0.1227, allocations: 19.98 kB / 477 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.987e-06/0.1227, allocations: 0 / 477 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.829e-05/0.1227, allocations: 7.906 kB / 477 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.495e-06/0.1227, allocations: 3.953 kB / 477 MB, free: 7.875 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.388e-05/0.1228, allocations: 130.3 kB / 477.2 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.751e-05/0.1229, allocations: 7.906 kB / 477.2 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.227e-05/0.1229, allocations: 16.72 kB / 477.2 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.552e-06/0.1229, allocations: 0 / 477.2 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.896e-06/0.1229, allocations: 0 / 477.2 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.1229, allocations: 0 / 477.2 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000389/0.1233, allocations: 395.3 kB / 477.6 MB, free: 7.266 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.1233, allocations: 0 / 477.6 MB, free: 7.266 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.066e-05/0.1234, allocations: 8 kB / 477.6 MB, free: 7.258 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.12e-05/0.1234, allocations: 4 kB / 477.6 MB, free: 7.254 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-06/0.1234, allocations: 4.031 kB / 477.6 MB, free: 7.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.1234, allocations: 0 / 477.6 MB, free: 7.25 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.1234, allocations: 3.953 kB / 477.6 MB, free: 7.246 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002196/0.1236, allocations: 213.9 kB / 477.8 MB, free: 7.012 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.471e-05/0.1237, allocations: 85.02 kB / 477.9 MB, free: 6.91 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.515e-05/0.1237, allocations: 4 kB / 477.9 MB, free: 6.906 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.678e-05/0.1238, allocations: 15.94 kB / 477.9 MB, free: 6.891 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.575e-05/0.1238, allocations: 4.375 kB / 477.9 MB, free: 6.887 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.508e-05/0.1239, allocations: 4 kB / 477.9 MB, free: 6.883 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.14e-05/0.124, allocations: 122.1 kB / 478 MB, free: 6.766 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.124, allocations: 0 / 478 MB, free: 6.766 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002596/0.1242, allocations: 31.98 kB / 478.1 MB, free: 6.734 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.001405/0.1256, allocations: 1.215 MB / 479.3 MB, free: 5.691 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001598/0.1258, allocations: 59.97 kB / 479.3 MB, free: 5.633 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1258, allocations: 3.938 kB / 479.3 MB, free: 5.629 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.864e-05/0.1259, allocations: 23.98 kB / 479.4 MB, free: 5.605 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002162/0.1261, allocations: 28.05 kB / 479.4 MB, free: 5.578 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009625/0.1271, allocations: 0.7782 MB / 480.2 MB, free: 4.742 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002426/0.1273, allocations: 0.7014 MB / 480.9 MB, free: 4.016 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.518e-05/0.1274, allocations: 17.34 kB / 480.9 MB, free: 3.996 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.339e-05/0.1275, allocations: 35.41 kB / 480.9 MB, free: 3.961 MB / 350.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1275, allocations: 3.938 kB / 480.9 MB, free: 3.957 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01254/0.14, allocations: 3.043 MB / 484 MB, free: 1.047 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001749/0.1402, allocations: 216.5 kB / 484.2 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.904/2.044, allocations: 0 / 484.2 MB, free: 0.8086 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test60_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test60.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat does not exist to compare? outputFormat=mat