Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.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.Test31,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test31,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test31",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.0008098/0.0008098, 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.0009143/0.0009143, allocations: 171.3 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.53/1.53, allocations: 205.4 MB / 222.8 MB, free: 5.652 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.3703/0.3703, allocations: 43.55 MB / 314.6 MB, free: 8.75 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.000548/0.0005481, allocations: 16 kB / 384 MB, free: 7.914 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1283/0.1288, allocations: 58.87 MB / 442.9 MB, free: 12.95 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test31): time 0.002111/0.131, allocations: 1.395 MB / 444.3 MB, free: 11.54 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001206/0.1322, allocations: 0.7383 MB / 445 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.32e-05/0.1324, allocations: 7.938 kB / 445 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002806/0.1327, allocations: 27.91 kB / 445.1 MB, free: 10.76 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001935/0.1329, allocations: 43.83 kB / 445.1 MB, free: 10.71 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002738/0.1332, allocations: 75.84 kB / 445.2 MB, free: 10.64 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001648/0.1333, allocations: 87.69 kB / 445.3 MB, free: 10.55 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.288e-05/0.1334, allocations: 12.22 kB / 445.3 MB, free: 10.54 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.214e-05/0.1335, allocations: 39.78 kB / 445.3 MB, free: 10.5 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.847e-05/0.1336, allocations: 27.84 kB / 445.3 MB, free: 10.48 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.64e-05/0.1336, allocations: 4 kB / 445.3 MB, free: 10.47 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001068/0.1337, allocations: 35.98 kB / 445.4 MB, free: 10.44 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.196e-05/0.1338, allocations: 15.92 kB / 445.4 MB, free: 10.42 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.464e-05/0.1338, allocations: 41.64 kB / 445.4 MB, free: 10.38 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001621/0.134, allocations: 88.03 kB / 445.5 MB, free: 10.29 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.134, allocations: 0 / 445.5 MB, free: 10.29 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.134, allocations: 0 / 445.5 MB, free: 10.29 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.863e-06/0.134, allocations: 0 / 445.5 MB, free: 10.29 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.0005094/0.1346, allocations: 402.8 kB / 445.9 MB, free: 9.848 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.1346, allocations: 12.03 kB / 445.9 MB, free: 9.836 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.946e-05/0.1347, allocations: 30.56 kB / 446 MB, free: 9.797 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.553e-05/0.1347, allocations: 7.906 kB / 446 MB, free: 9.789 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000227/0.1349, allocations: 214.8 kB / 446.2 MB, free: 9.539 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.148e-05/0.1349, allocations: 0 / 446.2 MB, free: 9.539 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.959e-05/0.135, allocations: 4 kB / 446.2 MB, free: 9.535 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001461/0.1351, allocations: 53.67 kB / 446.2 MB, free: 9.477 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.1351, allocations: 0 / 446.2 MB, free: 9.477 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.1352, allocations: 3.953 kB / 446.2 MB, free: 9.473 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.1352, allocations: 3.938 kB / 446.2 MB, free: 9.469 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.982e-05/0.1353, allocations: 23.98 kB / 446.3 MB, free: 9.445 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003502/0.1356, allocations: 284.9 kB / 446.5 MB, free: 9.117 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001468/0.1358, allocations: 62.61 kB / 446.6 MB, free: 9.047 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.812e-05/0.1358, allocations: 20.84 kB / 446.6 MB, free: 9.023 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.107e-05/0.1359, allocations: 0 / 446.6 MB, free: 9.023 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000182/0.136, allocations: 79.28 kB / 446.7 MB, free: 8.934 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.1361, allocations: 0 / 446.7 MB, free: 8.934 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005345/0.1366, allocations: 177.2 kB / 446.9 MB, free: 8.754 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.786e-05/0.1366, allocations: 55.41 kB / 446.9 MB, free: 8.688 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001614/0.1368, allocations: 182.2 kB / 447.1 MB, free: 8.5 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.135e-05/0.1368, allocations: 29.69 kB / 447.1 MB, free: 8.465 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.381e-05/0.1369, allocations: 96.14 kB / 447.2 MB, free: 8.367 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.89e-05/0.1369, allocations: 23.7 kB / 447.3 MB, free: 8.344 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.002e-06/0.1369, allocations: 11.94 kB / 447.3 MB, free: 8.332 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001105/0.1371, allocations: 322.8 kB / 447.6 MB, free: 8.008 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.562e-05/0.1371, allocations: 16 kB / 447.6 MB, free: 7.992 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.942e-05/0.1372, allocations: 33.7 kB / 447.6 MB, free: 7.953 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.097e-05/0.1373, allocations: 27.98 kB / 447.7 MB, free: 7.926 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.1373, allocations: 4 kB / 447.7 MB, free: 7.922 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001748/0.1375, allocations: 101.5 kB / 447.8 MB, free: 7.816 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.1375, allocations: 4 kB / 447.8 MB, free: 7.812 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.1375, allocations: 0 / 447.8 MB, free: 7.812 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.1375, allocations: 4 kB / 447.8 MB, free: 7.809 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.425e-05/0.1376, allocations: 15.98 kB / 447.8 MB, free: 7.793 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.1376, allocations: 0 / 447.8 MB, free: 7.793 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.596e-05/0.1377, allocations: 4 kB / 447.8 MB, free: 7.789 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/0.1377, allocations: 4 kB / 447.8 MB, free: 7.785 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 9.717e-05/0.1378, allocations: 133.8 kB / 447.9 MB, free: 7.645 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.152e-05/0.1378, allocations: 19.77 kB / 447.9 MB, free: 7.625 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.528e-05/0.1379, allocations: 12.72 kB / 447.9 MB, free: 7.617 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.1379, allocations: 4 kB / 448 MB, free: 7.613 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.1379, allocations: 3.984 kB / 448 MB, free: 7.609 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.1379, allocations: 0 / 448 MB, free: 7.609 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004084/0.1383, allocations: 391.3 kB / 448.3 MB, free: 7.168 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.1383, allocations: 0 / 448.3 MB, free: 7.168 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.112e-05/0.1383, allocations: 12.22 kB / 448.4 MB, free: 7.156 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.1384, allocations: 0 / 448.4 MB, free: 7.156 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.886e-06/0.1384, allocations: 7.938 kB / 448.4 MB, free: 7.148 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.1384, allocations: 0 / 448.4 MB, free: 7.148 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.1384, allocations: 0 / 448.4 MB, free: 7.148 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002243/0.1386, allocations: 212.4 kB / 448.6 MB, free: 6.922 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.873e-05/0.1387, allocations: 100.8 kB / 448.7 MB, free: 6.805 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.358e-05/0.1387, allocations: 8.375 kB / 448.7 MB, free: 6.797 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.108e-05/0.1388, allocations: 3.984 kB / 448.7 MB, free: 6.793 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.85e-05/0.1388, allocations: 8 kB / 448.7 MB, free: 6.785 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.544e-05/0.1389, allocations: 4 kB / 448.7 MB, free: 6.781 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001184/0.139, allocations: 148 kB / 448.8 MB, free: 6.637 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.139, allocations: 0 / 448.8 MB, free: 6.637 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002665/0.1393, allocations: 20 kB / 448.9 MB, free: 6.617 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.001425/0.1407, allocations: 1.094 MB / 449.9 MB, free: 5.535 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001741/0.1409, allocations: 47.98 kB / 450 MB, free: 5.488 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.1409, allocations: 0 / 450 MB, free: 5.488 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.974e-05/0.141, allocations: 39.91 kB / 450 MB, free: 5.449 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003695/0.1414, allocations: 27.97 kB / 450.1 MB, free: 5.422 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001213/0.1426, allocations: 0.7002 MB / 450.8 MB, free: 4.668 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003903/0.143, allocations: 0.7043 MB / 451.5 MB, free: 3.938 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.152e-05/0.1431, allocations: 17.19 kB / 451.5 MB, free: 3.922 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.796e-05/0.1431, allocations: 35.36 kB / 451.5 MB, free: 3.887 MB / 382.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1431, allocations: 4 kB / 451.5 MB, free: 3.883 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01446/0.1576, allocations: 2.922 MB / 454.4 MB, free: 0.9609 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002281/0.1579, allocations: 217.5 kB / 454.7 MB, free: 0.7227 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.728/1.886, allocations: 0 / 454.7 MB, free: 0.7227 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test31_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test31.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat does not exist to compare? outputFormat=mat