Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.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.Test70,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test70",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test70,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test70",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.0007827/0.0007827, allocations: 96.86 kB / 15.7 MB, free: 468 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.0008028/0.0008029, allocations: 173 kB / 16.58 MB, free: 6.844 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.379/1.379, allocations: 205.4 MB / 222.8 MB, free: 5.656 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.3733/0.3733, allocations: 43.56 MB / 314.6 MB, free: 9.023 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.0004771/0.0004773, allocations: 12 kB / 384 MB, free: 8.156 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.1232, allocations: 58.87 MB / 442.9 MB, free: 13.19 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.001988/0.1253, allocations: 1.48 MB / 444.4 MB, free: 11.7 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00126/0.1265, allocations: 0.8124 MB / 445.2 MB, free: 10.88 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.639e-05/0.1266, allocations: 0 / 445.2 MB, free: 10.88 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004377/0.1271, allocations: 299.3 kB / 445.5 MB, free: 10.58 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002746/0.1274, allocations: 191.5 kB / 445.7 MB, free: 10.39 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003061/0.1277, allocations: 127.8 kB / 445.8 MB, free: 10.27 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002416/0.1279, allocations: 203.3 kB / 446 MB, free: 10.07 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.56e-05/0.128, allocations: 21.52 kB / 446 MB, free: 10.04 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001312/0.1281, allocations: 111.6 kB / 446.1 MB, free: 9.934 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001857/0.1283, allocations: 163.6 kB / 446.3 MB, free: 9.773 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.955e-05/0.1283, allocations: 4 kB / 446.3 MB, free: 9.77 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.315e-05/0.1284, allocations: 39.97 kB / 446.3 MB, free: 9.73 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001397/0.1286, allocations: 135.6 kB / 446.4 MB, free: 9.598 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.839e-05/0.1287, allocations: 77.45 kB / 446.5 MB, free: 9.516 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002865/0.1289, allocations: 271.8 kB / 446.8 MB, free: 9.25 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.129, allocations: 0 / 446.8 MB, free: 9.25 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.129, allocations: 0 / 446.8 MB, free: 9.25 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.747e-06/0.129, allocations: 4 kB / 446.8 MB, free: 9.246 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.0007695/0.1298, allocations: 0.6803 MB / 447.5 MB, free: 8.516 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.307e-05/0.1298, allocations: 8.031 kB / 447.5 MB, free: 8.508 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.941e-05/0.1298, allocations: 42.55 kB / 447.5 MB, free: 8.457 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.793e-05/0.1299, allocations: 47.34 kB / 447.6 MB, free: 8.41 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004845/0.1304, allocations: 415.1 kB / 448 MB, free: 7.965 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/0.1304, allocations: 7.984 kB / 448 MB, free: 7.957 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.584e-05/0.1304, allocations: 8 kB / 448 MB, free: 7.949 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001646/0.1306, allocations: 83.31 kB / 448.1 MB, free: 7.855 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.194e-06/0.1306, allocations: 0 / 448.1 MB, free: 7.855 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.1306, allocations: 11.94 kB / 448.1 MB, free: 7.844 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.587e-06/0.1307, allocations: 0 / 448.1 MB, free: 7.844 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001019/0.1308, allocations: 23.98 kB / 448.1 MB, free: 7.82 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003679/0.1311, allocations: 382.2 kB / 448.5 MB, free: 7.395 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002296/0.1314, allocations: 109.2 kB / 448.6 MB, free: 7.27 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.007e-05/0.1315, allocations: 41.69 kB / 448.6 MB, free: 7.223 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.323e-05/0.1315, allocations: 0 / 448.6 MB, free: 7.223 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002201/0.1317, allocations: 113 kB / 448.7 MB, free: 7.094 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.042e-06/0.1317, allocations: 0 / 448.7 MB, free: 7.094 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004065/0.1321, allocations: 189.4 kB / 448.9 MB, free: 6.902 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.147e-05/0.1322, allocations: 89.09 kB / 449 MB, free: 6.797 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001035/0.1332, allocations: 1.034 MB / 450 MB, free: 5.75 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.67e-05/0.1333, allocations: 25.7 kB / 450.1 MB, free: 5.719 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001689/0.1334, allocations: 240.1 kB / 450.3 MB, free: 5.48 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.006e-05/0.1335, allocations: 27.64 kB / 450.3 MB, free: 5.453 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.891e-06/0.1335, allocations: 4 kB / 450.3 MB, free: 5.449 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001575/0.1337, allocations: 366.8 kB / 450.7 MB, free: 5.082 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.646e-05/0.1338, allocations: 27.98 kB / 450.7 MB, free: 5.055 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.284e-05/0.1338, allocations: 55.41 kB / 450.8 MB, free: 4.988 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.301e-05/0.1339, allocations: 47.98 kB / 450.8 MB, free: 4.941 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.1339, allocations: 0 / 450.8 MB, free: 4.941 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002717/0.1342, allocations: 161 kB / 451 MB, free: 4.777 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.1342, allocations: 4 kB / 451 MB, free: 4.773 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.1343, allocations: 0 / 451 MB, free: 4.773 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.071e-05/0.1343, allocations: 4 kB / 451 MB, free: 4.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001013/0.1344, allocations: 23.94 kB / 451 MB, free: 4.746 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/0.1344, allocations: 7.938 kB / 451 MB, free: 4.738 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.758e-05/0.1345, allocations: 19.98 kB / 451 MB, free: 4.719 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.997e-06/0.1345, allocations: 4 kB / 451 MB, free: 4.715 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.0002198/0.1347, allocations: 225.6 kB / 451.3 MB, free: 4.484 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.914e-05/0.1348, allocations: 59.31 kB / 451.3 MB, free: 4.426 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.037e-05/0.1349, allocations: 59.94 kB / 451.4 MB, free: 4.367 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.1349, allocations: 4 kB / 451.4 MB, free: 4.363 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.1349, allocations: 3.953 kB / 451.4 MB, free: 4.359 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.1349, allocations: 0 / 451.4 MB, free: 4.359 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003193/0.1352, allocations: 337.5 kB / 451.7 MB, free: 3.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.1353, allocations: 0 / 451.7 MB, free: 3.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.674e-05/0.1353, allocations: 11.98 kB / 451.7 MB, free: 3.969 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.1353, allocations: 0 / 451.7 MB, free: 3.969 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.1353, allocations: 7.875 kB / 451.7 MB, free: 3.961 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/0.1353, allocations: 4 kB / 451.7 MB, free: 3.957 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.1353, allocations: 0 / 451.7 MB, free: 3.957 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003065/0.1357, allocations: 209.2 kB / 451.9 MB, free: 3.73 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001527/0.1358, allocations: 140.4 kB / 452.1 MB, free: 3.574 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.516e-05/0.1359, allocations: 8.125 kB / 452.1 MB, free: 3.566 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.723e-05/0.136, allocations: 11.98 kB / 452.1 MB, free: 3.555 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.605e-05/0.136, allocations: 7.984 kB / 452.1 MB, free: 3.547 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.187e-05/0.136, allocations: 8 kB / 452.1 MB, free: 3.539 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008707/0.1369, allocations: 0.7721 MB / 452.9 MB, free: 2.77 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1369, allocations: 0 / 452.9 MB, free: 2.77 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002836/0.1372, allocations: 48 kB / 452.9 MB, free: 2.723 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.001532/0.1388, allocations: 1.046 MB / 454 MB, free: 1.688 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002205/0.139, allocations: 80.09 kB / 454.1 MB, free: 1.609 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.139, allocations: 0 / 454.1 MB, free: 1.609 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001053/0.1391, allocations: 44.17 kB / 454.1 MB, free: 1.566 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003964/0.1395, allocations: 62.27 kB / 454.2 MB, free: 1.508 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.211/0.3505, allocations: 2.914 MB / 457.1 MB, free: 45.58 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002508/0.3508, allocations: 0.8405 MB / 457.9 MB, free: 44.88 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001469/0.351, allocations: 59.95 kB / 458 MB, free: 44.88 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001646/0.3512, allocations: 144.8 kB / 458.1 MB, free: 44.87 MB / 382.1 MB Notification: Performance of SimCode: time 1.132e-06/0.3512, allocations: 2 kB / 458.1 MB, free: 44.87 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01719/0.3684, allocations: 8.031 MB / 466.1 MB, free: 44.33 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001398/0.3685, allocations: 235.9 kB / 466.4 MB, free: 44.08 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.789/2.158, allocations: 0 / 466.4 MB, free: 44.08 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test70_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test70.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat does not exist to compare? outputFormat=mat