Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.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 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 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 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.Test71,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test71",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test71,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test71",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.00122/0.001219, allocations: 95.89 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00138/0.00138, allocations: 174.8 kB / 16.56 MB, free: 6.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.888/1.888, allocations: 205.4 MB / 222.7 MB, free: 5.672 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3943/0.3943, allocations: 43.54 MB / 314.5 MB, free: 9.094 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005221/0.0005221, allocations: 24 kB / 384 MB, free: 8.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1419/0.1425, allocations: 58.85 MB / 442.9 MB, free: 13.2 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.002626/0.1451, allocations: 1.462 MB / 444.3 MB, free: 11.73 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001528/0.1467, allocations: 0.8123 MB / 445.1 MB, free: 10.91 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00012/0.1469, allocations: 0 / 445.1 MB, free: 10.91 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005429/0.1474, allocations: 283.4 kB / 445.4 MB, free: 10.63 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004255/0.1479, allocations: 199.5 kB / 445.6 MB, free: 10.43 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000424/0.1483, allocations: 123.7 kB / 445.7 MB, free: 10.31 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003534/0.1487, allocations: 159.7 kB / 445.9 MB, free: 10.16 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.224e-05/0.1487, allocations: 17.48 kB / 445.9 MB, free: 10.14 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000233/0.149, allocations: 119.6 kB / 446 MB, free: 10.02 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002313/0.1492, allocations: 135.7 kB / 446.1 MB, free: 9.887 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.555e-05/0.1493, allocations: 4 kB / 446.1 MB, free: 9.883 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001164/0.1494, allocations: 27.98 kB / 446.2 MB, free: 9.855 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001404/0.1495, allocations: 139.6 kB / 446.3 MB, free: 9.719 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.122e-05/0.1496, allocations: 77.44 kB / 446.4 MB, free: 9.637 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003264/0.15, allocations: 279.8 kB / 446.7 MB, free: 9.363 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.15, allocations: 0 / 446.7 MB, free: 9.363 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.15, allocations: 0 / 446.7 MB, free: 9.363 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.188e-05/0.15, allocations: 0 / 446.7 MB, free: 9.363 MB / 382.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.001168/0.1512, allocations: 0.6764 MB / 447.3 MB, free: 8.637 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.118e-05/0.1512, allocations: 8.031 kB / 447.3 MB, free: 8.629 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.934e-05/0.1513, allocations: 42.55 kB / 447.4 MB, free: 8.578 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.54e-05/0.1514, allocations: 47.34 kB / 447.4 MB, free: 8.531 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006859/0.1521, allocations: 419.1 kB / 447.8 MB, free: 8.082 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.395e-05/0.1521, allocations: 4 kB / 447.8 MB, free: 8.078 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.002e-05/0.1521, allocations: 7.984 kB / 447.8 MB, free: 8.07 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002062/0.1524, allocations: 83.31 kB / 447.9 MB, free: 7.977 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.497e-06/0.1524, allocations: 0 / 447.9 MB, free: 7.977 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.38e-05/0.1524, allocations: 3.953 kB / 447.9 MB, free: 7.973 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.1524, allocations: 0 / 447.9 MB, free: 7.973 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001089/0.1525, allocations: 31.97 kB / 448 MB, free: 7.941 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004341/0.153, allocations: 386.3 kB / 448.3 MB, free: 7.512 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002579/0.1532, allocations: 105.3 kB / 448.4 MB, free: 7.391 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.759e-05/0.1533, allocations: 0 / 448.4 MB, free: 7.391 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002625/0.1535, allocations: 117 kB / 448.6 MB, free: 7.258 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.172e-06/0.1535, allocations: 0 / 448.6 MB, free: 7.258 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004756/0.154, allocations: 189 kB / 448.7 MB, free: 7.066 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.26e-05/0.1541, allocations: 85.06 kB / 448.8 MB, free: 6.965 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001157/0.1553, allocations: 1.042 MB / 449.9 MB, free: 5.91 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.859e-05/0.1553, allocations: 29.69 kB / 449.9 MB, free: 5.875 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001706/0.1555, allocations: 232.1 kB / 450.1 MB, free: 5.645 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.745e-05/0.1555, allocations: 27.64 kB / 450.2 MB, free: 5.617 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.671e-06/0.1556, allocations: 0 / 450.2 MB, free: 5.617 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001584/0.1557, allocations: 370.8 kB / 450.5 MB, free: 5.246 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.899e-05/0.1558, allocations: 23.98 kB / 450.5 MB, free: 5.223 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.666e-05/0.1559, allocations: 63.41 kB / 450.6 MB, free: 5.148 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.585e-05/0.156, allocations: 32.44 kB / 450.6 MB, free: 5.117 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.156, allocations: 0 / 450.6 MB, free: 5.117 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002858/0.1563, allocations: 172.9 kB / 450.8 MB, free: 4.941 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.1563, allocations: 4 kB / 450.8 MB, free: 4.938 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.1563, allocations: 0 / 450.8 MB, free: 4.938 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.1564, allocations: 8.062 kB / 450.8 MB, free: 4.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001255/0.1565, allocations: 23.92 kB / 450.8 MB, free: 4.906 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.1565, allocations: 3.953 kB / 450.8 MB, free: 4.902 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001031/0.1566, allocations: 15.94 kB / 450.9 MB, free: 4.887 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.313e-05/0.1566, allocations: 4 kB / 450.9 MB, free: 4.883 MB / 382.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 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * 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.0002222/0.1569, allocations: 225.6 kB / 451.1 MB, free: 4.652 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.756e-05/0.1569, allocations: 47.34 kB / 451.1 MB, free: 4.605 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.71e-05/0.157, allocations: 67.94 kB / 451.2 MB, free: 4.539 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.157, allocations: 4 kB / 451.2 MB, free: 4.535 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/0.157, allocations: 4 kB / 451.2 MB, free: 4.531 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.233e-06/0.1571, allocations: 7.938 kB / 451.2 MB, free: 4.523 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003127/0.1574, allocations: 337.4 kB / 451.5 MB, free: 4.145 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1574, allocations: 4 kB / 451.5 MB, free: 4.141 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.525e-05/0.1574, allocations: 7.938 kB / 451.5 MB, free: 4.133 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.002e-05/0.1574, allocations: 7.984 kB / 451.6 MB, free: 4.125 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.151e-05/0.1575, allocations: 0 / 451.6 MB, free: 4.125 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1575, allocations: 0 / 451.6 MB, free: 4.125 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/0.1575, allocations: 4 kB / 451.6 MB, free: 4.121 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003157/0.1578, allocations: 218.8 kB / 451.8 MB, free: 3.879 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001643/0.158, allocations: 144.4 kB / 451.9 MB, free: 3.719 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.68e-05/0.158, allocations: 4 kB / 451.9 MB, free: 3.715 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.253e-05/0.1581, allocations: 7.984 kB / 451.9 MB, free: 3.707 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.715e-05/0.1582, allocations: 7.953 kB / 451.9 MB, free: 3.699 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.141e-05/0.1582, allocations: 15.98 kB / 451.9 MB, free: 3.684 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008067/0.159, allocations: 0.7721 MB / 452.7 MB, free: 2.914 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.159, allocations: 0 / 452.7 MB, free: 2.914 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002703/0.1593, allocations: 44 kB / 452.8 MB, free: 2.871 MB / 382.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 (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.001406/0.1607, allocations: 1.125 MB / 453.9 MB, free: 1.75 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002153/0.1609, allocations: 79.89 kB / 454 MB, free: 1.672 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.161, allocations: 0 / 454 MB, free: 1.672 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.713e-05/0.1611, allocations: 39.92 kB / 454 MB, free: 1.633 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003562/0.1614, allocations: 62.72 kB / 454.1 MB, free: 1.574 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2074/0.3688, allocations: 3.266 MB / 457.3 MB, free: 45.8 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003194/0.3692, allocations: 0.8545 MB / 458.2 MB, free: 45.11 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001853/0.3694, allocations: 55.89 kB / 458.2 MB, free: 45.1 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001908/0.3696, allocations: 144.7 kB / 458.4 MB, free: 45.09 MB / 382.1 MB Notification: Performance of SimCode: time 8.72e-07/0.3696, allocations: 0.8125 kB / 458.4 MB, free: 45.09 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01845/0.388, allocations: 8.016 MB / 466.4 MB, free: 44.53 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001734/0.3883, allocations: 216.4 kB / 466.6 MB, free: 44.29 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.885/2.273, allocations: 0 / 466.6 MB, free: 44.29 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test71_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test71.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat does not exist to compare? outputFormat=mat