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.0008168/0.0008212, 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.0009321/0.0009322, allocations: 175.4 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.647/1.647, 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.3608/0.3608, allocations: 43.56 MB / 314.6 MB, free: 8.809 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.0006828/0.000683, allocations: 22.97 kB / 384 MB, free: 7.906 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1239, allocations: 58.85 MB / 442.9 MB, free: 12.95 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.002401/0.1264, allocations: 1.579 MB / 444.5 MB, free: 11.35 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001353/0.1278, allocations: 0.7811 MB / 445.3 MB, free: 10.56 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001404/0.1279, allocations: 7.938 kB / 445.3 MB, free: 10.55 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003061/0.1282, allocations: 27.84 kB / 445.3 MB, free: 10.53 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000236/0.1285, allocations: 51.77 kB / 445.3 MB, free: 10.48 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003247/0.1288, allocations: 83.83 kB / 445.4 MB, free: 10.39 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002183/0.1291, allocations: 119.6 kB / 445.5 MB, free: 10.28 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001206/0.1292, allocations: 29.45 kB / 445.6 MB, free: 10.25 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001161/0.1293, allocations: 51.72 kB / 445.6 MB, free: 10.2 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.511e-05/0.1294, allocations: 43.77 kB / 445.7 MB, free: 10.15 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.819e-05/0.1294, allocations: 0 / 445.7 MB, free: 10.15 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000124/0.1296, allocations: 36 kB / 445.7 MB, free: 10.12 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.01e-05/0.1296, allocations: 19.86 kB / 445.7 MB, free: 10.1 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.311e-05/0.1297, allocations: 45.64 kB / 445.8 MB, free: 10.05 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001839/0.1299, allocations: 100 kB / 445.9 MB, free: 9.949 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1299, allocations: 0 / 445.9 MB, free: 9.949 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.594e-06/0.1299, allocations: 4 kB / 445.9 MB, free: 9.945 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.53e-06/0.1299, allocations: 4 kB / 445.9 MB, free: 9.941 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.0006468/0.1306, allocations: 464.3 kB / 446.3 MB, free: 9.434 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.525e-05/0.1306, allocations: 12.03 kB / 446.3 MB, free: 9.422 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.905e-05/0.1307, allocations: 34.55 kB / 446.4 MB, free: 9.379 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.318e-05/0.1307, allocations: 19.81 kB / 446.4 MB, free: 9.359 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002594/0.131, allocations: 215.5 kB / 446.6 MB, free: 9.109 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.196e-05/0.131, allocations: 11.98 kB / 446.6 MB, free: 9.098 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.596e-05/0.1311, allocations: 8 kB / 446.6 MB, free: 9.09 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002524/0.1313, allocations: 100.2 kB / 446.7 MB, free: 8.977 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/0.1314, allocations: 7.922 kB / 446.7 MB, free: 8.969 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.569e-05/0.1314, allocations: 3.953 kB / 446.7 MB, free: 8.965 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.1314, allocations: 4 kB / 446.7 MB, free: 8.961 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001589/0.1316, allocations: 55.97 kB / 446.8 MB, free: 8.906 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000624/0.1322, allocations: 0.5126 MB / 447.3 MB, free: 8.336 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003325/0.1325, allocations: 90.59 kB / 447.4 MB, free: 8.238 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.658e-05/0.1327, allocations: 36.84 kB / 447.4 MB, free: 8.199 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.411e-05/0.1327, allocations: 3.938 kB / 447.4 MB, free: 8.195 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002202/0.1329, allocations: 87.38 kB / 447.5 MB, free: 8.098 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 2.294e-06/0.1329, allocations: 0 / 447.5 MB, free: 8.098 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.000392/0.1333, allocations: 149.4 kB / 447.7 MB, free: 7.945 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.666e-05/0.1334, allocations: 55.39 kB / 447.7 MB, free: 7.879 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000193/0.1336, allocations: 191.5 kB / 447.9 MB, free: 7.68 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.783e-05/0.1336, allocations: 25.7 kB / 447.9 MB, free: 7.648 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.654e-05/0.1337, allocations: 119.9 kB / 448 MB, free: 7.527 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.927e-05/0.1337, allocations: 27.61 kB / 448.1 MB, free: 7.5 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.374e-06/0.1337, allocations: 4 kB / 448.1 MB, free: 7.496 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001144/0.1339, allocations: 322.8 kB / 448.4 MB, free: 7.172 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.689e-05/0.134, allocations: 27.98 kB / 448.4 MB, free: 7.145 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001032/0.1341, allocations: 76.2 kB / 448.5 MB, free: 7.055 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.509e-05/0.1342, allocations: 35.95 kB / 448.5 MB, free: 7.02 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.1342, allocations: 0 / 448.5 MB, free: 7.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002896/0.1345, allocations: 141.7 kB / 448.7 MB, free: 6.875 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.1345, allocations: 4 kB / 448.7 MB, free: 6.871 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.826e-06/0.1345, allocations: 4 kB / 448.7 MB, free: 6.867 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.1345, allocations: 4.094 kB / 448.7 MB, free: 6.863 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001001/0.1347, allocations: 31.86 kB / 448.7 MB, free: 6.832 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.124e-06/0.1347, allocations: 0 / 448.7 MB, free: 6.832 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.87e-05/0.1348, allocations: 24.05 kB / 448.7 MB, free: 6.809 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.339e-05/0.1348, allocations: 7.984 kB / 448.7 MB, free: 6.801 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.0001176/0.1349, allocations: 129.8 kB / 448.9 MB, free: 6.664 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.526e-05/0.1349, allocations: 15.81 kB / 448.9 MB, free: 6.648 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.919e-05/0.135, allocations: 17.39 kB / 448.9 MB, free: 6.633 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.135, allocations: 0 / 448.9 MB, free: 6.633 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.135, allocations: 0 / 448.9 MB, free: 6.633 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.135, allocations: 3.938 kB / 448.9 MB, free: 6.629 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002255/0.1353, allocations: 213.6 kB / 449.1 MB, free: 6.371 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.708e-06/0.1353, allocations: 3.953 kB / 449.1 MB, free: 6.367 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.947e-05/0.1354, allocations: 15.98 kB / 449.1 MB, free: 6.352 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/0.1354, allocations: 3.984 kB / 449.1 MB, free: 6.348 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.468e-05/0.1354, allocations: 8 kB / 449.1 MB, free: 6.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.1354, allocations: 0 / 449.1 MB, free: 6.34 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1354, allocations: 0 / 449.1 MB, free: 6.34 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003715/0.1358, allocations: 184.8 kB / 449.3 MB, free: 6.141 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.558e-05/0.1359, allocations: 100.8 kB / 449.4 MB, free: 6.023 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.268e-05/0.1359, allocations: 0 / 449.4 MB, free: 6.023 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.334e-05/0.136, allocations: 15.98 kB / 449.4 MB, free: 6.008 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.885e-05/0.136, allocations: 4 kB / 449.4 MB, free: 6.004 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.053e-05/0.136, allocations: 7.984 kB / 449.4 MB, free: 5.996 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001159/0.1362, allocations: 137.3 kB / 449.6 MB, free: 5.863 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1362, allocations: 3.938 kB / 449.6 MB, free: 5.859 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002438/0.1364, allocations: 27.98 kB / 449.6 MB, free: 5.832 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.001424/0.1378, allocations: 1.036 MB / 450.6 MB, free: 4.809 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002451/0.1381, allocations: 83.83 kB / 450.7 MB, free: 4.727 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.1381, allocations: 0 / 450.7 MB, free: 4.727 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001008/0.1382, allocations: 39.92 kB / 450.8 MB, free: 4.688 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003267/0.1386, allocations: 36.41 kB / 450.8 MB, free: 4.652 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001489/0.1401, allocations: 0.8434 MB / 451.6 MB, free: 3.75 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002919/0.1404, allocations: 0.7123 MB / 452.4 MB, free: 3.012 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.702e-05/0.1405, allocations: 13.42 kB / 452.4 MB, free: 2.996 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.796e-05/0.1406, allocations: 43.42 kB / 452.4 MB, free: 2.953 MB / 382.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1406, allocations: 4 kB / 452.4 MB, free: 2.949 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2218/0.3624, allocations: 3.262 MB / 455.7 MB, free: 45.48 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001491/0.3626, allocations: 218 kB / 455.9 MB, free: 45.24 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.706/2.068, allocations: 3.562 kB / 455.9 MB, free: 45.24 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