Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test11.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.Test11,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test11,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test11",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.001577, allocations: 182.6 kB / 16.4 MB, free: 5.75 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.086/2.086, allocations: 205.4 MB / 222.5 MB, free: 9.105 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.00118/0.00118, allocations: 92.36 kB / 270.9 MB, free: 8.371 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.5625/0.5625, allocations: 43.55 MB / 362.7 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004687/0.0004687, allocations: 16 kB / 431.5 MB, free: 5.832 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.14/0.1405, allocations: 58.84 MB / 490.3 MB, free: 10.89 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.00299/0.1435, allocations: 1.579 MB / 491.9 MB, free: 9.301 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00188/0.1455, allocations: 0.7772 MB / 492.7 MB, free: 8.516 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001293/0.1456, allocations: 0 / 492.7 MB, free: 8.516 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002979/0.1459, allocations: 35.78 kB / 492.7 MB, free: 8.48 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002484/0.1462, allocations: 43.86 kB / 492.8 MB, free: 8.438 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004147/0.1466, allocations: 91.78 kB / 492.8 MB, free: 8.348 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002384/0.1469, allocations: 87.81 kB / 492.9 MB, free: 8.262 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001365/0.147, allocations: 29.47 kB / 493 MB, free: 8.23 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001267/0.1472, allocations: 47.72 kB / 493 MB, free: 8.184 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.724e-05/0.1473, allocations: 39.78 kB / 493 MB, free: 8.145 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.418e-05/0.1473, allocations: 7.984 kB / 493.1 MB, free: 8.137 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001329/0.1475, allocations: 27.94 kB / 493.1 MB, free: 8.109 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.305e-05/0.1475, allocations: 19.91 kB / 493.1 MB, free: 8.09 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.001e-05/0.1476, allocations: 41.64 kB / 493.1 MB, free: 8.043 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002379/0.1479, allocations: 104 kB / 493.2 MB, free: 7.941 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.315e-06/0.1479, allocations: 4 kB / 493.2 MB, free: 7.938 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.1479, allocations: 0 / 493.2 MB, free: 7.938 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.1479, allocations: 0 / 493.2 MB, free: 7.938 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007916/0.1487, allocations: 472.3 kB / 493.7 MB, free: 7.422 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/0.1488, allocations: 8.031 kB / 493.7 MB, free: 7.414 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.053e-05/0.1488, allocations: 34.56 kB / 493.7 MB, free: 7.371 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.856e-05/0.1489, allocations: 19.75 kB / 493.8 MB, free: 7.352 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003472/0.1492, allocations: 218.8 kB / 494 MB, free: 7.098 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.862e-05/0.1493, allocations: 4 kB / 494 MB, free: 7.094 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.163e-05/0.1493, allocations: 8 kB / 494 MB, free: 7.086 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003368/0.1497, allocations: 112 kB / 494.1 MB, free: 6.965 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.1497, allocations: 0 / 494.1 MB, free: 6.965 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.405e-05/0.1497, allocations: 7.953 kB / 494.1 MB, free: 6.957 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.877e-06/0.1497, allocations: 8 kB / 494.1 MB, free: 6.949 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002416/0.15, allocations: 47.91 kB / 494.2 MB, free: 6.902 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007981/0.1508, allocations: 0.5049 MB / 494.7 MB, free: 6.34 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004788/0.1513, allocations: 94.58 kB / 494.8 MB, free: 6.238 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.502e-05/0.1513, allocations: 0 / 494.8 MB, free: 6.238 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003193/0.1517, allocations: 91.31 kB / 494.9 MB, free: 6.137 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 2.003e-06/0.1517, allocations: 0 / 494.9 MB, free: 6.137 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0006288/0.1523, allocations: 149.4 kB / 495 MB, free: 5.984 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.93e-05/0.1524, allocations: 55.34 kB / 495.1 MB, free: 5.918 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002685/0.1527, allocations: 191.5 kB / 495.2 MB, free: 5.719 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.937e-05/0.1527, allocations: 29.7 kB / 495.3 MB, free: 5.684 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001098/0.1528, allocations: 170.5 kB / 495.4 MB, free: 5.516 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.579e-05/0.1529, allocations: 35.55 kB / 495.5 MB, free: 5.48 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.735e-06/0.1529, allocations: 0 / 495.5 MB, free: 5.48 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000138/0.1531, allocations: 314.8 kB / 495.8 MB, free: 5.164 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001466/0.1532, allocations: 27.98 kB / 495.8 MB, free: 5.137 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001844/0.1534, allocations: 68.27 kB / 495.9 MB, free: 5.055 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001672/0.1536, allocations: 35.98 kB / 495.9 MB, free: 5.02 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/0.1536, allocations: 3.953 kB / 495.9 MB, free: 5.016 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004533/0.1541, allocations: 137.4 kB / 496 MB, free: 4.875 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.788e-05/0.1541, allocations: 8 kB / 496 MB, free: 4.867 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.1541, allocations: 0 / 496 MB, free: 4.867 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.937e-05/0.1542, allocations: 4 kB / 496.1 MB, free: 4.863 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002108/0.1544, allocations: 20.45 kB / 496.1 MB, free: 4.844 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.154e-05/0.1544, allocations: 4 kB / 496.1 MB, free: 4.84 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001319/0.1546, allocations: 16.06 kB / 496.1 MB, free: 4.824 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.939e-05/0.1546, allocations: 12 kB / 496.1 MB, free: 4.812 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001586/0.1548, allocations: 141.1 kB / 496.2 MB, free: 4.668 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.064e-05/0.1548, allocations: 19.7 kB / 496.3 MB, free: 4.648 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.121e-05/0.1549, allocations: 13.41 kB / 496.3 MB, free: 4.637 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.616e-06/0.1549, allocations: 7.984 kB / 496.3 MB, free: 4.629 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.1549, allocations: 0 / 496.3 MB, free: 4.629 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.1549, allocations: 3.984 kB / 496.3 MB, free: 4.625 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002568/0.1552, allocations: 205.8 kB / 496.5 MB, free: 4.375 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.1552, allocations: 4 kB / 496.5 MB, free: 4.371 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001397/0.1554, allocations: 15.95 kB / 496.5 MB, free: 4.355 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.1554, allocations: 0 / 496.5 MB, free: 4.355 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.833e-05/0.1554, allocations: 4 kB / 496.5 MB, free: 4.352 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.1554, allocations: 0 / 496.5 MB, free: 4.352 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.1554, allocations: 3.984 kB / 496.5 MB, free: 4.348 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006139/0.1561, allocations: 188.8 kB / 496.7 MB, free: 4.145 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.079e-05/0.1562, allocations: 92.89 kB / 496.8 MB, free: 4.035 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.018e-05/0.1562, allocations: 11.94 kB / 496.8 MB, free: 4.023 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001079/0.1563, allocations: 4 kB / 496.8 MB, free: 4.02 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.235e-05/0.1564, allocations: 11.92 kB / 496.8 MB, free: 4.008 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.308e-05/0.1564, allocations: 4 kB / 496.8 MB, free: 4.004 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001854/0.1566, allocations: 137.2 kB / 497 MB, free: 3.871 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.1566, allocations: 4.062 kB / 497 MB, free: 3.867 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003257/0.157, allocations: 24 kB / 497 MB, free: 3.844 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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.002082/0.1591, allocations: 1.033 MB / 498 MB, free: 2.828 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004127/0.1595, allocations: 79.91 kB / 498.1 MB, free: 2.75 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.1595, allocations: 0 / 498.1 MB, free: 2.75 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001744/0.1597, allocations: 44.09 kB / 498.1 MB, free: 2.707 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003946/0.1601, allocations: 40.5 kB / 498.2 MB, free: 2.668 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002272/0.1624, allocations: 1.468 MB / 499.6 MB, free: 1.129 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003465/0.1628, allocations: 0.7201 MB / 0.4886 GB, free: 392 kB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001235/0.163, allocations: 39.42 kB / 0.4887 GB, free: 352 kB / 378.7 MB Notification: Performance of SimCode: time 1.653e-06/0.163, allocations: 4 kB / 0.4887 GB, free: 348 kB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.077/3.24, allocations: 2.725 MB / 0.4913 GB, free: 42.11 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test11.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test11_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test11.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1)