Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.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.Test59,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test59",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test59,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test59",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.00116/0.00116, allocations: 104.1 kB / 17.64 MB, free: 5.48 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.001211/0.001211, allocations: 192 kB / 18.55 MB, free: 4.566 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.393/1.393, allocations: 222.9 MB / 242.3 MB, free: 15.17 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.2051/0.2051, allocations: 44.18 MB / 336.6 MB, free: 2.734 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 65.23 kB / 408.5 MB, free: 27.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.1209, allocations: 60.82 MB / 469.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.004645/0.1256, allocations: 1.7 MB / 471.1 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002606/0.1283, allocations: 1.483 MB / 472.6 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001563/0.1285, allocations: 3.938 kB / 472.6 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004229/0.1289, allocations: 35.83 kB / 472.6 MB, free: 11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003804/0.1294, allocations: 59.7 kB / 472.6 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004148/0.1298, allocations: 110.9 kB / 472.8 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002063/0.13, allocations: 99.69 kB / 472.9 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.1301, allocations: 8.234 kB / 472.9 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001004/0.1302, allocations: 39.8 kB / 472.9 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001747/0.1304, allocations: 43.83 kB / 472.9 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.083e-05/0.1305, allocations: 4 kB / 472.9 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001845/0.1306, allocations: 67.89 kB / 473 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.066e-05/0.1307, allocations: 15.88 kB / 473 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.831e-05/0.1308, allocations: 31.8 kB / 473.1 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002619/0.131, allocations: 116 kB / 473.2 MB, free: 10.42 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.1311, allocations: 0 / 473.2 MB, free: 10.42 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1311, allocations: 3.938 kB / 473.2 MB, free: 10.41 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.1311, allocations: 0 / 473.2 MB, free: 10.41 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.0007546/0.1318, allocations: 411.2 kB / 473.6 MB, free: 9.965 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.069e-05/0.1319, allocations: 8.031 kB / 473.6 MB, free: 9.957 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.575e-05/0.132, allocations: 30.75 kB / 473.6 MB, free: 9.918 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.495e-05/0.132, allocations: 8.844 kB / 473.6 MB, free: 9.91 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002857/0.1323, allocations: 212 kB / 473.8 MB, free: 9.664 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.506e-05/0.1323, allocations: 384 / 473.8 MB, free: 9.664 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.864e-05/0.1324, allocations: 7.938 kB / 473.8 MB, free: 9.656 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000215/0.1326, allocations: 79.36 kB / 473.9 MB, free: 9.566 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.002e-05/0.1326, allocations: 4 kB / 473.9 MB, free: 9.562 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.367e-05/0.1326, allocations: 0 / 473.9 MB, free: 9.562 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.1327, allocations: 0 / 473.9 MB, free: 9.562 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.991e-05/0.1327, allocations: 19.98 kB / 473.9 MB, free: 9.543 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000468/0.1332, allocations: 280.8 kB / 474.2 MB, free: 9.219 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001942/0.1334, allocations: 54.69 kB / 474.3 MB, free: 9.156 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.963e-05/0.1335, allocations: 20.84 kB / 474.3 MB, free: 9.133 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.188e-05/0.1335, allocations: 7.938 kB / 474.3 MB, free: 9.125 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002659/0.1338, allocations: 63.39 kB / 474.4 MB, free: 9.051 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.593e-06/0.1338, allocations: 3.938 kB / 474.4 MB, free: 9.047 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006345/0.1345, allocations: 181.4 kB / 474.5 MB, free: 8.863 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.07e-05/0.1345, allocations: 77.11 kB / 474.6 MB, free: 8.77 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001884/0.1347, allocations: 160.1 kB / 474.8 MB, free: 8.605 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.374e-05/0.1348, allocations: 29.7 kB / 474.8 MB, free: 8.57 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.999e-05/0.1348, allocations: 92.14 kB / 474.9 MB, free: 8.477 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.752e-05/0.1349, allocations: 27.64 kB / 474.9 MB, free: 8.449 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.318e-05/0.1349, allocations: 21.72 kB / 474.9 MB, free: 8.422 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000147/0.1351, allocations: 322.8 kB / 475.3 MB, free: 8.098 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.274e-05/0.1352, allocations: 23.98 kB / 475.3 MB, free: 8.074 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.223e-05/0.1352, allocations: 42.69 kB / 475.3 MB, free: 8.023 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001229/0.1354, allocations: 61.72 kB / 475.4 MB, free: 7.957 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.1354, allocations: 4.188 kB / 475.4 MB, free: 7.953 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002067/0.1356, allocations: 97.58 kB / 475.5 MB, free: 7.852 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.1356, allocations: 8 kB / 475.5 MB, free: 7.844 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.1356, allocations: 4 kB / 475.5 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.109e-05/0.1357, allocations: 4 kB / 475.5 MB, free: 7.836 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.639e-05/0.1358, allocations: 19.92 kB / 475.5 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.1358, allocations: 0 / 475.5 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.818e-05/0.1358, allocations: 7.938 kB / 475.5 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.087e-05/0.1359, allocations: 4 kB / 475.5 MB, free: 7.805 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 0.0001474/0.136, allocations: 117.8 kB / 475.6 MB, free: 7.68 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.473e-05/0.1361, allocations: 11.89 kB / 475.7 MB, free: 7.668 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.949e-05/0.1361, allocations: 16.72 kB / 475.7 MB, free: 7.648 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.1361, allocations: 0 / 475.7 MB, free: 7.648 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.772e-06/0.1361, allocations: 0 / 475.7 MB, free: 7.648 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/0.1362, allocations: 7.938 kB / 475.7 MB, free: 7.641 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005047/0.1367, allocations: 391.3 kB / 476.1 MB, free: 7.199 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.1367, allocations: 0 / 476.1 MB, free: 7.199 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.616e-05/0.1367, allocations: 8 kB / 476.1 MB, free: 7.191 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.631e-06/0.1367, allocations: 3.938 kB / 476.1 MB, free: 7.188 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.138e-05/0.1367, allocations: 4.031 kB / 476.1 MB, free: 7.184 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.1368, allocations: 4 kB / 476.1 MB, free: 7.18 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.422e-06/0.1368, allocations: 3.938 kB / 476.1 MB, free: 7.176 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002683/0.137, allocations: 208.1 kB / 476.3 MB, free: 6.953 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.301e-05/0.1371, allocations: 85 kB / 476.4 MB, free: 6.852 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.213e-05/0.1371, allocations: 7.938 kB / 476.4 MB, free: 6.844 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.72e-05/0.1372, allocations: 4 kB / 476.4 MB, free: 6.84 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.048e-05/0.1373, allocations: 11.98 kB / 476.4 MB, free: 6.828 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.746e-05/0.1373, allocations: 4 kB / 476.4 MB, free: 6.824 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001071/0.1374, allocations: 115.2 kB / 476.5 MB, free: 6.711 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1374, allocations: 0 / 476.5 MB, free: 6.711 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002966/0.1377, allocations: 32 kB / 476.5 MB, free: 6.68 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.001818/0.1395, allocations: 1.137 MB / 477.7 MB, free: 5.719 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002169/0.1398, allocations: 63.84 kB / 477.7 MB, free: 5.656 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1398, allocations: 0 / 477.7 MB, free: 5.656 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.511e-05/0.1399, allocations: 27.94 kB / 477.8 MB, free: 5.629 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003565/0.1402, allocations: 31.91 kB / 477.8 MB, free: 5.598 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001833/0.1421, allocations: 1.542 MB / 479.3 MB, free: 3.961 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003521/0.1424, allocations: 0.7011 MB / 480 MB, free: 3.234 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.414e-05/0.1425, allocations: 17.33 kB / 480.1 MB, free: 3.219 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.699e-05/0.1426, allocations: 43.34 kB / 480.1 MB, free: 3.176 MB / 350.1 MB Notification: Performance of SimCode: time 3.6e-07/0.1426, allocations: 0 / 480.1 MB, free: 3.176 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02448/0.1671, allocations: 3.458 MB / 483.6 MB, free: 15.8 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.691/7.858, allocations: 18.47 kB / 483.6 MB, free: 15.78 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test59_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test59.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test59/Test59.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches