Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.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.Test44,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test44",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test44,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test44",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.0009596/0.0009597, allocations: 96.08 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.00103/0.001031, allocations: 183.5 kB / 16.92 MB, free: 6.891 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.519/1.519, allocations: 205.4 MB / 223.1 MB, free: 5.535 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.3547/0.3547, allocations: 43.58 MB / 315 MB, free: 9.09 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.0004916/0.0004916, allocations: 16 kB / 384.7 MB, free: 7.785 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1302/0.1307, allocations: 58.86 MB / 443.5 MB, free: 12.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test44): time 0.002179/0.1329, allocations: 1.414 MB / 445 MB, free: 11.39 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001318/0.1342, allocations: 0.7846 MB / 445.7 MB, free: 10.6 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.019e-05/0.1343, allocations: 0 / 445.7 MB, free: 10.6 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002707/0.1346, allocations: 39.83 kB / 445.8 MB, free: 10.56 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001618/0.1348, allocations: 43.83 kB / 445.8 MB, free: 10.52 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002371/0.135, allocations: 87.83 kB / 445.9 MB, free: 10.43 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001523/0.1352, allocations: 91.7 kB / 446 MB, free: 10.34 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.324e-05/0.1353, allocations: 12.22 kB / 446 MB, free: 10.33 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.903e-05/0.1354, allocations: 43.78 kB / 446.1 MB, free: 10.29 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.762e-05/0.1354, allocations: 23.84 kB / 446.1 MB, free: 10.27 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.649e-05/0.1355, allocations: 4 kB / 446.1 MB, free: 10.26 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.486e-05/0.1355, allocations: 39.98 kB / 446.1 MB, free: 10.22 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.549e-05/0.1356, allocations: 23.86 kB / 446.1 MB, free: 10.2 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.786e-05/0.1357, allocations: 65.44 kB / 446.2 MB, free: 10.13 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001657/0.1358, allocations: 111.9 kB / 446.3 MB, free: 10.02 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.778e-06/0.1359, allocations: 0 / 446.3 MB, free: 10.02 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.1359, allocations: 0 / 446.3 MB, free: 10.02 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.1359, allocations: 0 / 446.3 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004681/0.1363, allocations: 399 kB / 446.7 MB, free: 9.582 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.1364, allocations: 12.03 kB / 446.7 MB, free: 9.57 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.835e-05/0.1364, allocations: 34.73 kB / 446.8 MB, free: 9.527 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.828e-05/0.1365, allocations: 8.844 kB / 446.8 MB, free: 9.52 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002083/0.1367, allocations: 220.6 kB / 447 MB, free: 9.266 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.098e-05/0.1367, allocations: 384 / 447 MB, free: 9.266 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.581e-05/0.1367, allocations: 7.938 kB / 447 MB, free: 9.258 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001372/0.1369, allocations: 53.67 kB / 447 MB, free: 9.199 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.1369, allocations: 0 / 447 MB, free: 9.199 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.065e-06/0.1369, allocations: 0 / 447 MB, free: 9.199 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.1369, allocations: 0 / 447 MB, free: 9.199 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.847e-05/0.137, allocations: 19.98 kB / 447.1 MB, free: 9.18 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003182/0.1373, allocations: 296.8 kB / 447.3 MB, free: 8.84 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001627/0.1375, allocations: 66.59 kB / 447.4 MB, free: 8.766 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.067e-05/0.1376, allocations: 16.86 kB / 447.4 MB, free: 8.746 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.774e-05/0.1376, allocations: 4 kB / 447.4 MB, free: 8.742 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001872/0.1378, allocations: 67.39 kB / 447.5 MB, free: 8.664 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.292e-06/0.1378, allocations: 0 / 447.5 MB, free: 8.664 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.000565/0.1384, allocations: 173.1 kB / 447.7 MB, free: 8.488 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.032e-05/0.1384, allocations: 59.41 kB / 447.7 MB, free: 8.418 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001994/0.1386, allocations: 195.3 kB / 447.9 MB, free: 8.219 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.815e-05/0.1386, allocations: 25.7 kB / 447.9 MB, free: 8.188 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.69e-05/0.1387, allocations: 112.1 kB / 448.1 MB, free: 8.074 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.39e-05/0.1388, allocations: 27.64 kB / 448.1 MB, free: 8.047 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.662e-05/0.1388, allocations: 17.72 kB / 448.1 MB, free: 8.023 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.1389, allocations: 322.8 kB / 448.4 MB, free: 7.699 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.624e-05/0.139, allocations: 27.92 kB / 448.4 MB, free: 7.672 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.529e-05/0.1391, allocations: 33.7 kB / 448.5 MB, free: 7.633 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001105/0.1392, allocations: 53.72 kB / 448.5 MB, free: 7.574 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.1392, allocations: 0 / 448.5 MB, free: 7.574 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001814/0.1394, allocations: 113.4 kB / 448.6 MB, free: 7.457 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.1394, allocations: 8 kB / 448.6 MB, free: 7.449 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.1394, allocations: 0 / 448.6 MB, free: 7.449 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.1394, allocations: 0 / 448.6 MB, free: 7.449 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.016e-05/0.1395, allocations: 15.98 kB / 448.7 MB, free: 7.434 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.1396, allocations: 7.938 kB / 448.7 MB, free: 7.426 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.434e-05/0.1396, allocations: 3.938 kB / 448.7 MB, free: 7.422 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.834e-06/0.1396, allocations: 4 kB / 448.7 MB, free: 7.418 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 0.0001055/0.1397, allocations: 129.9 kB / 448.8 MB, free: 7.281 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.962e-05/0.1398, allocations: 11.91 kB / 448.8 MB, free: 7.27 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.1e-05/0.1398, allocations: 13.41 kB / 448.8 MB, free: 7.254 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.1398, allocations: 0 / 448.8 MB, free: 7.254 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.1398, allocations: 0 / 448.8 MB, free: 7.254 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.1398, allocations: 7.938 kB / 448.8 MB, free: 7.246 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004437/0.1403, allocations: 395.2 kB / 449.2 MB, free: 6.801 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.307e-06/0.1403, allocations: 4 kB / 449.2 MB, free: 6.797 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.941e-05/0.1403, allocations: 8.031 kB / 449.2 MB, free: 6.789 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.815e-06/0.1404, allocations: 7.938 kB / 449.2 MB, free: 6.781 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.318e-06/0.1404, allocations: 192 / 449.2 MB, free: 6.781 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.1404, allocations: 384 / 449.2 MB, free: 6.781 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.1404, allocations: 7.938 kB / 449.2 MB, free: 6.773 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002222/0.1406, allocations: 200.5 kB / 449.4 MB, free: 6.559 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.909e-05/0.1407, allocations: 92.91 kB / 449.5 MB, free: 6.449 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.866e-05/0.1407, allocations: 15.94 kB / 449.5 MB, free: 6.434 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.888e-05/0.1408, allocations: 4 kB / 449.6 MB, free: 6.43 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.147e-05/0.1408, allocations: 3.984 kB / 449.6 MB, free: 6.426 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.437e-05/0.1409, allocations: 4 kB / 449.6 MB, free: 6.422 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001274/0.141, allocations: 156.9 kB / 449.7 MB, free: 6.27 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.141, allocations: 0 / 449.7 MB, free: 6.27 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002483/0.1413, allocations: 24 kB / 449.7 MB, free: 6.246 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.001539/0.1428, allocations: 1.105 MB / 450.8 MB, free: 5.152 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001631/0.143, allocations: 63.91 kB / 450.9 MB, free: 5.09 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.143, allocations: 0 / 450.9 MB, free: 5.09 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.891e-05/0.1431, allocations: 27.98 kB / 450.9 MB, free: 5.062 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003365/0.1434, allocations: 23.97 kB / 451 MB, free: 5.039 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00164/0.1451, allocations: 1.693 MB / 452.6 MB, free: 3.25 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002771/0.1453, allocations: 0.7121 MB / 453.4 MB, free: 2.512 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.94e-05/0.1454, allocations: 13.19 kB / 453.4 MB, free: 2.5 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.638e-05/0.1455, allocations: 39.36 kB / 453.4 MB, free: 2.461 MB / 382.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1455, allocations: 0 / 453.4 MB, free: 2.461 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2492/0.3947, allocations: 2.979 MB / 456.4 MB, free: 45.44 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001259/0.3948, allocations: 234.3 kB / 456.6 MB, free: 45.19 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.803/2.198, allocations: 1.406 kB / 456.6 MB, free: 45.19 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test44_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test44.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test44/Test44.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches