Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test23.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.Test23,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test23,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test23",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.001632/0.001632, allocations: 182.1 kB / 16.4 MB, free: 5.754 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.162/2.162, allocations: 205.4 MB / 222.5 MB, free: 9.109 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.001185/0.001184, allocations: 84.42 kB / 270.9 MB, free: 8.359 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5364/0.5364, allocations: 43.56 MB / 362.7 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006892/0.0006893, allocations: 19.98 kB / 431.5 MB, free: 6.047 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1372/0.138, allocations: 58.84 MB / 490.3 MB, free: 11.12 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.002682/0.1407, allocations: 1.386 MB / 491.7 MB, free: 9.719 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001762/0.1425, allocations: 0.7344 MB / 492.4 MB, free: 8.977 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.598e-05/0.1426, allocations: 7.938 kB / 492.4 MB, free: 8.969 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002922/0.1429, allocations: 27.84 kB / 492.5 MB, free: 8.941 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002278/0.1432, allocations: 43.88 kB / 492.5 MB, free: 8.898 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003603/0.1436, allocations: 75.8 kB / 492.6 MB, free: 8.824 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001759/0.1438, allocations: 63.84 kB / 492.7 MB, free: 8.762 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.821e-05/0.1439, allocations: 8.219 kB / 492.7 MB, free: 8.754 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001125/0.144, allocations: 43.84 kB / 492.7 MB, free: 8.711 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.973e-05/0.1441, allocations: 23.86 kB / 492.7 MB, free: 8.688 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.841e-05/0.1442, allocations: 4 kB / 492.7 MB, free: 8.684 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001223/0.1443, allocations: 31.91 kB / 492.8 MB, free: 8.652 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.8e-05/0.1443, allocations: 15.92 kB / 492.8 MB, free: 8.637 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.538e-05/0.1444, allocations: 41.64 kB / 492.8 MB, free: 8.59 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002077/0.1446, allocations: 88.08 kB / 492.9 MB, free: 8.504 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.1446, allocations: 0 / 492.9 MB, free: 8.504 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.1447, allocations: 0 / 492.9 MB, free: 8.504 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.09e-06/0.1447, allocations: 0 / 492.9 MB, free: 8.504 MB / 378.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.0006371/0.1453, allocations: 410.8 kB / 493.3 MB, free: 8.055 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.097e-05/0.1454, allocations: 8.031 kB / 493.3 MB, free: 8.047 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.48e-05/0.1454, allocations: 30.56 kB / 493.3 MB, free: 8.008 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.147e-05/0.1455, allocations: 11.91 kB / 493.4 MB, free: 7.996 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000305/0.1458, allocations: 203.5 kB / 493.6 MB, free: 7.758 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.069e-05/0.1458, allocations: 4 kB / 493.6 MB, free: 7.754 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.314e-05/0.1459, allocations: 3.938 kB / 493.6 MB, free: 7.75 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001978/0.1461, allocations: 53.67 kB / 493.6 MB, free: 7.691 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.1461, allocations: 0 / 493.6 MB, free: 7.691 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.441e-05/0.1461, allocations: 11.95 kB / 493.6 MB, free: 7.68 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.1462, allocations: 0 / 493.6 MB, free: 7.68 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001074/0.1463, allocations: 19.98 kB / 493.6 MB, free: 7.66 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004553/0.1467, allocations: 288.9 kB / 493.9 MB, free: 7.328 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002375/0.147, allocations: 54.62 kB / 494 MB, free: 7.266 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.546e-05/0.147, allocations: 7.938 kB / 494 MB, free: 7.258 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002309/0.1473, allocations: 67.47 kB / 494.1 MB, free: 7.18 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.884e-06/0.1473, allocations: 0 / 494.1 MB, free: 7.18 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008203/0.1481, allocations: 177.1 kB / 494.2 MB, free: 7 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.764e-05/0.1482, allocations: 55.41 kB / 494.3 MB, free: 6.934 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002791/0.1485, allocations: 192.8 kB / 494.5 MB, free: 6.738 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.365e-05/0.1485, allocations: 29.7 kB / 494.5 MB, free: 6.703 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.712e-05/0.1486, allocations: 166.5 kB / 494.7 MB, free: 6.539 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.854e-05/0.1487, allocations: 19.72 kB / 494.7 MB, free: 6.52 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.085e-05/0.1487, allocations: 8 kB / 494.7 MB, free: 6.512 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001349/0.1488, allocations: 310.8 kB / 495 MB, free: 6.199 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.36e-05/0.1489, allocations: 27.92 kB / 495 MB, free: 6.172 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001035/0.1491, allocations: 33.7 kB / 495.1 MB, free: 6.133 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001011/0.1492, allocations: 24 kB / 495.1 MB, free: 6.109 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.1492, allocations: 0 / 495.1 MB, free: 6.109 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002857/0.1495, allocations: 101.5 kB / 495.2 MB, free: 6.004 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/0.1495, allocations: 8 kB / 495.2 MB, free: 5.996 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.1495, allocations: 4.312 kB / 495.2 MB, free: 5.992 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.1496, allocations: 0 / 495.2 MB, free: 5.992 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000153/0.1497, allocations: 19.98 kB / 495.2 MB, free: 5.973 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.722e-06/0.1497, allocations: 4 kB / 495.2 MB, free: 5.969 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.879e-05/0.1498, allocations: 4 kB / 495.2 MB, free: 5.965 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.496e-05/0.1499, allocations: 4 kB / 495.2 MB, free: 5.961 MB / 378.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.0001425/0.15, allocations: 141.2 kB / 495.4 MB, free: 5.816 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.933e-05/0.15, allocations: 11.86 kB / 495.4 MB, free: 5.805 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.946e-05/0.1501, allocations: 17.39 kB / 495.4 MB, free: 5.785 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.643e-06/0.1501, allocations: 4 kB / 495.4 MB, free: 5.781 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/0.1502, allocations: 0 / 495.4 MB, free: 5.781 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.1502, allocations: 3.938 kB / 495.4 MB, free: 5.777 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006526/0.1508, allocations: 403.2 kB / 495.8 MB, free: 5.324 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.1508, allocations: 4 kB / 495.8 MB, free: 5.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.894e-05/0.1509, allocations: 11.94 kB / 495.8 MB, free: 5.309 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.1509, allocations: 0 / 495.8 MB, free: 5.309 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.307e-05/0.1509, allocations: 0 / 495.8 MB, free: 5.309 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.151, allocations: 0 / 495.8 MB, free: 5.309 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.151, allocations: 4 kB / 495.8 MB, free: 5.305 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003449/0.1513, allocations: 218.4 kB / 496 MB, free: 5.066 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.548e-05/0.1514, allocations: 81.02 kB / 496.1 MB, free: 4.969 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.28e-05/0.1515, allocations: 11.94 kB / 496.1 MB, free: 4.957 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001087/0.1516, allocations: 4 kB / 496.1 MB, free: 4.953 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.944e-05/0.1516, allocations: 7.922 kB / 496.1 MB, free: 4.945 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-05/0.1517, allocations: 4 kB / 496.1 MB, free: 4.941 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001937/0.1519, allocations: 156.9 kB / 496.3 MB, free: 4.789 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.1519, allocations: 0 / 496.3 MB, free: 4.789 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004145/0.1523, allocations: 31.98 kB / 496.3 MB, free: 4.758 MB / 378.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.001959/0.1543, allocations: 1.172 MB / 497.5 MB, free: 3.605 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002595/0.1546, allocations: 59.89 kB / 497.5 MB, free: 3.547 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.1546, allocations: 0 / 497.5 MB, free: 3.547 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001193/0.1547, allocations: 31.94 kB / 497.6 MB, free: 3.516 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000372/0.1551, allocations: 28.09 kB / 497.6 MB, free: 3.488 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001799/0.1569, allocations: 0.8954 MB / 498.5 MB, free: 2.527 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003481/0.1573, allocations: 0.7159 MB / 499.2 MB, free: 1.785 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.543e-05/0.1574, allocations: 35.42 kB / 499.2 MB, free: 1.75 MB / 378.7 MB Notification: Performance of SimCode: time 1.142e-06/0.1574, allocations: 0 / 499.2 MB, free: 1.75 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.248/3.405, allocations: 2.467 MB / 0.49 GB, free: 41.96 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test23_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test23.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat does not exist to compare? outputFormat=mat