Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test10.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.Test10,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test10,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test10",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.001595/0.0016, allocations: 189.5 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.141/2.141, 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.001162/0.001161, allocations: 94.84 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.2924/0.2924, allocations: 43.56 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008377/0.0008378, allocations: 16 kB / 431.5 MB, free: 20.17 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1314/0.1323, allocations: 58.86 MB / 490.3 MB, free: 9.242 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.002955/0.1353, allocations: 1.576 MB / 491.9 MB, free: 7.652 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001977/0.1373, allocations: 0.7694 MB / 492.7 MB, free: 6.875 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001351/0.1375, allocations: 4 kB / 492.7 MB, free: 6.871 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003165/0.1379, allocations: 35.77 kB / 492.7 MB, free: 6.836 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002643/0.1381, allocations: 43.88 kB / 492.8 MB, free: 6.793 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004259/0.1386, allocations: 87.77 kB / 492.8 MB, free: 6.707 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002429/0.1388, allocations: 99.75 kB / 492.9 MB, free: 6.609 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001253/0.139, allocations: 21.48 kB / 493 MB, free: 6.582 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001273/0.1391, allocations: 47.78 kB / 493 MB, free: 6.535 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.627e-05/0.1392, allocations: 35.78 kB / 493 MB, free: 6.5 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.19e-05/0.1393, allocations: 4 kB / 493 MB, free: 6.496 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001279/0.1394, allocations: 27.94 kB / 493.1 MB, free: 6.469 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 5.335e-05/0.1395, allocations: 23.91 kB / 493.1 MB, free: 6.445 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 6.738e-05/0.1396, allocations: 49.58 kB / 493.1 MB, free: 6.391 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002288/0.1398, allocations: 100 kB / 493.2 MB, free: 6.293 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.305e-06/0.1398, allocations: 0 / 493.2 MB, free: 6.293 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.1398, allocations: 0 / 493.2 MB, free: 6.293 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.1398, allocations: 0 / 493.2 MB, free: 6.293 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.000796/0.1406, allocations: 456.5 kB / 493.7 MB, free: 5.793 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.728e-05/0.1407, allocations: 15.97 kB / 493.7 MB, free: 5.777 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.881e-05/0.1408, allocations: 42.55 kB / 493.7 MB, free: 5.727 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.644e-05/0.1408, allocations: 19.77 kB / 493.8 MB, free: 5.707 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003693/0.1412, allocations: 218.8 kB / 494 MB, free: 5.453 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.18e-05/0.1413, allocations: 8 kB / 494 MB, free: 5.445 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.077e-05/0.1413, allocations: 4 kB / 494 MB, free: 5.441 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003356/0.1416, allocations: 111.3 kB / 494.1 MB, free: 5.32 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.1417, allocations: 4 kB / 494.1 MB, free: 5.316 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.738e-05/0.1417, allocations: 0 / 494.1 MB, free: 5.316 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/0.1417, allocations: 4 kB / 494.1 MB, free: 5.312 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002472/0.142, allocations: 55.86 kB / 494.2 MB, free: 5.258 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008874/0.1429, allocations: 0.5009 MB / 494.7 MB, free: 4.699 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004767/0.1434, allocations: 94.61 kB / 494.8 MB, free: 4.598 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.851e-05/0.1434, allocations: 0 / 494.8 MB, free: 4.598 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003143/0.1438, allocations: 91.22 kB / 494.8 MB, free: 4.496 MB / 330.7 MB Notification: Performance of pre-optimization done (n=9): time 2.074e-06/0.1438, allocations: 0 / 494.8 MB, free: 4.496 MB / 330.7 MB Notification: Performance of matching and sorting (n=9): time 0.0006644/0.1444, allocations: 145.4 kB / 495 MB, free: 4.348 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.547e-05/0.1445, allocations: 59.41 kB / 495 MB, free: 4.277 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002711/0.1448, allocations: 183.5 kB / 495.2 MB, free: 4.086 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.638e-05/0.1448, allocations: 33.7 kB / 495.3 MB, free: 4.047 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001238/0.145, allocations: 178.4 kB / 495.4 MB, free: 3.871 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.254e-05/0.145, allocations: 27.8 kB / 495.5 MB, free: 3.844 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.684e-06/0.145, allocations: 0 / 495.5 MB, free: 3.844 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001476/0.1452, allocations: 318.8 kB / 495.8 MB, free: 3.523 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001633/0.1454, allocations: 31.98 kB / 495.8 MB, free: 3.492 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001775/0.1456, allocations: 64.27 kB / 495.9 MB, free: 3.414 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001845/0.1458, allocations: 39.92 kB / 495.9 MB, free: 3.375 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.277e-06/0.1458, allocations: 4 kB / 495.9 MB, free: 3.371 MB / 330.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004427/0.1462, allocations: 133.4 kB / 496 MB, free: 3.234 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.127e-05/0.1463, allocations: 4 kB / 496 MB, free: 3.23 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/0.1463, allocations: 7.984 kB / 496 MB, free: 3.223 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.1463, allocations: 0 / 496 MB, free: 3.223 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001882/0.1465, allocations: 23.94 kB / 496.1 MB, free: 3.199 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.893e-05/0.1466, allocations: 12.11 kB / 496.1 MB, free: 3.188 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001225/0.1467, allocations: 11.88 kB / 496.1 MB, free: 3.176 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.049e-05/0.1467, allocations: 11.98 kB / 496.1 MB, free: 3.164 MB / 330.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.000155/0.1469, allocations: 125.3 kB / 496.2 MB, free: 3.035 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.286e-05/0.1469, allocations: 28.22 kB / 496.3 MB, free: 3.008 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.22e-05/0.147, allocations: 13.41 kB / 496.3 MB, free: 2.992 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.147, allocations: 0 / 496.3 MB, free: 2.992 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.147, allocations: 4 kB / 496.3 MB, free: 2.988 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.1471, allocations: 4 kB / 496.3 MB, free: 2.984 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002559/0.1473, allocations: 209.5 kB / 496.5 MB, free: 2.73 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.406e-06/0.1473, allocations: 4 kB / 496.5 MB, free: 2.727 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001376/0.1475, allocations: 15.92 kB / 496.5 MB, free: 2.711 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.1475, allocations: 4 kB / 496.5 MB, free: 2.707 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.816e-05/0.1475, allocations: 3.953 kB / 496.5 MB, free: 2.703 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.195e-06/0.1476, allocations: 0 / 496.5 MB, free: 2.703 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.1476, allocations: 0 / 496.5 MB, free: 2.703 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006371/0.1482, allocations: 188.8 kB / 496.7 MB, free: 2.5 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.32e-05/0.1483, allocations: 96.89 kB / 496.8 MB, free: 2.387 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.346e-05/0.1484, allocations: 4 kB / 496.8 MB, free: 2.383 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001134/0.1485, allocations: 11.94 kB / 496.8 MB, free: 2.371 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.549e-05/0.1486, allocations: 11.98 kB / 496.8 MB, free: 2.359 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.382e-05/0.1486, allocations: 8.062 kB / 496.8 MB, free: 2.352 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001777/0.1488, allocations: 137.2 kB / 497 MB, free: 2.219 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.1488, allocations: 0 / 497 MB, free: 2.219 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003373/0.1492, allocations: 28.12 kB / 497 MB, free: 2.191 MB / 330.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.00207/0.1512, allocations: 1.027 MB / 498 MB, free: 1.184 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000413/0.1517, allocations: 83.83 kB / 498.1 MB, free: 1.102 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.1517, allocations: 4 kB / 498.1 MB, free: 1.098 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001703/0.1519, allocations: 40.23 kB / 498.1 MB, free: 1.059 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004111/0.1523, allocations: 31.77 kB / 498.2 MB, free: 1.031 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002347/0.1547, allocations: 1.476 MB / 499.6 MB, free: 15.49 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003769/0.1551, allocations: 0.7162 MB / 0.4886 GB, free: 14.75 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001286/0.1552, allocations: 43.42 kB / 0.4887 GB, free: 14.71 MB / 346.7 MB Notification: Performance of SimCode: time 8.31e-07/0.1553, allocations: 0 / 0.4887 GB, free: 14.71 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.86/3.015, allocations: 2.732 MB / 0.4913 GB, free: 11.97 MB / 346.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test10.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test10_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test10.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1)