Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test8.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.Test8,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test8,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test8",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.002583/0.002591, allocations: 188.9 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.465/2.465, 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.001176/0.001176, allocations: 106.7 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.3135/0.3135, allocations: 43.56 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004827/0.000483, allocations: 12 kB / 431.5 MB, free: 20.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1675/0.168, allocations: 58.86 MB / 490.3 MB, free: 9.242 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.003862/0.1719, allocations: 1.383 MB / 491.7 MB, free: 7.844 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002755/0.1747, allocations: 0.7267 MB / 492.4 MB, free: 7.109 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001454/0.175, allocations: 3.938 kB / 492.4 MB, free: 7.105 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005491/0.1755, allocations: 107.6 kB / 492.5 MB, free: 7 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004312/0.176, allocations: 71.83 kB / 492.6 MB, free: 6.93 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005899/0.1766, allocations: 79.72 kB / 492.7 MB, free: 6.852 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002865/0.1769, allocations: 75.83 kB / 492.8 MB, free: 6.777 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001227/0.1771, allocations: 8.234 kB / 492.8 MB, free: 6.77 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001886/0.1773, allocations: 55.81 kB / 492.8 MB, free: 6.715 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001813/0.1775, allocations: 43.83 kB / 492.9 MB, free: 6.672 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.495e-05/0.1775, allocations: 0 / 492.9 MB, free: 6.672 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002311/0.1778, allocations: 31.92 kB / 492.9 MB, free: 6.641 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001003/0.1779, allocations: 23.92 kB / 492.9 MB, free: 6.617 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 7.89e-05/0.178, allocations: 45.64 kB / 493 MB, free: 6.566 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003364/0.1783, allocations: 100.1 kB / 493.1 MB, free: 6.469 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.1784, allocations: 0 / 493.1 MB, free: 6.469 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.294e-06/0.1784, allocations: 4 kB / 493.1 MB, free: 6.465 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.1784, allocations: 0 / 493.1 MB, free: 6.465 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0009517/0.1794, allocations: 422.7 kB / 493.5 MB, free: 6.004 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.284e-05/0.1795, allocations: 8.031 kB / 493.5 MB, free: 5.996 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.292e-05/0.1795, allocations: 30.56 kB / 493.5 MB, free: 5.957 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.711e-05/0.1796, allocations: 19.77 kB / 493.5 MB, free: 5.938 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004796/0.1801, allocations: 222.6 kB / 493.8 MB, free: 5.68 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.312e-05/0.1802, allocations: 3.984 kB / 493.8 MB, free: 5.676 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.168e-05/0.1802, allocations: 8 kB / 493.8 MB, free: 5.668 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000283/0.1805, allocations: 53.67 kB / 493.8 MB, free: 5.609 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.762e-05/0.1806, allocations: 0 / 493.8 MB, free: 5.609 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.237e-05/0.1806, allocations: 4 kB / 493.8 MB, free: 5.605 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.1806, allocations: 0 / 493.8 MB, free: 5.605 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002068/0.1809, allocations: 39.86 kB / 493.9 MB, free: 5.566 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007114/0.1816, allocations: 300.9 kB / 494.2 MB, free: 5.223 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004496/0.1821, allocations: 66.67 kB / 494.2 MB, free: 5.148 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.693e-05/0.1821, allocations: 4 kB / 494.2 MB, free: 5.145 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003386/0.1825, allocations: 71.45 kB / 494.3 MB, free: 5.062 MB / 330.7 MB Notification: Performance of pre-optimization done (n=7): time 3.616e-06/0.1825, allocations: 4 kB / 494.3 MB, free: 5.059 MB / 330.7 MB Notification: Performance of matching and sorting (n=9): time 0.001389/0.1839, allocations: 205 kB / 494.5 MB, free: 4.852 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.677e-05/0.184, allocations: 55.39 kB / 494.6 MB, free: 4.785 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005698/0.1846, allocations: 246.2 kB / 494.8 MB, free: 4.527 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.434e-05/0.1847, allocations: 33.7 kB / 494.8 MB, free: 4.488 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001445/0.1849, allocations: 162.6 kB / 495 MB, free: 4.328 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.983e-05/0.185, allocations: 31.7 kB / 495 MB, free: 4.297 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.503e-05/0.185, allocations: 12.03 kB / 495 MB, free: 4.285 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001973/0.1852, allocations: 322.8 kB / 495.4 MB, free: 3.961 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001768/0.1854, allocations: 20 kB / 495.4 MB, free: 3.941 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001952/0.1856, allocations: 45.64 kB / 495.4 MB, free: 3.891 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002865/0.1859, allocations: 31.98 kB / 495.4 MB, free: 3.859 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/0.186, allocations: 0 / 495.4 MB, free: 3.859 MB / 330.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005675/0.1866, allocations: 101.6 kB / 495.5 MB, free: 3.754 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.239e-05/0.1866, allocations: 7.953 kB / 495.6 MB, free: 3.746 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.405e-05/0.1867, allocations: 8.031 kB / 495.6 MB, free: 3.738 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.598e-05/0.1867, allocations: 0 / 495.6 MB, free: 3.738 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002526/0.187, allocations: 12 kB / 495.6 MB, free: 3.727 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.072e-05/0.187, allocations: 4 kB / 495.6 MB, free: 3.723 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001555/0.1872, allocations: 11.89 kB / 495.6 MB, free: 3.711 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.352e-05/0.1872, allocations: 4 kB / 495.6 MB, free: 3.707 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 (11): * Single equations (assignments): 11 * 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.0002659/0.1875, allocations: 141.8 kB / 495.7 MB, free: 3.559 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.584e-05/0.1876, allocations: 15.89 kB / 495.7 MB, free: 3.543 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001084/0.1877, allocations: 21.36 kB / 495.8 MB, free: 3.523 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.716e-06/0.1877, allocations: 4 kB / 495.8 MB, free: 3.52 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.027e-05/0.1878, allocations: 3.984 kB / 495.8 MB, free: 3.516 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.1878, allocations: 0 / 495.8 MB, free: 3.516 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00121/0.189, allocations: 423.2 kB / 496.2 MB, free: 3.043 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.054e-05/0.1891, allocations: 3.953 kB / 496.2 MB, free: 3.039 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001331/0.1892, allocations: 15.98 kB / 496.2 MB, free: 3.023 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.837e-06/0.1892, allocations: 0 / 496.2 MB, free: 3.023 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.201e-05/0.1893, allocations: 4.031 kB / 496.2 MB, free: 3.02 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.013e-05/0.1893, allocations: 4 kB / 496.2 MB, free: 3.016 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.1893, allocations: 0 / 496.2 MB, free: 3.016 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007329/0.1901, allocations: 233.8 kB / 496.4 MB, free: 2.762 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001218/0.1902, allocations: 89 kB / 496.5 MB, free: 2.656 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.479e-05/0.1903, allocations: 4 kB / 496.5 MB, free: 2.652 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002121/0.1905, allocations: 11.94 kB / 496.5 MB, free: 2.641 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.88e-05/0.1906, allocations: 7.984 kB / 496.6 MB, free: 2.633 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.77e-05/0.1907, allocations: 4 kB / 496.6 MB, free: 2.629 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004128/0.1911, allocations: 184.5 kB / 496.7 MB, free: 2.449 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.62e-07/0.1911, allocations: 3.938 kB / 496.7 MB, free: 2.445 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006393/0.1918, allocations: 27.98 kB / 496.8 MB, free: 2.418 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 (9): * Single equations (assignments): 7 * 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.003211/0.195, allocations: 1.191 MB / 498 MB, free: 1.254 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005361/0.1956, allocations: 67.91 kB / 498 MB, free: 1.188 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.449e-06/0.1956, allocations: 0 / 498 MB, free: 1.188 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002165/0.1959, allocations: 31.98 kB / 498.1 MB, free: 1.156 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006264/0.1965, allocations: 28.3 kB / 498.1 MB, free: 1.129 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003359/0.1999, allocations: 1.042 MB / 499.1 MB, free: 36 kB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005891/0.2006, allocations: 0.7199 MB / 499.8 MB, free: 15.29 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002041/0.2008, allocations: 39.42 kB / 499.9 MB, free: 15.25 MB / 346.7 MB Notification: Performance of SimCode: time 2.355e-06/0.2008, allocations: 0 / 499.9 MB, free: 15.25 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.669/2.87, allocations: 2.809 MB / 0.4909 GB, free: 12.45 MB / 346.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test8_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test8.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat does not exist to compare? outputFormat=mat