Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test72,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test72",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test72,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test72",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00159/0.001591, allocations: 104.2 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00127/0.00127, allocations: 191.9 kB / 18.56 MB, free: 4.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.429/1.429, allocations: 222.9 MB / 242.3 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2201/0.2201, allocations: 44.18 MB / 336.6 MB, free: 2.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 67.81 kB / 408.5 MB, free: 27.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1303/0.1316, allocations: 60.82 MB / 469.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.004513/0.1362, allocations: 1.796 MB / 471.2 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001834/0.1381, allocations: 0.9627 MB / 472.1 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001403/0.1383, allocations: 0 / 472.1 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005773/0.1388, allocations: 307.3 kB / 472.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004817/0.1394, allocations: 211.3 kB / 472.6 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000484/0.1399, allocations: 166.8 kB / 472.8 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003513/0.1402, allocations: 239.4 kB / 473 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.174e-05/0.1403, allocations: 13.55 kB / 473 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002406/0.1406, allocations: 131.5 kB / 473.2 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002422/0.1408, allocations: 191.5 kB / 473.4 MB, free: 10.26 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.057e-05/0.1409, allocations: 11.94 kB / 473.4 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001225/0.141, allocations: 43.98 kB / 473.4 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001346/0.1411, allocations: 135.6 kB / 473.5 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001487/0.1413, allocations: 142.8 kB / 473.7 MB, free: 9.934 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003937/0.1417, allocations: 367 kB / 474 MB, free: 9.574 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.1417, allocations: 0 / 474 MB, free: 9.574 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1417, allocations: 0 / 474 MB, free: 9.574 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.059e-05/0.1417, allocations: 0 / 474 MB, free: 9.574 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.00104/0.1428, allocations: 0.7269 MB / 474.8 MB, free: 8.797 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.1428, allocations: 12.03 kB / 474.8 MB, free: 8.785 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.437e-05/0.1429, allocations: 30.75 kB / 474.8 MB, free: 8.746 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.11e-05/0.143, allocations: 48.28 kB / 474.9 MB, free: 8.699 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005843/0.1435, allocations: 451.9 kB / 475.3 MB, free: 8.215 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.554e-05/0.1436, allocations: 4.312 kB / 475.3 MB, free: 8.211 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.661e-05/0.1436, allocations: 7.938 kB / 475.3 MB, free: 8.203 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002156/0.1438, allocations: 91.28 kB / 475.4 MB, free: 8.102 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.116e-06/0.1438, allocations: 4 kB / 475.4 MB, free: 8.098 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.577e-05/0.1439, allocations: 0 / 475.4 MB, free: 8.098 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.1439, allocations: 4 kB / 475.4 MB, free: 8.094 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000143/0.144, allocations: 31.97 kB / 475.4 MB, free: 8.062 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005935/0.1446, allocations: 370.4 kB / 475.8 MB, free: 7.648 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000286/0.1449, allocations: 109.1 kB / 475.9 MB, free: 7.523 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.459e-05/0.145, allocations: 41.7 kB / 475.9 MB, free: 7.477 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.011e-05/0.1451, allocations: 4 kB / 475.9 MB, free: 7.473 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003117/0.1454, allocations: 116.9 kB / 476.1 MB, free: 7.34 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.593e-06/0.1454, allocations: 0 / 476.1 MB, free: 7.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005568/0.146, allocations: 193 kB / 476.3 MB, free: 7.145 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.68e-05/0.1461, allocations: 81.11 kB / 476.3 MB, free: 7.047 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001213/0.1473, allocations: 1.03 MB / 477.4 MB, free: 6.008 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.39e-05/0.1473, allocations: 33.7 kB / 477.4 MB, free: 5.969 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002005/0.1475, allocations: 236.1 kB / 477.6 MB, free: 5.734 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.851e-05/0.1476, allocations: 31.56 kB / 477.7 MB, free: 5.703 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.41e-05/0.1477, allocations: 33.7 kB / 477.7 MB, free: 5.664 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002198/0.1479, allocations: 362.8 kB / 478 MB, free: 5.301 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001003/0.148, allocations: 27.98 kB / 478.1 MB, free: 5.273 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001194/0.1481, allocations: 61.78 kB / 478.1 MB, free: 5.203 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001903/0.1483, allocations: 99.8 kB / 478.2 MB, free: 5.094 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.1483, allocations: 3.938 kB / 478.2 MB, free: 5.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003387/0.1487, allocations: 165 kB / 478.4 MB, free: 4.922 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.1487, allocations: 4 kB / 478.4 MB, free: 4.918 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.1487, allocations: 4 kB / 478.4 MB, free: 4.914 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.1488, allocations: 0 / 478.4 MB, free: 4.914 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001171/0.1489, allocations: 28.05 kB / 478.4 MB, free: 4.887 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.1489, allocations: 0 / 478.4 MB, free: 4.887 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001074/0.149, allocations: 11.91 kB / 478.4 MB, free: 4.875 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.312e-05/0.149, allocations: 4 kB / 478.4 MB, free: 4.871 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000229/0.1493, allocations: 229.6 kB / 478.7 MB, free: 4.637 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.036e-05/0.1493, allocations: 55.34 kB / 478.7 MB, free: 4.582 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.144e-05/0.1494, allocations: 56 kB / 478.8 MB, free: 4.523 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.1495, allocations: 7.938 kB / 478.8 MB, free: 4.516 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.1495, allocations: 0 / 478.8 MB, free: 4.516 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.1495, allocations: 4 kB / 478.8 MB, free: 4.512 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003222/0.1498, allocations: 341.4 kB / 479.1 MB, free: 4.129 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1498, allocations: 0 / 479.1 MB, free: 4.129 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.712e-05/0.1499, allocations: 4 kB / 479.1 MB, free: 4.125 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.185e-06/0.1499, allocations: 4 kB / 479.1 MB, free: 4.121 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.217e-05/0.1499, allocations: 3.984 kB / 479.1 MB, free: 4.117 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-06/0.1499, allocations: 4 kB / 479.1 MB, free: 4.113 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.1499, allocations: 0 / 479.1 MB, free: 4.113 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003442/0.1502, allocations: 205.2 kB / 479.3 MB, free: 3.891 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001428/0.1504, allocations: 136.5 kB / 479.5 MB, free: 3.738 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.92e-05/0.1505, allocations: 4.109 kB / 479.5 MB, free: 3.734 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.111e-05/0.1505, allocations: 11.98 kB / 479.5 MB, free: 3.723 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.767e-05/0.1506, allocations: 11.98 kB / 479.5 MB, free: 3.711 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.712e-05/0.1506, allocations: 7.938 kB / 479.5 MB, free: 3.703 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0008355/0.1515, allocations: 0.7682 MB / 480.3 MB, free: 2.938 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1515, allocations: 4 kB / 480.3 MB, free: 2.934 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002789/0.1518, allocations: 43.98 kB / 480.3 MB, free: 2.891 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001471/0.1532, allocations: 1.046 MB / 481.4 MB, free: 1.973 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002614/0.1535, allocations: 88.02 kB / 481.5 MB, free: 1.887 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1535, allocations: 0 / 481.5 MB, free: 1.887 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000109/0.1536, allocations: 48.17 kB / 481.5 MB, free: 1.84 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004354/0.1541, allocations: 74.31 kB / 481.6 MB, free: 1.773 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00566/0.1597, allocations: 4.631 MB / 486.2 MB, free: 13.03 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004603/0.1602, allocations: 0.8465 MB / 487 MB, free: 12.16 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001392/0.1604, allocations: 54.94 kB / 487.1 MB, free: 12.1 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001973/0.1606, allocations: 147.4 kB / 487.2 MB, free: 11.96 MB / 366.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1606, allocations: 0 / 487.2 MB, free: 11.96 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03079/0.1914, allocations: 8.759 MB / 496 MB, free: 3.305 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.621/7.813, allocations: 14.81 kB / 496 MB, free: 3.293 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test72_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test72.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1)