Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.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.Test12,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test12,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test12",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.001155/0.001155, 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.001209/0.001209, allocations: 174.9 kB / 16.56 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.829/1.829, allocations: 205.4 MB / 222.7 MB, free: 5.668 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.3802/0.3802, allocations: 43.55 MB / 314.5 MB, free: 8.766 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.0005122/0.0005123, allocations: 16 kB / 384 MB, free: 7.938 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1283/0.1288, allocations: 58.85 MB / 442.9 MB, free: 12.98 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.00204/0.1309, allocations: 1.588 MB / 444.4 MB, free: 11.38 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001201/0.1322, allocations: 0.7617 MB / 445.2 MB, free: 10.61 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001003/0.1323, allocations: 4 kB / 445.2 MB, free: 10.6 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002762/0.1326, allocations: 35.77 kB / 445.2 MB, free: 10.57 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001955/0.1328, allocations: 43.88 kB / 445.3 MB, free: 10.52 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002912/0.1331, allocations: 91.77 kB / 445.4 MB, free: 10.43 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001925/0.1333, allocations: 95.81 kB / 445.5 MB, free: 10.34 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001082/0.1334, allocations: 21.47 kB / 445.5 MB, free: 10.32 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.109e-05/0.1335, allocations: 47.72 kB / 445.5 MB, free: 10.27 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.772e-05/0.1336, allocations: 43.78 kB / 445.6 MB, free: 10.23 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.526e-05/0.1336, allocations: 0 / 445.6 MB, free: 10.23 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.174e-05/0.1337, allocations: 31.92 kB / 445.6 MB, free: 10.2 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.469e-05/0.1337, allocations: 27.91 kB / 445.6 MB, free: 10.17 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.405e-05/0.1338, allocations: 41.64 kB / 445.7 MB, free: 10.12 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001569/0.134, allocations: 100 kB / 445.8 MB, free: 10.02 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.134, allocations: 3.938 kB / 445.8 MB, free: 10.02 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.134, allocations: 0 / 445.8 MB, free: 10.02 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.134, allocations: 0 / 445.8 MB, free: 10.02 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005803/0.1346, allocations: 472.3 kB / 446.2 MB, free: 9.504 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.1346, allocations: 12.03 kB / 446.3 MB, free: 9.492 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.029e-05/0.1347, allocations: 42.5 kB / 446.3 MB, free: 9.441 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.977e-05/0.1347, allocations: 15.81 kB / 446.3 MB, free: 9.426 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002443/0.135, allocations: 215.6 kB / 446.5 MB, free: 9.176 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.286e-05/0.135, allocations: 4 kB / 446.5 MB, free: 9.172 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.286e-05/0.135, allocations: 8 kB / 446.5 MB, free: 9.164 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002132/0.1352, allocations: 108.2 kB / 446.6 MB, free: 9.043 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.1353, allocations: 4 kB / 446.6 MB, free: 9.039 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.491e-05/0.1353, allocations: 7.953 kB / 446.6 MB, free: 9.031 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.1353, allocations: 0 / 446.6 MB, free: 9.031 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001434/0.1354, allocations: 51.91 kB / 446.7 MB, free: 8.98 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000543/0.136, allocations: 0.5049 MB / 447.2 MB, free: 8.418 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003006/0.1363, allocations: 94.58 kB / 447.3 MB, free: 8.316 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.118e-05/0.1363, allocations: 4 kB / 447.3 MB, free: 8.312 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002198/0.1366, allocations: 87.31 kB / 447.4 MB, free: 8.215 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.403e-06/0.1366, allocations: 0 / 447.4 MB, free: 8.215 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004035/0.137, allocations: 145.4 kB / 447.5 MB, free: 8.066 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.871e-05/0.137, allocations: 59.41 kB / 447.6 MB, free: 7.996 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001852/0.1372, allocations: 187.5 kB / 447.8 MB, free: 7.801 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.11e-05/0.1372, allocations: 29.7 kB / 447.8 MB, free: 7.766 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.711e-05/0.1373, allocations: 112 kB / 447.9 MB, free: 7.652 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.593e-05/0.1374, allocations: 27.77 kB / 447.9 MB, free: 7.625 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.602e-06/0.1374, allocations: 4 kB / 447.9 MB, free: 7.621 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001054/0.1375, allocations: 326.8 kB / 448.3 MB, free: 7.293 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.14e-05/0.1376, allocations: 36.36 kB / 448.3 MB, free: 7.258 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001064/0.1377, allocations: 64.27 kB / 448.4 MB, free: 7.18 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.672e-05/0.1378, allocations: 39.94 kB / 448.4 MB, free: 7.141 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.1378, allocations: 7.891 kB / 448.4 MB, free: 7.133 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002721/0.1381, allocations: 137.3 kB / 448.5 MB, free: 6.992 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.1381, allocations: 8 kB / 448.5 MB, free: 6.984 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.1381, allocations: 0 / 448.5 MB, free: 6.984 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.1382, allocations: 0 / 448.5 MB, free: 6.984 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001023/0.1383, allocations: 28.11 kB / 448.6 MB, free: 6.957 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.1383, allocations: 4 kB / 448.6 MB, free: 6.953 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.373e-05/0.1384, allocations: 19.92 kB / 448.6 MB, free: 6.934 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.949e-06/0.1384, allocations: 7.938 kB / 448.6 MB, free: 6.926 MB / 382.1 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.0001042/0.1385, allocations: 133.8 kB / 448.7 MB, free: 6.785 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.736e-05/0.1385, allocations: 15.77 kB / 448.7 MB, free: 6.77 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.468e-05/0.1386, allocations: 17.39 kB / 448.8 MB, free: 6.754 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.1386, allocations: 4 kB / 448.8 MB, free: 6.75 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.1386, allocations: 4 kB / 448.8 MB, free: 6.746 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.1386, allocations: 0 / 448.8 MB, free: 6.746 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001901/0.1388, allocations: 205.6 kB / 449 MB, free: 6.496 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1388, allocations: 0 / 449 MB, free: 6.496 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.242e-05/0.1389, allocations: 19.94 kB / 449 MB, free: 6.477 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.1389, allocations: 0 / 449 MB, free: 6.477 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.353e-05/0.1389, allocations: 4 kB / 449 MB, free: 6.473 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.522e-06/0.1389, allocations: 0 / 449 MB, free: 6.473 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1389, allocations: 0 / 449 MB, free: 6.473 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003682/0.1393, allocations: 189 kB / 449.2 MB, free: 6.27 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.488e-05/0.1394, allocations: 100.8 kB / 449.3 MB, free: 6.152 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.708e-05/0.1394, allocations: 3.953 kB / 449.3 MB, free: 6.148 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.705e-05/0.1395, allocations: 15.92 kB / 449.3 MB, free: 6.133 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.947e-05/0.1395, allocations: 4 kB / 449.3 MB, free: 6.129 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.636e-05/0.1396, allocations: 8.062 kB / 449.3 MB, free: 6.121 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001121/0.1397, allocations: 137.2 kB / 449.4 MB, free: 5.988 MB / 382.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1397, allocations: 0 / 449.4 MB, free: 5.988 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002589/0.1399, allocations: 27.98 kB / 449.5 MB, free: 5.961 MB / 382.1 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.001412/0.1414, allocations: 1.028 MB / 450.5 MB, free: 4.945 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002944/0.1417, allocations: 83.89 kB / 450.6 MB, free: 4.863 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.1417, allocations: 0 / 450.6 MB, free: 4.863 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001005/0.1418, allocations: 44.17 kB / 450.6 MB, free: 4.82 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002569/0.1421, allocations: 32.11 kB / 450.7 MB, free: 4.789 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001564/0.1436, allocations: 1.439 MB / 452.1 MB, free: 3.285 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003239/0.144, allocations: 0.7201 MB / 452.8 MB, free: 2.539 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.021e-05/0.1441, allocations: 21.39 kB / 452.8 MB, free: 2.516 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.405e-05/0.1441, allocations: 43.42 kB / 452.9 MB, free: 2.473 MB / 382.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1441, allocations: 0 / 452.9 MB, free: 2.473 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2051/0.3492, allocations: 3.243 MB / 456.1 MB, free: 45.71 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001363/0.3494, allocations: 220.8 kB / 456.3 MB, free: 45.46 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.74/2.089, allocations: 2.297 kB / 456.3 MB, free: 45.46 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test12_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test12.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat does not exist to compare? outputFormat=mat