Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test12.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.Test12,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test12,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test12",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.001617/0.001617, allocations: 184.4 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.077/2.077, 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.00118/0.00118, allocations: 100 kB / 270.9 MB, free: 8.363 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.5414/0.5414, allocations: 43.55 MB / 362.7 MB, free: 51.87 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005262/0.0005263, allocations: 15.98 kB / 431.5 MB, free: 5.824 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1371/0.1377, allocations: 58.84 MB / 490.3 MB, free: 10.89 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.003181/0.1409, allocations: 1.583 MB / 491.9 MB, free: 9.293 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002005/0.143, allocations: 0.7772 MB / 492.7 MB, free: 8.508 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001657/0.1432, allocations: 0 / 492.7 MB, free: 8.508 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003275/0.1435, allocations: 35.77 kB / 492.7 MB, free: 8.473 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002778/0.1438, allocations: 43.89 kB / 492.8 MB, free: 8.43 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004856/0.1443, allocations: 91.75 kB / 492.8 MB, free: 8.34 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002746/0.1446, allocations: 83.83 kB / 492.9 MB, free: 8.258 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001643/0.1448, allocations: 29.47 kB / 493 MB, free: 8.227 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000135/0.1449, allocations: 51.77 kB / 493 MB, free: 8.176 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001075/0.1451, allocations: 35.73 kB / 493 MB, free: 8.141 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.971e-05/0.1451, allocations: 4 kB / 493 MB, free: 8.137 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001611/0.1453, allocations: 31.92 kB / 493.1 MB, free: 8.105 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.409e-05/0.1454, allocations: 23.91 kB / 493.1 MB, free: 8.082 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.101e-05/0.1454, allocations: 37.64 kB / 493.1 MB, free: 8.039 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002505/0.1457, allocations: 108 kB / 493.2 MB, free: 7.934 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.1457, allocations: 4 kB / 493.2 MB, free: 7.93 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1457, allocations: 0 / 493.2 MB, free: 7.93 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.1457, allocations: 0 / 493.2 MB, free: 7.93 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.000827/0.1466, allocations: 468.3 kB / 493.7 MB, free: 7.418 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.871e-05/0.1466, allocations: 8.031 kB / 493.7 MB, free: 7.41 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.348e-05/0.1467, allocations: 38.56 kB / 493.7 MB, free: 7.363 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.742e-05/0.1468, allocations: 19.8 kB / 493.8 MB, free: 7.344 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003704/0.1471, allocations: 214.8 kB / 494 MB, free: 7.094 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.957e-05/0.1472, allocations: 8 kB / 494 MB, free: 7.086 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.341e-05/0.1472, allocations: 8 kB / 494 MB, free: 7.078 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003579/0.1476, allocations: 112 kB / 494.1 MB, free: 6.957 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.1476, allocations: 0 / 494.1 MB, free: 6.957 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.493e-05/0.1477, allocations: 7.953 kB / 494.1 MB, free: 6.949 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.1477, allocations: 0 / 494.1 MB, free: 6.949 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002549/0.1479, allocations: 63.89 kB / 494.2 MB, free: 6.887 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008922/0.1488, allocations: 0.497 MB / 494.7 MB, free: 6.332 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004949/0.1494, allocations: 90.61 kB / 494.8 MB, free: 6.234 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.213e-05/0.1494, allocations: 7.984 kB / 494.8 MB, free: 6.227 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003261/0.1498, allocations: 83.31 kB / 494.8 MB, free: 6.133 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 3.477e-06/0.1498, allocations: 0 / 494.8 MB, free: 6.133 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0006513/0.1505, allocations: 149.4 kB / 495 MB, free: 5.98 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.517e-05/0.1505, allocations: 55.34 kB / 495 MB, free: 5.914 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002973/0.1508, allocations: 187.5 kB / 495.2 MB, free: 5.719 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.856e-05/0.1509, allocations: 29.7 kB / 495.3 MB, free: 5.684 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001188/0.151, allocations: 174.5 kB / 495.4 MB, free: 5.512 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.325e-05/0.1511, allocations: 35.69 kB / 495.5 MB, free: 5.477 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.604e-06/0.1511, allocations: 0 / 495.5 MB, free: 5.477 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000151/0.1513, allocations: 322.8 kB / 495.8 MB, free: 5.152 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001721/0.1514, allocations: 27.98 kB / 495.8 MB, free: 5.125 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000178/0.1516, allocations: 60.28 kB / 495.9 MB, free: 5.051 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001784/0.1518, allocations: 39.98 kB / 495.9 MB, free: 5.012 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.472e-06/0.1518, allocations: 3.953 kB / 495.9 MB, free: 5.008 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004985/0.1524, allocations: 141.4 kB / 496 MB, free: 4.863 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.308e-05/0.1524, allocations: 4 kB / 496.1 MB, free: 4.859 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.1524, allocations: 0 / 496.1 MB, free: 4.859 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.182e-05/0.1524, allocations: 4 kB / 496.1 MB, free: 4.855 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001958/0.1526, allocations: 27.98 kB / 496.1 MB, free: 4.828 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.679e-06/0.1527, allocations: 0 / 496.1 MB, free: 4.828 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001333/0.1528, allocations: 16.39 kB / 496.1 MB, free: 4.812 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.778e-05/0.1528, allocations: 8.125 kB / 496.1 MB, free: 4.805 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.0001855/0.153, allocations: 133.2 kB / 496.2 MB, free: 4.668 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.454e-05/0.1531, allocations: 23.7 kB / 496.3 MB, free: 4.645 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.957e-05/0.1532, allocations: 21.39 kB / 496.3 MB, free: 4.625 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.1532, allocations: 3.938 kB / 496.3 MB, free: 4.621 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-06/0.1532, allocations: 3.984 kB / 496.3 MB, free: 4.617 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.1532, allocations: 0 / 496.3 MB, free: 4.617 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002701/0.1535, allocations: 205.6 kB / 496.5 MB, free: 4.367 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.1535, allocations: 0 / 496.5 MB, free: 4.367 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001558/0.1537, allocations: 23.94 kB / 496.5 MB, free: 4.344 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-06/0.1537, allocations: 0 / 496.5 MB, free: 4.344 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.575e-05/0.1537, allocations: 0 / 496.5 MB, free: 4.344 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.1537, allocations: 4 kB / 496.5 MB, free: 4.34 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.1537, allocations: 0 / 496.5 MB, free: 4.34 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006536/0.1544, allocations: 184.8 kB / 496.7 MB, free: 4.141 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.932e-05/0.1545, allocations: 100.9 kB / 496.8 MB, free: 4.023 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.715e-05/0.1546, allocations: 3.953 kB / 496.8 MB, free: 4.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001189/0.1547, allocations: 11.98 kB / 496.8 MB, free: 4.008 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.809e-05/0.1548, allocations: 4 kB / 496.8 MB, free: 4.004 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.306e-05/0.1548, allocations: 7.938 kB / 496.8 MB, free: 3.996 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001979/0.155, allocations: 141.2 kB / 497 MB, free: 3.859 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.155, allocations: 0 / 497 MB, free: 3.859 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003465/0.1554, allocations: 32.05 kB / 497 MB, free: 3.828 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.002194/0.1576, allocations: 1.021 MB / 498 MB, free: 2.824 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000475/0.1581, allocations: 87.89 kB / 498.1 MB, free: 2.738 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.1582, allocations: 0 / 498.1 MB, free: 2.738 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001834/0.1584, allocations: 35.92 kB / 498.1 MB, free: 2.703 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004103/0.1588, allocations: 40.42 kB / 498.2 MB, free: 2.664 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002496/0.1613, allocations: 1.473 MB / 499.6 MB, free: 1.121 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00043/0.1618, allocations: 0.7162 MB / 0.4886 GB, free: 388 kB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000133/0.1619, allocations: 39.42 kB / 0.4887 GB, free: 348 kB / 378.7 MB Notification: Performance of SimCode: time 1.372e-06/0.162, allocations: 0 / 0.4887 GB, free: 348 kB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.158/3.32, allocations: 2.732 MB / 0.4913 GB, free: 42.09 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test12_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test12.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1)