Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.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.Test51,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test51",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test51,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test51",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.0008803/0.0008802, allocations: 96.08 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.001066/0.001067, allocations: 175.2 kB / 16.58 MB, free: 5.684 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.576/1.576, allocations: 205.4 MB / 222.7 MB, free: 5.613 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.3592/0.3592, allocations: 43.54 MB / 314.6 MB, free: 8.816 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.0005407/0.0005407, allocations: 16 kB / 384 MB, free: 7.918 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.1204, allocations: 58.86 MB / 442.9 MB, free: 12.95 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.001976/0.1224, allocations: 1.391 MB / 444.3 MB, free: 11.55 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001264/0.1237, allocations: 0.7383 MB / 445 MB, free: 10.8 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.935e-05/0.1238, allocations: 4 kB / 445 MB, free: 10.8 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003136/0.1241, allocations: 47.81 kB / 445.1 MB, free: 10.75 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002031/0.1243, allocations: 47.81 kB / 445.1 MB, free: 10.7 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002958/0.1246, allocations: 79.78 kB / 445.2 MB, free: 10.62 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001711/0.1248, allocations: 79.7 kB / 445.3 MB, free: 10.55 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.1249, allocations: 20.2 kB / 445.3 MB, free: 10.53 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.686e-05/0.125, allocations: 31.86 kB / 445.3 MB, free: 10.5 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.146e-05/0.1251, allocations: 35.77 kB / 445.4 MB, free: 10.46 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.88e-05/0.1252, allocations: 4 kB / 445.4 MB, free: 10.46 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001263/0.1253, allocations: 36 kB / 445.4 MB, free: 10.42 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.076e-05/0.1254, allocations: 15.92 kB / 445.4 MB, free: 10.41 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.346e-05/0.1254, allocations: 45.62 kB / 445.5 MB, free: 10.36 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001811/0.1256, allocations: 84.09 kB / 445.5 MB, free: 10.27 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.1256, allocations: 0 / 445.5 MB, free: 10.27 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1256, allocations: 7.938 kB / 445.5 MB, free: 10.27 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.1256, allocations: 0 / 445.5 MB, free: 10.27 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006261/0.1263, allocations: 410.8 kB / 445.9 MB, free: 9.816 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.98e-05/0.1263, allocations: 12.03 kB / 446 MB, free: 9.805 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.562e-05/0.1264, allocations: 34.56 kB / 446 MB, free: 9.762 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.787e-05/0.1265, allocations: 11.81 kB / 446 MB, free: 9.75 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003131/0.1268, allocations: 214.7 kB / 446.2 MB, free: 9.5 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.906e-05/0.1268, allocations: 4 kB / 446.2 MB, free: 9.496 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.671e-05/0.1269, allocations: 8 kB / 446.2 MB, free: 9.488 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001858/0.127, allocations: 49.67 kB / 446.3 MB, free: 9.434 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.696e-05/0.1271, allocations: 7.984 kB / 446.3 MB, free: 9.426 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.804e-05/0.1271, allocations: 7.953 kB / 446.3 MB, free: 9.418 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.816e-06/0.1271, allocations: 0 / 446.3 MB, free: 9.418 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.933e-05/0.1272, allocations: 15.98 kB / 446.3 MB, free: 9.402 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004606/0.1277, allocations: 292.8 kB / 446.6 MB, free: 9.066 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000176/0.1279, allocations: 58.69 kB / 446.6 MB, free: 9 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.604e-05/0.1279, allocations: 20.84 kB / 446.7 MB, free: 8.977 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.208e-05/0.128, allocations: 4 kB / 446.7 MB, free: 8.973 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002281/0.1282, allocations: 67.34 kB / 446.7 MB, free: 8.895 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 3.356e-06/0.1282, allocations: 0 / 446.7 MB, free: 8.895 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006184/0.1288, allocations: 177.2 kB / 446.9 MB, free: 8.715 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.588e-05/0.1289, allocations: 51.41 kB / 447 MB, free: 8.652 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002477/0.1292, allocations: 226.5 kB / 447.2 MB, free: 8.418 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.197e-05/0.1292, allocations: 33.7 kB / 447.2 MB, free: 8.379 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.572e-05/0.1293, allocations: 104.1 kB / 447.3 MB, free: 8.273 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.727e-05/0.1294, allocations: 23.66 kB / 447.3 MB, free: 8.25 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.971e-06/0.1294, allocations: 0 / 447.3 MB, free: 8.25 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001703/0.1295, allocations: 326.8 kB / 447.7 MB, free: 7.922 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.45e-05/0.1296, allocations: 23.98 kB / 447.7 MB, free: 7.898 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.238e-05/0.1297, allocations: 33.7 kB / 447.7 MB, free: 7.859 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.665e-05/0.1298, allocations: 24 kB / 447.7 MB, free: 7.836 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.1298, allocations: 0 / 447.7 MB, free: 7.836 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002298/0.13, allocations: 113.5 kB / 447.9 MB, free: 7.719 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.328e-05/0.1301, allocations: 4 kB / 447.9 MB, free: 7.715 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.1301, allocations: 384 / 447.9 MB, free: 7.715 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/0.1301, allocations: 8.031 kB / 447.9 MB, free: 7.707 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001049/0.1302, allocations: 16.17 kB / 447.9 MB, free: 7.691 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.427e-06/0.1302, allocations: 0 / 447.9 MB, free: 7.691 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.08e-05/0.1303, allocations: 15.94 kB / 447.9 MB, free: 7.676 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.116e-05/0.1303, allocations: 4 kB / 447.9 MB, free: 7.672 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001336/0.1305, allocations: 133.8 kB / 448 MB, free: 7.531 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.697e-05/0.1305, allocations: 15.77 kB / 448 MB, free: 7.516 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.619e-05/0.1306, allocations: 17.41 kB / 448.1 MB, free: 7.5 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.584e-06/0.1306, allocations: 4 kB / 448.1 MB, free: 7.496 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.025e-05/0.1306, allocations: 0 / 448.1 MB, free: 7.496 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.747e-06/0.1306, allocations: 3.984 kB / 448.1 MB, free: 7.492 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005101/0.1311, allocations: 395.3 kB / 448.5 MB, free: 7.047 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.1311, allocations: 4 kB / 448.5 MB, free: 7.043 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.324e-05/0.1312, allocations: 4 kB / 448.5 MB, free: 7.039 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.407e-05/0.1312, allocations: 4 kB / 448.5 MB, free: 7.035 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/0.1312, allocations: 3.984 kB / 448.5 MB, free: 7.031 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.1312, allocations: 4.031 kB / 448.5 MB, free: 7.027 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.1312, allocations: 4 kB / 448.5 MB, free: 7.023 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002745/0.1315, allocations: 212.1 kB / 448.7 MB, free: 6.797 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.351e-05/0.1316, allocations: 85.02 kB / 448.8 MB, free: 6.695 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.541e-05/0.1316, allocations: 4 kB / 448.8 MB, free: 6.691 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.054e-05/0.1317, allocations: 7.984 kB / 448.8 MB, free: 6.684 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.685e-05/0.1317, allocations: 4 kB / 448.8 MB, free: 6.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.646e-05/0.1318, allocations: 7.984 kB / 448.8 MB, free: 6.672 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001573/0.1319, allocations: 172.3 kB / 449 MB, free: 6.504 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.1319, allocations: 0 / 449 MB, free: 6.504 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002742/0.1322, allocations: 27.91 kB / 449 MB, free: 6.477 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.001533/0.1337, allocations: 1.094 MB / 450.1 MB, free: 5.398 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001854/0.1339, allocations: 47.98 kB / 450.1 MB, free: 5.352 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.134, allocations: 4.062 kB / 450.1 MB, free: 5.348 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.35e-05/0.134, allocations: 40.06 kB / 450.2 MB, free: 5.309 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003591/0.1344, allocations: 32.03 kB / 450.2 MB, free: 5.277 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001381/0.1358, allocations: 0.7812 MB / 451 MB, free: 4.441 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003261/0.1361, allocations: 0.716 MB / 451.7 MB, free: 3.699 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.731e-05/0.1362, allocations: 20.88 kB / 451.7 MB, free: 3.68 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.614e-05/0.1363, allocations: 35.42 kB / 451.8 MB, free: 3.645 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1363, allocations: 0 / 451.8 MB, free: 3.645 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01382/0.1501, allocations: 3.091 MB / 454.8 MB, free: 0.5547 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001917/0.1503, allocations: 213.5 kB / 455.1 MB, free: 328 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.614/1.764, allocations: 64 / 455.1 MB, free: 328 kB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test51_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test51.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat does not exist to compare? outputFormat=mat