Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test44.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test44,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test44",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test44,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test44",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001578/0.001578, allocations: 188.1 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.108/2.108, allocations: 205.4 MB / 222.5 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001197/0.001196, allocations: 98.83 kB / 270.9 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3459/0.3459, allocations: 43.55 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007344/0.0007346, allocations: 16 kB / 431.5 MB, free: 20.17 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1381/0.1389, allocations: 58.86 MB / 490.3 MB, free: 9.234 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test44): time 0.002931/0.1419, allocations: 1.379 MB / 491.7 MB, free: 7.84 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001863/0.1439, allocations: 0.7383 MB / 492.4 MB, free: 7.094 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001087/0.144, allocations: 0 / 492.4 MB, free: 7.094 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003334/0.1444, allocations: 35.83 kB / 492.5 MB, free: 7.059 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002612/0.1447, allocations: 43.88 kB / 492.5 MB, free: 7.016 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003894/0.1451, allocations: 67.8 kB / 492.6 MB, free: 6.949 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001959/0.1453, allocations: 67.84 kB / 492.7 MB, free: 6.883 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001275/0.1454, allocations: 8.234 kB / 492.7 MB, free: 6.875 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001201/0.1456, allocations: 35.84 kB / 492.7 MB, free: 6.84 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.386e-05/0.1457, allocations: 31.84 kB / 492.7 MB, free: 6.809 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.762e-05/0.1457, allocations: 0 / 492.7 MB, free: 6.809 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001379/0.1459, allocations: 31.92 kB / 492.8 MB, free: 6.777 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 5.215e-05/0.1459, allocations: 15.92 kB / 492.8 MB, free: 6.762 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 5.85e-05/0.146, allocations: 37.64 kB / 492.8 MB, free: 6.719 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000216/0.1462, allocations: 96.08 kB / 492.9 MB, free: 6.625 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.1462, allocations: 0 / 492.9 MB, free: 6.625 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1463, allocations: 0 / 492.9 MB, free: 6.625 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.029e-06/0.1463, allocations: 0 / 492.9 MB, free: 6.625 MB / 330.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.0006953/0.147, allocations: 394.9 kB / 493.3 MB, free: 6.191 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.177e-05/0.147, allocations: 11.97 kB / 493.3 MB, free: 6.18 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.933e-05/0.1471, allocations: 34.56 kB / 493.3 MB, free: 6.137 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.902e-05/0.1472, allocations: 19.77 kB / 493.4 MB, free: 6.117 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003351/0.1475, allocations: 211.5 kB / 493.6 MB, free: 5.871 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.631e-05/0.1475, allocations: 4 kB / 493.6 MB, free: 5.867 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.278e-05/0.1476, allocations: 4 kB / 493.6 MB, free: 5.863 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002008/0.1478, allocations: 53.67 kB / 493.6 MB, free: 5.805 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.1478, allocations: 0 / 493.6 MB, free: 5.805 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.233e-05/0.1478, allocations: 0 / 493.6 MB, free: 5.805 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.1479, allocations: 0 / 493.6 MB, free: 5.805 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001196/0.148, allocations: 23.94 kB / 493.6 MB, free: 5.781 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005034/0.1485, allocations: 288.9 kB / 493.9 MB, free: 5.449 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002496/0.1488, allocations: 58.62 kB / 494 MB, free: 5.383 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.586e-05/0.1488, allocations: 0 / 494 MB, free: 5.383 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002594/0.1491, allocations: 67.52 kB / 494.1 MB, free: 5.305 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 2.315e-06/0.1491, allocations: 0 / 494.1 MB, free: 5.305 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008727/0.15, allocations: 181.1 kB / 494.2 MB, free: 5.121 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.178e-05/0.1501, allocations: 55.41 kB / 494.3 MB, free: 5.055 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003071/0.1504, allocations: 191.3 kB / 494.5 MB, free: 4.859 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.561e-05/0.1504, allocations: 25.7 kB / 494.5 MB, free: 4.828 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001136/0.1505, allocations: 174.5 kB / 494.7 MB, free: 4.656 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.011e-05/0.1506, allocations: 19.72 kB / 494.7 MB, free: 4.637 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.867e-06/0.1506, allocations: 0 / 494.7 MB, free: 4.637 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001601/0.1508, allocations: 318.8 kB / 495 MB, free: 4.316 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001094/0.1509, allocations: 23.98 kB / 495 MB, free: 4.293 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001157/0.151, allocations: 33.7 kB / 495.1 MB, free: 4.254 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001151/0.1512, allocations: 24 kB / 495.1 MB, free: 4.23 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.1512, allocations: 3.938 kB / 495.1 MB, free: 4.227 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003373/0.1515, allocations: 97.59 kB / 495.2 MB, free: 4.125 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.274e-05/0.1516, allocations: 4 kB / 495.2 MB, free: 4.121 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.1516, allocations: 3.953 kB / 495.2 MB, free: 4.117 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.146e-05/0.1516, allocations: 4 kB / 495.2 MB, free: 4.113 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001611/0.1518, allocations: 20.02 kB / 495.2 MB, free: 4.094 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-06/0.1518, allocations: 0 / 495.2 MB, free: 4.094 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001038/0.1519, allocations: 8 kB / 495.2 MB, free: 4.086 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.595e-05/0.152, allocations: 4 kB / 495.2 MB, free: 4.082 MB / 330.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 () * 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 0.0001925/0.1522, allocations: 137.6 kB / 495.4 MB, free: 3.941 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.282e-05/0.1522, allocations: 7.906 kB / 495.4 MB, free: 3.934 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.434e-05/0.1523, allocations: 25.33 kB / 495.4 MB, free: 3.906 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.845e-06/0.1523, allocations: 3.953 kB / 495.4 MB, free: 3.902 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/0.1523, allocations: 4 kB / 495.4 MB, free: 3.898 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.1523, allocations: 0 / 495.4 MB, free: 3.898 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007805/0.1531, allocations: 403.5 kB / 495.8 MB, free: 3.445 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.1532, allocations: 0 / 495.8 MB, free: 3.445 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.541e-05/0.1533, allocations: 15.95 kB / 495.8 MB, free: 3.43 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.705e-06/0.1533, allocations: 0 / 495.8 MB, free: 3.43 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.756e-05/0.1533, allocations: 4 kB / 495.8 MB, free: 3.426 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.1533, allocations: 0 / 495.8 MB, free: 3.426 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.1533, allocations: 4.031 kB / 495.8 MB, free: 3.422 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004475/0.1538, allocations: 214.2 kB / 496 MB, free: 3.188 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.165e-05/0.1539, allocations: 92.91 kB / 496.1 MB, free: 3.078 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.658e-05/0.1539, allocations: 7.938 kB / 496.1 MB, free: 3.07 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000122/0.1541, allocations: 4 kB / 496.1 MB, free: 3.066 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.032e-05/0.1541, allocations: 11.98 kB / 496.1 MB, free: 3.055 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.763e-05/0.1542, allocations: 4 kB / 496.1 MB, free: 3.051 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002281/0.1544, allocations: 148.9 kB / 496.3 MB, free: 2.906 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.1544, allocations: 0 / 496.3 MB, free: 2.906 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003835/0.1548, allocations: 27.98 kB / 496.3 MB, free: 2.879 MB / 330.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) * 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.002164/0.157, allocations: 1.164 MB / 497.5 MB, free: 1.738 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003673/0.1574, allocations: 67.95 kB / 497.5 MB, free: 1.672 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.1575, allocations: 0 / 497.5 MB, free: 1.672 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001191/0.1576, allocations: 27.94 kB / 497.6 MB, free: 1.645 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004152/0.158, allocations: 31.52 kB / 497.6 MB, free: 1.617 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001857/0.1599, allocations: 0.8918 MB / 498.5 MB, free: 0.668 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004029/0.1603, allocations: 0.716 MB / 499.2 MB, free: 15.93 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001083/0.1605, allocations: 35.42 kB / 499.2 MB, free: 15.89 MB / 346.7 MB Notification: Performance of SimCode: time 1.383e-06/0.1605, allocations: 0 / 499.2 MB, free: 15.89 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.81/2.97, allocations: 2.47 MB / 0.4899 GB, free: 13.42 MB / 346.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test44.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test44_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test44.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat does not exist to compare? outputFormat=mat