Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Test52,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test52",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test52,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test52",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.001208/0.001208, allocations: 103.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001091/0.001091, allocations: 192 kB / 18.56 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.334/1.334, allocations: 222.9 MB / 242.3 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2169/0.2169, allocations: 44.18 MB / 336.6 MB, free: 2.73 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001709/0.001709, allocations: 63.81 kB / 408.5 MB, free: 27.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1281/0.1298, allocations: 60.83 MB / 469.4 MB, free: 14.24 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.003621/0.1335, allocations: 1.692 MB / 471.1 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001668/0.1352, allocations: 0.8886 MB / 472 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001049/0.1353, allocations: 0 / 472 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003419/0.1357, allocations: 47.75 kB / 472 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002444/0.1359, allocations: 59.75 kB / 472.1 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003351/0.1363, allocations: 106.4 kB / 472.2 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001964/0.1365, allocations: 95.7 kB / 472.3 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.1366, allocations: 16.22 kB / 472.3 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.415e-05/0.1367, allocations: 39.8 kB / 472.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.307e-05/0.1368, allocations: 27.84 kB / 472.3 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.363e-05/0.1368, allocations: 4 kB / 472.3 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001187/0.137, allocations: 43.98 kB / 472.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.721e-05/0.137, allocations: 19.92 kB / 472.4 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.156e-05/0.1371, allocations: 47.66 kB / 472.4 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002362/0.1373, allocations: 119.8 kB / 472.6 MB, free: 11.03 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.1374, allocations: 4 kB / 472.6 MB, free: 11.02 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.1374, allocations: 3.938 kB / 472.6 MB, free: 11.02 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.138e-06/0.1374, allocations: 0 / 472.6 MB, free: 11.02 MB / 350.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.000629/0.138, allocations: 418.9 kB / 473 MB, free: 10.56 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.747e-05/0.1381, allocations: 12.03 kB / 473 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.782e-05/0.1381, allocations: 34.75 kB / 473 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.007e-05/0.1382, allocations: 12.75 kB / 473 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002477/0.1384, allocations: 208 kB / 473.2 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.459e-05/0.1385, allocations: 16.31 kB / 473.3 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.241e-05/0.1385, allocations: 3.938 kB / 473.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000152/0.1386, allocations: 53.67 kB / 473.3 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.1387, allocations: 0 / 473.3 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.1387, allocations: 4 kB / 473.3 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.7e-06/0.1387, allocations: 0 / 473.3 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.581e-05/0.1388, allocations: 19.98 kB / 473.3 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003583/0.1391, allocations: 300.7 kB / 473.6 MB, free: 9.809 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001629/0.1393, allocations: 62.62 kB / 473.7 MB, free: 9.738 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.675e-05/0.1394, allocations: 20.84 kB / 473.7 MB, free: 9.715 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.419e-05/0.1394, allocations: 4 kB / 473.7 MB, free: 9.711 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002046/0.1396, allocations: 63.39 kB / 473.8 MB, free: 9.637 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 3.407e-06/0.1396, allocations: 4 kB / 473.8 MB, free: 9.633 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005378/0.1402, allocations: 169.2 kB / 473.9 MB, free: 9.461 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.373e-05/0.1402, allocations: 55.41 kB / 474 MB, free: 9.395 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002012/0.1404, allocations: 230.5 kB / 474.2 MB, free: 9.156 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.27e-05/0.1405, allocations: 29.7 kB / 474.3 MB, free: 9.121 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.025e-05/0.1405, allocations: 108.1 kB / 474.4 MB, free: 9.012 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.235e-05/0.1406, allocations: 23.66 kB / 474.4 MB, free: 8.988 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.17e-05/0.1406, allocations: 21.7 kB / 474.4 MB, free: 8.961 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001219/0.1407, allocations: 330.8 kB / 474.7 MB, free: 8.629 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.286e-05/0.1408, allocations: 19.94 kB / 474.7 MB, free: 8.609 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.672e-05/0.1409, allocations: 37.7 kB / 474.8 MB, free: 8.566 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001177/0.141, allocations: 65.75 kB / 474.9 MB, free: 8.496 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.141, allocations: 0 / 474.9 MB, free: 8.496 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001877/0.1412, allocations: 97.53 kB / 474.9 MB, free: 8.395 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.1413, allocations: 12.02 kB / 475 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.1413, allocations: 0 / 475 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.1413, allocations: 0 / 475 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.199e-05/0.1414, allocations: 20.19 kB / 475 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.1414, allocations: 0 / 475 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.965e-05/0.1414, allocations: 7.875 kB / 475 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.275e-06/0.1415, allocations: 12.3 kB / 475 MB, free: 8.344 MB / 350.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.744e-05/0.1416, allocations: 126.9 kB / 475.1 MB, free: 8.211 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.018e-05/0.1416, allocations: 15.81 kB / 475.1 MB, free: 8.195 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.477e-05/0.1417, allocations: 29.31 kB / 475.2 MB, free: 8.168 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.1417, allocations: 4 kB / 475.2 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.1417, allocations: 4 kB / 475.2 MB, free: 8.16 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.1417, allocations: 3.938 kB / 475.2 MB, free: 8.156 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004285/0.1421, allocations: 395.3 kB / 475.6 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.1421, allocations: 0 / 475.6 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.407e-05/0.1422, allocations: 8 kB / 475.6 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.1422, allocations: 7.969 kB / 475.6 MB, free: 7.695 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.1422, allocations: 4 kB / 475.6 MB, free: 7.691 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.1422, allocations: 0 / 475.6 MB, free: 7.691 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1422, allocations: 0 / 475.6 MB, free: 7.691 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002243/0.1424, allocations: 204.1 kB / 475.8 MB, free: 7.473 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.356e-05/0.1425, allocations: 89 kB / 475.9 MB, free: 7.367 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.841e-05/0.1425, allocations: 11.94 kB / 475.9 MB, free: 7.355 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.908e-05/0.1426, allocations: 4 kB / 475.9 MB, free: 7.352 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.779e-05/0.1427, allocations: 7.984 kB / 475.9 MB, free: 7.344 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.425e-05/0.1427, allocations: 4 kB / 475.9 MB, free: 7.34 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001422/0.1428, allocations: 167.2 kB / 476.1 MB, free: 7.176 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1428, allocations: 4 kB / 476.1 MB, free: 7.172 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002705/0.1431, allocations: 23.98 kB / 476.1 MB, free: 7.148 MB / 350.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.001541/0.1447, allocations: 1.101 MB / 477.2 MB, free: 6.203 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002028/0.1449, allocations: 67.91 kB / 477.3 MB, free: 6.137 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1449, allocations: 0 / 477.3 MB, free: 6.137 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001037/0.145, allocations: 27.98 kB / 477.3 MB, free: 6.109 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003769/0.1454, allocations: 27.92 kB / 477.3 MB, free: 6.082 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001731/0.1471, allocations: 1.712 MB / 479 MB, free: 4.285 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000266/0.1474, allocations: 0.7158 MB / 479.7 MB, free: 3.543 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.464e-05/0.1475, allocations: 13.2 kB / 479.7 MB, free: 3.531 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.781e-05/0.1475, allocations: 39.41 kB / 479.8 MB, free: 3.492 MB / 350.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1476, allocations: 0 / 479.8 MB, free: 3.492 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02308/0.1706, allocations: 3.459 MB / 483.2 MB, free: 120 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.67/7.841, allocations: 10.94 kB / 483.3 MB, free: 112 kB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test52_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test52.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test52/Test52.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches