Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test4.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.Test4,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test4,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test4",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.001581/0.00158, allocations: 188.8 kB / 16.4 MB, free: 5.621 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.147/2.147, 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.001141/0.001141, allocations: 102.8 kB / 270.9 MB, free: 13.38 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.3186/0.3186, allocations: 43.56 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004922/0.0004923, allocations: 12 kB / 431.5 MB, free: 20.17 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1392/0.1398, allocations: 58.86 MB / 490.3 MB, free: 9.238 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.002907/0.1427, allocations: 1.383 MB / 491.7 MB, free: 7.84 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001861/0.1447, allocations: 0.7344 MB / 492.4 MB, free: 7.098 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001115/0.1448, allocations: 0 / 492.4 MB, free: 7.098 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004021/0.1452, allocations: 75.77 kB / 492.5 MB, free: 7.023 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003022/0.1456, allocations: 67.84 kB / 492.6 MB, free: 6.957 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004001/0.146, allocations: 71.78 kB / 492.7 MB, free: 6.887 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002163/0.1462, allocations: 67.84 kB / 492.7 MB, free: 6.82 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001204/0.1463, allocations: 12.22 kB / 492.7 MB, free: 6.809 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001288/0.1465, allocations: 43.78 kB / 492.8 MB, free: 6.766 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001326/0.1467, allocations: 43.81 kB / 492.8 MB, free: 6.723 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.18e-05/0.1467, allocations: 4 kB / 492.8 MB, free: 6.719 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001466/0.1469, allocations: 27.94 kB / 492.9 MB, free: 6.691 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 5.728e-05/0.1469, allocations: 23.92 kB / 492.9 MB, free: 6.668 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 6.306e-05/0.147, allocations: 37.64 kB / 492.9 MB, free: 6.625 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002325/0.1473, allocations: 92.08 kB / 493 MB, free: 6.535 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.1473, allocations: 0 / 493 MB, free: 6.535 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.1473, allocations: 0 / 493 MB, free: 6.535 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.079e-06/0.1473, allocations: 0 / 493 MB, free: 6.535 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.0007145/0.148, allocations: 398.9 kB / 493.4 MB, free: 6.098 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.268e-05/0.1481, allocations: 8.031 kB / 493.4 MB, free: 6.09 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.826e-05/0.1482, allocations: 38.55 kB / 493.4 MB, free: 6.043 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.814e-05/0.1482, allocations: 15.77 kB / 493.5 MB, free: 6.027 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003356/0.1486, allocations: 210.8 kB / 493.7 MB, free: 5.781 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/0.1486, allocations: 4 kB / 493.7 MB, free: 5.777 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.67e-05/0.1486, allocations: 0 / 493.7 MB, free: 5.777 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002011/0.1488, allocations: 53.67 kB / 493.7 MB, free: 5.719 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.628e-05/0.1489, allocations: 4 kB / 493.7 MB, free: 5.715 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.1489, allocations: 0 / 493.7 MB, free: 5.715 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/0.1489, allocations: 0 / 493.7 MB, free: 5.715 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001178/0.149, allocations: 19.94 kB / 493.7 MB, free: 5.695 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004838/0.1495, allocations: 292.8 kB / 494 MB, free: 5.359 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002508/0.1498, allocations: 58.67 kB / 494.1 MB, free: 5.293 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.754e-05/0.1498, allocations: 0 / 494.1 MB, free: 5.293 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002533/0.1501, allocations: 71.52 kB / 494.2 MB, free: 5.211 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 2.194e-06/0.1501, allocations: 0 / 494.2 MB, free: 5.211 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008367/0.151, allocations: 185.3 kB / 494.3 MB, free: 5.023 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.291e-05/0.1511, allocations: 55.41 kB / 494.4 MB, free: 4.957 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003152/0.1514, allocations: 206.4 kB / 494.6 MB, free: 4.746 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.171e-05/0.1514, allocations: 29.64 kB / 494.6 MB, free: 4.711 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000112/0.1515, allocations: 166.6 kB / 494.8 MB, free: 4.547 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.1e-05/0.1516, allocations: 31.62 kB / 494.8 MB, free: 4.516 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.111e-06/0.1516, allocations: 4 kB / 494.8 MB, free: 4.512 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.1518, allocations: 310.8 kB / 495.1 MB, free: 4.199 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000107/0.1519, allocations: 23.98 kB / 495.1 MB, free: 4.176 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001136/0.152, allocations: 37.64 kB / 495.2 MB, free: 4.133 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001007/0.1521, allocations: 23.94 kB / 495.2 MB, free: 4.109 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.1522, allocations: 0 / 495.2 MB, free: 4.109 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000308/0.1525, allocations: 101.5 kB / 495.3 MB, free: 4.004 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.398e-05/0.1525, allocations: 10.69 kB / 495.3 MB, free: 3.996 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.1525, allocations: 3.953 kB / 495.3 MB, free: 3.992 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.1526, allocations: 0 / 495.3 MB, free: 3.992 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001519/0.1527, allocations: 16 kB / 495.3 MB, free: 3.977 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.869e-06/0.1527, allocations: 3.984 kB / 495.3 MB, free: 3.973 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.527e-05/0.1528, allocations: 4 kB / 495.3 MB, free: 3.969 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.164e-05/0.1529, allocations: 0 / 495.3 MB, free: 3.969 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.000173/0.1531, allocations: 137.8 kB / 495.5 MB, free: 3.824 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.8e-05/0.1531, allocations: 11.91 kB / 495.5 MB, free: 3.812 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.866e-05/0.1532, allocations: 17.41 kB / 495.5 MB, free: 3.793 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.723e-06/0.1532, allocations: 3.953 kB / 495.5 MB, free: 3.789 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.1532, allocations: 0 / 495.5 MB, free: 3.789 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.708e-06/0.1532, allocations: 0 / 495.5 MB, free: 3.789 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007576/0.154, allocations: 395.3 kB / 495.9 MB, free: 3.344 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.154, allocations: 0 / 495.9 MB, free: 3.344 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.969e-05/0.1541, allocations: 11.95 kB / 495.9 MB, free: 3.332 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.227e-06/0.1541, allocations: 8.031 kB / 495.9 MB, free: 3.324 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.617e-05/0.1541, allocations: 4 kB / 495.9 MB, free: 3.32 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.1541, allocations: 0 / 495.9 MB, free: 3.32 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.1541, allocations: 0 / 495.9 MB, free: 3.32 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004157/0.1546, allocations: 225.8 kB / 496.1 MB, free: 3.074 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.532e-05/0.1547, allocations: 84.92 kB / 496.2 MB, free: 2.973 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.298e-05/0.1547, allocations: 8 kB / 496.2 MB, free: 2.965 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001235/0.1548, allocations: 8 kB / 496.2 MB, free: 2.957 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.864e-05/0.1549, allocations: 3.984 kB / 496.2 MB, free: 2.953 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.386e-05/0.1549, allocations: 4 kB / 496.2 MB, free: 2.949 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002365/0.1552, allocations: 156.2 kB / 496.4 MB, free: 2.797 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-07/0.1552, allocations: 0 / 496.4 MB, free: 2.797 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003843/0.1556, allocations: 27.98 kB / 496.4 MB, free: 2.77 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.00218/0.1578, allocations: 1.184 MB / 497.6 MB, free: 1.609 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003378/0.1582, allocations: 55.97 kB / 497.7 MB, free: 1.555 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.1582, allocations: 0 / 497.7 MB, free: 1.555 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001268/0.1583, allocations: 31.92 kB / 497.7 MB, free: 1.523 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000438/0.1588, allocations: 23.98 kB / 497.7 MB, free: 1.5 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001931/0.1607, allocations: 0.943 MB / 498.7 MB, free: 0.5039 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004108/0.1612, allocations: 0.7082 MB / 499.4 MB, free: 15.77 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001047/0.1613, allocations: 35.42 kB / 499.4 MB, free: 15.73 MB / 346.7 MB Notification: Performance of SimCode: time 1.242e-06/0.1613, allocations: 0 / 499.4 MB, free: 15.73 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.75/2.911, allocations: 2.524 MB / 0.4902 GB, free: 13.21 MB / 346.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test4_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test4.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat does not exist to compare? outputFormat=mat