Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test13.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.Test13,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test13",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test13,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test13",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.001663/0.001663, allocations: 187 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.156/2.156, 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.001202/0.001202, allocations: 102.8 kB / 270.9 MB, free: 13.36 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.3363/0.3363, allocations: 43.56 MB / 362.7 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007597/0.0007601, allocations: 12 kB / 431.5 MB, free: 20.17 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1339/0.1347, allocations: 58.86 MB / 490.3 MB, free: 9.23 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.00301/0.1378, allocations: 1.572 MB / 491.9 MB, free: 7.645 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001882/0.1397, allocations: 0.7695 MB / 492.7 MB, free: 6.867 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001233/0.1399, allocations: 0 / 492.7 MB, free: 6.867 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003029/0.1402, allocations: 39.77 kB / 492.7 MB, free: 6.828 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002719/0.1405, allocations: 47.86 kB / 492.8 MB, free: 6.781 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004509/0.1409, allocations: 83.72 kB / 492.8 MB, free: 6.699 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002503/0.1412, allocations: 95.75 kB / 492.9 MB, free: 6.605 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001338/0.1414, allocations: 25.48 kB / 493 MB, free: 6.574 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001221/0.1415, allocations: 43.78 kB / 493 MB, free: 6.531 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001022/0.1416, allocations: 35.78 kB / 493 MB, free: 6.496 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.285e-05/0.1416, allocations: 4 kB / 493 MB, free: 6.492 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001263/0.1418, allocations: 27.94 kB / 493.1 MB, free: 6.465 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 5.687e-05/0.1419, allocations: 23.91 kB / 493.1 MB, free: 6.441 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 6.47e-05/0.1419, allocations: 49.56 kB / 493.1 MB, free: 6.387 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002342/0.1422, allocations: 100.1 kB / 493.2 MB, free: 6.289 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.1422, allocations: 4 kB / 493.2 MB, free: 6.285 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1422, allocations: 0 / 493.2 MB, free: 6.285 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.059e-06/0.1422, allocations: 0 / 493.2 MB, free: 6.285 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.0007876/0.143, allocations: 456.5 kB / 493.7 MB, free: 5.785 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.148e-05/0.1431, allocations: 11.97 kB / 493.7 MB, free: 5.773 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.027e-05/0.1431, allocations: 42.55 kB / 493.7 MB, free: 5.723 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.391e-05/0.1432, allocations: 19.77 kB / 493.8 MB, free: 5.703 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003657/0.1436, allocations: 222.8 kB / 494 MB, free: 5.445 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.866e-05/0.1436, allocations: 4 kB / 494 MB, free: 5.441 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.251e-05/0.1437, allocations: 8 kB / 494 MB, free: 5.434 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003332/0.144, allocations: 104.2 kB / 494.1 MB, free: 5.316 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.144, allocations: 0 / 494.1 MB, free: 5.316 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.827e-05/0.1441, allocations: 4 kB / 494.1 MB, free: 5.312 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.1441, allocations: 0 / 494.1 MB, free: 5.312 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002477/0.1443, allocations: 63.86 kB / 494.2 MB, free: 5.25 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007971/0.1451, allocations: 0.497 MB / 494.7 MB, free: 4.695 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004698/0.1456, allocations: 94.61 kB / 494.7 MB, free: 4.594 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.741e-05/0.1457, allocations: 4 kB / 494.8 MB, free: 4.59 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003149/0.146, allocations: 91.22 kB / 494.8 MB, free: 4.488 MB / 330.7 MB Notification: Performance of pre-optimization done (n=9): time 2.295e-06/0.146, allocations: 0 / 494.8 MB, free: 4.488 MB / 330.7 MB Notification: Performance of matching and sorting (n=9): time 0.0006091/0.1466, allocations: 141.8 kB / 495 MB, free: 4.344 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.537e-05/0.1467, allocations: 51.5 kB / 495 MB, free: 4.281 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002659/0.147, allocations: 195.4 kB / 495.2 MB, free: 4.078 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.655e-05/0.147, allocations: 29.7 kB / 495.2 MB, free: 4.043 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001183/0.1472, allocations: 182.5 kB / 495.4 MB, free: 3.863 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.311e-05/0.1472, allocations: 23.66 kB / 495.4 MB, free: 3.84 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.008e-05/0.1472, allocations: 4 kB / 495.5 MB, free: 3.836 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.1474, allocations: 318.8 kB / 495.8 MB, free: 3.516 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001463/0.1475, allocations: 27.98 kB / 495.8 MB, free: 3.488 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001798/0.1477, allocations: 68.27 kB / 495.9 MB, free: 3.406 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000165/0.1479, allocations: 39.92 kB / 495.9 MB, free: 3.367 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.1479, allocations: 0 / 495.9 MB, free: 3.367 MB / 330.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004399/0.1484, allocations: 137.4 kB / 496 MB, free: 3.227 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.225e-05/0.1484, allocations: 11.42 kB / 496 MB, free: 3.219 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.1484, allocations: 0 / 496 MB, free: 3.219 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.992e-05/0.1485, allocations: 4 kB / 496 MB, free: 3.215 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001867/0.1487, allocations: 23.94 kB / 496.1 MB, free: 3.191 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.21e-05/0.1487, allocations: 3.984 kB / 496.1 MB, free: 3.188 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000125/0.1488, allocations: 24 kB / 496.1 MB, free: 3.164 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.577e-05/0.1489, allocations: 4 kB / 496.1 MB, free: 3.16 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.0002029/0.1491, allocations: 125.8 kB / 496.2 MB, free: 3.027 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.27e-05/0.1491, allocations: 23.75 kB / 496.2 MB, free: 3.004 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.01e-05/0.1492, allocations: 13.41 kB / 496.3 MB, free: 2.988 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-06/0.1492, allocations: 0 / 496.3 MB, free: 2.988 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/0.1492, allocations: 0 / 496.3 MB, free: 2.988 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/0.1492, allocations: 3.984 kB / 496.3 MB, free: 2.984 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002637/0.1495, allocations: 209.6 kB / 496.5 MB, free: 2.73 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.1495, allocations: 0 / 496.5 MB, free: 2.73 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001418/0.1497, allocations: 23.92 kB / 496.5 MB, free: 2.707 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.1497, allocations: 0 / 496.5 MB, free: 2.707 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.903e-05/0.1497, allocations: 3.953 kB / 496.5 MB, free: 2.703 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.1497, allocations: 4 kB / 496.5 MB, free: 2.699 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.1497, allocations: 96 / 496.5 MB, free: 2.699 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006207/0.1504, allocations: 192.8 kB / 496.7 MB, free: 2.492 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.37e-05/0.1505, allocations: 96.89 kB / 496.8 MB, free: 2.379 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.226e-05/0.1505, allocations: 0 / 496.8 MB, free: 2.379 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001166/0.1506, allocations: 15.94 kB / 496.8 MB, free: 2.363 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.459e-05/0.1507, allocations: 11.98 kB / 496.8 MB, free: 2.352 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.995e-05/0.1507, allocations: 0 / 496.8 MB, free: 2.352 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001853/0.1509, allocations: 141.2 kB / 496.9 MB, free: 2.215 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.1509, allocations: 64 / 496.9 MB, free: 2.215 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003387/0.1513, allocations: 32.12 kB / 497 MB, free: 2.184 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.002048/0.1534, allocations: 1.024 MB / 498 MB, free: 1.184 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004048/0.1538, allocations: 87.83 kB / 498.1 MB, free: 1.098 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.1538, allocations: 0 / 498.1 MB, free: 1.098 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001742/0.154, allocations: 35.98 kB / 498.1 MB, free: 1.062 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003859/0.1544, allocations: 32.36 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.002297/0.1567, allocations: 1.477 MB / 499.6 MB, free: 15.49 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003762/0.1571, allocations: 0.7123 MB / 0.4886 GB, free: 14.75 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000125/0.1573, allocations: 39.42 kB / 0.4887 GB, free: 14.71 MB / 346.7 MB Notification: Performance of SimCode: time 1.072e-06/0.1573, allocations: 3.938 kB / 0.4887 GB, free: 14.71 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.884/3.041, allocations: 2.744 MB / 0.4913 GB, free: 11.96 MB / 346.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test13.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test13_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test13.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1)