Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.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.Test19,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test19,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test19",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.0008627/0.0008625, allocations: 97.48 kB / 16.02 MB, free: 84 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.0008699/0.0008697, allocations: 182 kB / 16.91 MB, free: 6.914 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.324/1.324, allocations: 205.4 MB / 223.1 MB, free: 5.539 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.3962/0.3962, allocations: 43.58 MB / 315 MB, free: 9.039 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.0005452/0.0005453, allocations: 23.94 kB / 384.7 MB, free: 7.777 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.128, allocations: 58.86 MB / 443.6 MB, free: 12.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test19): time 0.002571/0.1307, allocations: 1.41 MB / 445 MB, free: 11.39 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001421/0.1321, allocations: 0.7847 MB / 445.7 MB, free: 10.6 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.844e-05/0.1323, allocations: 0 / 445.7 MB, free: 10.6 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003005/0.1326, allocations: 43.83 kB / 445.8 MB, free: 10.56 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001837/0.1328, allocations: 39.83 kB / 445.8 MB, free: 10.52 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002475/0.133, allocations: 71.86 kB / 445.9 MB, free: 10.45 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001611/0.1332, allocations: 91.69 kB / 446 MB, free: 10.36 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.1333, allocations: 24.19 kB / 446 MB, free: 10.34 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.268e-05/0.1334, allocations: 35.8 kB / 446 MB, free: 10.3 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.326e-05/0.1335, allocations: 31.84 kB / 446.1 MB, free: 10.27 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.518e-05/0.1335, allocations: 0 / 446.1 MB, free: 10.27 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.76e-05/0.1336, allocations: 43.92 kB / 446.1 MB, free: 10.23 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.458e-05/0.1337, allocations: 15.92 kB / 446.1 MB, free: 10.21 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.448e-05/0.1337, allocations: 61.44 kB / 446.2 MB, free: 10.14 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001891/0.1339, allocations: 107.9 kB / 446.3 MB, free: 10.04 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.1339, allocations: 0 / 446.3 MB, free: 10.04 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.134, allocations: 0 / 446.3 MB, free: 10.04 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.67e-06/0.134, allocations: 4 kB / 446.3 MB, free: 10.04 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.0005612/0.1345, allocations: 399.1 kB / 446.7 MB, free: 9.598 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.1346, allocations: 8.031 kB / 446.7 MB, free: 9.59 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.394e-05/0.1346, allocations: 42.67 kB / 446.7 MB, free: 9.539 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.743e-05/0.1347, allocations: 8.844 kB / 446.8 MB, free: 9.531 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000223/0.1349, allocations: 208 kB / 447 MB, free: 9.289 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.284e-05/0.1349, allocations: 384 / 447 MB, free: 9.289 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.344e-05/0.135, allocations: 7.922 kB / 447 MB, free: 9.281 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001501/0.1351, allocations: 65.61 kB / 447 MB, free: 9.211 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.1351, allocations: 0 / 447 MB, free: 9.211 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.1351, allocations: 4 kB / 447 MB, free: 9.207 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.1352, allocations: 0 / 447 MB, free: 9.207 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.051e-05/0.1352, allocations: 19.98 kB / 447.1 MB, free: 9.188 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000379/0.1356, allocations: 288.7 kB / 447.3 MB, free: 8.855 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001665/0.1358, allocations: 58.69 kB / 447.4 MB, free: 8.789 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.31e-05/0.1359, allocations: 20.84 kB / 447.4 MB, free: 8.766 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.306e-05/0.1359, allocations: 3.938 kB / 447.4 MB, free: 8.762 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001809/0.1361, allocations: 71.33 kB / 447.5 MB, free: 8.68 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.442e-06/0.1361, allocations: 0 / 447.5 MB, free: 8.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005404/0.1366, allocations: 177.2 kB / 447.7 MB, free: 8.5 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.055e-05/0.1367, allocations: 51.41 kB / 447.7 MB, free: 8.438 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001913/0.1369, allocations: 190.1 kB / 447.9 MB, free: 8.238 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.925e-05/0.1369, allocations: 33.7 kB / 447.9 MB, free: 8.199 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.085e-05/0.137, allocations: 96.14 kB / 448 MB, free: 8.102 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.186e-05/0.137, allocations: 23.7 kB / 448 MB, free: 8.078 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.693e-05/0.1371, allocations: 13.72 kB / 448.1 MB, free: 8.059 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001023/0.1372, allocations: 322.8 kB / 448.4 MB, free: 7.734 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.583e-05/0.1372, allocations: 23.98 kB / 448.4 MB, free: 7.711 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.358e-05/0.1373, allocations: 37.7 kB / 448.4 MB, free: 7.668 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001175/0.1374, allocations: 61.64 kB / 448.5 MB, free: 7.602 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.083e-06/0.1374, allocations: 0 / 448.5 MB, free: 7.602 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001793/0.1376, allocations: 93.58 kB / 448.6 MB, free: 7.504 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.1376, allocations: 8 kB / 448.6 MB, free: 7.496 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.1376, allocations: 0 / 448.6 MB, free: 7.496 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.1377, allocations: 4.031 kB / 448.6 MB, free: 7.492 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.333e-05/0.1378, allocations: 19.92 kB / 448.6 MB, free: 7.473 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.1378, allocations: 4 kB / 448.6 MB, free: 7.469 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.768e-05/0.1378, allocations: 7.938 kB / 448.6 MB, free: 7.461 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-06/0.1379, allocations: 4 kB / 448.6 MB, free: 7.457 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 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.927e-05/0.138, allocations: 121.8 kB / 448.7 MB, free: 7.328 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.398e-05/0.138, allocations: 19.81 kB / 448.8 MB, free: 7.309 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.942e-05/0.138, allocations: 12.72 kB / 448.8 MB, free: 7.301 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.138, allocations: 4 kB / 448.8 MB, free: 7.297 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.1381, allocations: 0 / 448.8 MB, free: 7.297 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/0.1381, allocations: 11.86 kB / 448.8 MB, free: 7.285 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004431/0.1385, allocations: 387.5 kB / 449.2 MB, free: 6.848 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.1385, allocations: 0 / 449.2 MB, free: 6.848 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.244e-05/0.1386, allocations: 8 kB / 449.2 MB, free: 6.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.1386, allocations: 3.938 kB / 449.2 MB, free: 6.836 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/0.1386, allocations: 8.375 kB / 449.2 MB, free: 6.828 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.1386, allocations: 7.969 kB / 449.2 MB, free: 6.82 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.1386, allocations: 4 kB / 449.2 MB, free: 6.816 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002222/0.1388, allocations: 200.5 kB / 449.4 MB, free: 6.602 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.095e-05/0.1389, allocations: 96.91 kB / 449.5 MB, free: 6.488 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.35e-05/0.1389, allocations: 7.875 kB / 449.5 MB, free: 6.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.399e-05/0.139, allocations: 4 kB / 449.5 MB, free: 6.477 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.238e-05/0.1391, allocations: 15.98 kB / 449.5 MB, free: 6.461 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.526e-05/0.1391, allocations: 4 kB / 449.5 MB, free: 6.457 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001091/0.1392, allocations: 144 kB / 449.7 MB, free: 6.316 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.1392, allocations: 0 / 449.7 MB, free: 6.316 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002661/0.1395, allocations: 24 kB / 449.7 MB, free: 6.293 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001506/0.141, allocations: 1.101 MB / 450.8 MB, free: 5.199 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001907/0.1412, allocations: 63.91 kB / 450.9 MB, free: 5.137 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.1412, allocations: 4.062 kB / 450.9 MB, free: 5.133 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.616e-05/0.1413, allocations: 23.98 kB / 450.9 MB, free: 5.109 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003382/0.1416, allocations: 23.98 kB / 450.9 MB, free: 5.086 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001734/0.1434, allocations: 1.654 MB / 452.6 MB, free: 3.34 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000298/0.1437, allocations: 0.7004 MB / 453.3 MB, free: 2.613 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.85e-05/0.1437, allocations: 20.86 kB / 453.3 MB, free: 2.594 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.279e-05/0.1438, allocations: 35.42 kB / 453.3 MB, free: 2.559 MB / 382.1 MB Notification: Performance of SimCode: time 1.953e-06/0.1438, allocations: 0 / 453.3 MB, free: 2.559 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2291/0.373, allocations: 2.928 MB / 456.2 MB, free: 45.14 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001457/0.3731, allocations: 232.9 kB / 456.5 MB, free: 44.89 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.868/2.241, allocations: 0 / 456.5 MB, free: 44.89 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test19_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test19.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test19/Test19.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches