Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.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.Test11,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test11,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test11",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.0008082/0.0008084, allocations: 88.19 kB / 15.7 MB, free: 460 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.001178/0.001178, allocations: 175.4 kB / 16.58 MB, free: 6.84 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.558/1.558, allocations: 205.4 MB / 222.8 MB, free: 5.66 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.3789/0.3789, allocations: 43.55 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.0005694/0.0005694, allocations: 20 kB / 384 MB, free: 8.148 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1311/0.1317, allocations: 58.85 MB / 442.9 MB, free: 13.19 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.002587/0.1344, allocations: 1.587 MB / 444.5 MB, free: 11.59 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001448/0.1358, allocations: 0.7733 MB / 445.3 MB, free: 10.81 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002249/0.1361, allocations: 0 / 445.3 MB, free: 10.81 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004667/0.1366, allocations: 39.83 kB / 445.3 MB, free: 10.77 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003206/0.1369, allocations: 43.78 kB / 445.3 MB, free: 10.73 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003865/0.1373, allocations: 87.83 kB / 445.4 MB, free: 10.64 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002259/0.1376, allocations: 119.6 kB / 445.5 MB, free: 10.52 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000128/0.1377, allocations: 29.47 kB / 445.6 MB, free: 10.49 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001099/0.1378, allocations: 47.72 kB / 445.6 MB, free: 10.45 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.312e-05/0.1379, allocations: 47.7 kB / 445.7 MB, free: 10.4 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.976e-05/0.138, allocations: 4 kB / 445.7 MB, free: 10.39 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001088/0.1381, allocations: 35.98 kB / 445.7 MB, free: 10.36 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.9e-05/0.1381, allocations: 15.92 kB / 445.7 MB, free: 10.34 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.542e-05/0.1382, allocations: 41.64 kB / 445.8 MB, free: 10.3 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001805/0.1384, allocations: 108 kB / 445.9 MB, free: 10.19 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.1384, allocations: 0 / 445.9 MB, free: 10.19 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1384, allocations: 0 / 445.9 MB, free: 10.19 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.107e-06/0.1384, allocations: 0 / 445.9 MB, free: 10.19 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.000597/0.139, allocations: 472.2 kB / 446.3 MB, free: 9.676 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.1391, allocations: 8.031 kB / 446.3 MB, free: 9.668 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.654e-05/0.1391, allocations: 38.56 kB / 446.4 MB, free: 9.621 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.61e-05/0.1392, allocations: 15.8 kB / 446.4 MB, free: 9.605 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002723/0.1394, allocations: 215.6 kB / 446.6 MB, free: 9.355 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.065e-05/0.1395, allocations: 8 kB / 446.6 MB, free: 9.348 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.354e-05/0.1395, allocations: 4 kB / 446.6 MB, free: 9.344 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002424/0.1397, allocations: 116.2 kB / 446.7 MB, free: 9.215 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.1398, allocations: 0 / 446.7 MB, free: 9.215 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.826e-05/0.1398, allocations: 7.953 kB / 446.7 MB, free: 9.207 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.1398, allocations: 0 / 446.7 MB, free: 9.207 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001529/0.14, allocations: 59.91 kB / 446.8 MB, free: 9.148 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006374/0.1406, allocations: 0.5009 MB / 447.3 MB, free: 8.59 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003041/0.1409, allocations: 98.59 kB / 447.4 MB, free: 8.484 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.245e-05/0.141, allocations: 36.84 kB / 447.4 MB, free: 8.445 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.493e-05/0.1411, allocations: 4 kB / 447.4 MB, free: 8.441 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002542/0.1413, allocations: 87.3 kB / 447.5 MB, free: 8.344 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.613e-06/0.1413, allocations: 0 / 447.5 MB, free: 8.344 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004135/0.1418, allocations: 149.4 kB / 447.7 MB, free: 8.191 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.259e-05/0.1418, allocations: 55.34 kB / 447.7 MB, free: 8.125 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001838/0.142, allocations: 187.5 kB / 447.9 MB, free: 7.93 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.139e-05/0.142, allocations: 33.7 kB / 447.9 MB, free: 7.891 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.446e-05/0.1421, allocations: 119.9 kB / 448 MB, free: 7.77 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.774e-05/0.1422, allocations: 27.61 kB / 448.1 MB, free: 7.742 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.141e-06/0.1422, allocations: 0 / 448.1 MB, free: 7.742 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001322/0.1423, allocations: 326.8 kB / 448.4 MB, free: 7.414 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.598e-05/0.1424, allocations: 31.98 kB / 448.4 MB, free: 7.383 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.755e-05/0.1425, allocations: 64.27 kB / 448.5 MB, free: 7.305 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.839e-05/0.1426, allocations: 39.94 kB / 448.5 MB, free: 7.266 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.1426, allocations: 0 / 448.5 MB, free: 7.266 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002817/0.1429, allocations: 145.3 kB / 448.7 MB, free: 7.117 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.1429, allocations: 7.984 kB / 448.7 MB, free: 7.109 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.445e-06/0.143, allocations: 4 kB / 448.7 MB, free: 7.105 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.958e-05/0.143, allocations: 480 / 448.7 MB, free: 7.105 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.981e-05/0.1431, allocations: 20 kB / 448.7 MB, free: 7.086 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.181e-05/0.1431, allocations: 7.984 kB / 448.7 MB, free: 7.078 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.132e-05/0.1432, allocations: 7.938 kB / 448.7 MB, free: 7.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.462e-05/0.1432, allocations: 12.12 kB / 448.7 MB, free: 7.059 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.0001374/0.1434, allocations: 137.6 kB / 448.9 MB, free: 6.914 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.954e-05/0.1434, allocations: 15.81 kB / 448.9 MB, free: 6.898 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.503e-05/0.1435, allocations: 17.41 kB / 448.9 MB, free: 6.879 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.1435, allocations: 0 / 448.9 MB, free: 6.879 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/0.1435, allocations: 8 kB / 448.9 MB, free: 6.871 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.1435, allocations: 0 / 448.9 MB, free: 6.871 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002328/0.1437, allocations: 209.6 kB / 449.1 MB, free: 6.617 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.1437, allocations: 3.953 kB / 449.1 MB, free: 6.613 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.629e-05/0.1438, allocations: 15.98 kB / 449.1 MB, free: 6.598 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.152e-06/0.1438, allocations: 4 kB / 449.1 MB, free: 6.594 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.247e-05/0.1439, allocations: 0 / 449.1 MB, free: 6.594 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.1439, allocations: 0 / 449.1 MB, free: 6.594 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1439, allocations: 0 / 449.1 MB, free: 6.594 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003905/0.1443, allocations: 188.8 kB / 449.3 MB, free: 6.391 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.22e-05/0.1443, allocations: 104.8 kB / 449.4 MB, free: 6.27 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.591e-05/0.1444, allocations: 4 kB / 449.4 MB, free: 6.266 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.051e-05/0.1444, allocations: 7.984 kB / 449.4 MB, free: 6.258 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.461e-05/0.1445, allocations: 15.92 kB / 449.4 MB, free: 6.242 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.948e-05/0.1445, allocations: 4 kB / 449.4 MB, free: 6.238 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001185/0.1446, allocations: 137.2 kB / 449.6 MB, free: 6.105 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1447, allocations: 3.938 kB / 449.6 MB, free: 6.102 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002465/0.1449, allocations: 28.06 kB / 449.6 MB, free: 6.074 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.001458/0.1464, allocations: 1.037 MB / 450.6 MB, free: 5.043 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002364/0.1466, allocations: 79.89 kB / 450.7 MB, free: 4.965 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.1466, allocations: 4 kB / 450.7 MB, free: 4.961 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.719e-05/0.1467, allocations: 44.05 kB / 450.8 MB, free: 4.918 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003162/0.1471, allocations: 32.16 kB / 450.8 MB, free: 4.887 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001354/0.1484, allocations: 0.8474 MB / 451.6 MB, free: 3.98 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002656/0.1487, allocations: 0.7162 MB / 452.4 MB, free: 3.238 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.502e-05/0.1488, allocations: 17.42 kB / 452.4 MB, free: 3.219 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.289e-05/0.1489, allocations: 39.42 kB / 452.4 MB, free: 3.18 MB / 382.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1489, allocations: 0 / 452.4 MB, free: 3.18 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2299/0.3788, allocations: 3.249 MB / 455.7 MB, free: 46.1 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001519/0.379, allocations: 219.6 kB / 455.9 MB, free: 45.87 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.709/2.088, allocations: 1.281 kB / 455.9 MB, free: 45.87 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test11_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test11.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat does not exist to compare? outputFormat=mat