Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.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.Test28,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test28,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test28",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.001293/0.001293, allocations: 108.1 kB / 17.21 MB, free: 6.289 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.001142/0.001142, allocations: 194 kB / 18.12 MB, free: 5.383 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.454/1.454, allocations: 222.9 MB / 241.8 MB, free: 15.53 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.2133/0.2133, allocations: 44.18 MB / 336.1 MB, free: 3.051 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001401/0.001401, allocations: 73.02 kB / 407.8 MB, free: 27.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.1247, allocations: 60.84 MB / 468.6 MB, free: 14.78 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.003742/0.1285, allocations: 1.756 MB / 470.4 MB, free: 13.01 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001597/0.1302, allocations: 0.8692 MB / 471.3 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.189e-05/0.1303, allocations: 0 / 471.3 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002931/0.1306, allocations: 35.91 kB / 471.3 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002735/0.1309, allocations: 39.83 kB / 471.3 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003455/0.1312, allocations: 95.77 kB / 471.4 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001796/0.1314, allocations: 91.7 kB / 471.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.1316, allocations: 12.2 kB / 471.5 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.76e-05/0.1317, allocations: 39.8 kB / 471.6 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.257e-05/0.1317, allocations: 31.8 kB / 471.6 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.217e-05/0.1318, allocations: 4 kB / 471.6 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001158/0.1319, allocations: 43.97 kB / 471.7 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.322e-05/0.132, allocations: 15.92 kB / 471.7 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.938e-05/0.132, allocations: 35.73 kB / 471.7 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002127/0.1322, allocations: 103.9 kB / 471.8 MB, free: 11.59 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.241e-06/0.1323, allocations: 0 / 471.8 MB, free: 11.59 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.11e-07/0.1323, allocations: 0 / 471.8 MB, free: 11.59 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.089e-06/0.1323, allocations: 0 / 471.8 MB, free: 11.59 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.0005813/0.1329, allocations: 419.1 kB / 472.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.898e-05/0.1329, allocations: 8.031 kB / 472.2 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.416e-05/0.133, allocations: 42.67 kB / 472.3 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.361e-05/0.133, allocations: 12.75 kB / 472.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002317/0.1333, allocations: 204.1 kB / 472.5 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.778e-06/0.1333, allocations: 384 / 472.5 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.376e-05/0.1333, allocations: 15.92 kB / 472.5 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001734/0.1335, allocations: 57.61 kB / 472.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.1335, allocations: 0 / 472.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.1335, allocations: 8 kB / 472.6 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.1335, allocations: 4 kB / 472.6 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.873e-05/0.1336, allocations: 19.92 kB / 472.6 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003832/0.134, allocations: 284.9 kB / 472.9 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001758/0.1342, allocations: 50.62 kB / 472.9 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.055e-05/0.1343, allocations: 28.84 kB / 472.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.727e-05/0.1343, allocations: 4 kB / 472.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002428/0.1346, allocations: 63.33 kB / 473 MB, free: 10.22 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.473e-06/0.1346, allocations: 0 / 473 MB, free: 10.22 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006117/0.1352, allocations: 173.2 kB / 473.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.226e-05/0.1352, allocations: 55.41 kB / 473.2 MB, free: 9.98 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001951/0.1354, allocations: 194.1 kB / 473.4 MB, free: 9.781 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.854e-05/0.1355, allocations: 25.7 kB / 473.4 MB, free: 9.75 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.801e-05/0.1356, allocations: 104.1 kB / 473.5 MB, free: 9.645 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.532e-05/0.1356, allocations: 23.69 kB / 473.6 MB, free: 9.621 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.949e-05/0.1357, allocations: 21.72 kB / 473.6 MB, free: 9.594 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001599/0.1358, allocations: 326.8 kB / 473.9 MB, free: 9.266 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.918e-05/0.1359, allocations: 19.98 kB / 473.9 MB, free: 9.246 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.084e-05/0.136, allocations: 37.7 kB / 474 MB, free: 9.203 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001208/0.1361, allocations: 65.64 kB / 474 MB, free: 9.133 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.1361, allocations: 0 / 474 MB, free: 9.133 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000203/0.1363, allocations: 93.5 kB / 474.1 MB, free: 9.035 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.1363, allocations: 4 kB / 474.1 MB, free: 9.031 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.1364, allocations: 4 kB / 474.1 MB, free: 9.027 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.1364, allocations: 0 / 474.1 MB, free: 9.027 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.917e-05/0.1365, allocations: 27.95 kB / 474.2 MB, free: 9 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.1365, allocations: 0 / 474.2 MB, free: 9 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.274e-05/0.1366, allocations: 7.938 kB / 474.2 MB, free: 8.992 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.257e-06/0.1366, allocations: 4 kB / 474.2 MB, free: 8.988 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.0001141/0.1367, allocations: 129.8 kB / 474.3 MB, free: 8.852 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.41e-05/0.1367, allocations: 7.906 kB / 474.3 MB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.309e-05/0.1368, allocations: 12.72 kB / 474.3 MB, free: 8.828 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.1368, allocations: 4 kB / 474.3 MB, free: 8.824 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-05/0.1368, allocations: 3.984 kB / 474.3 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.8e-06/0.1368, allocations: 8.125 kB / 474.3 MB, free: 8.812 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004714/0.1373, allocations: 387.7 kB / 474.7 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.1373, allocations: 7.938 kB / 474.7 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.802e-05/0.1374, allocations: 11.94 kB / 474.7 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.08e-06/0.1374, allocations: 7.938 kB / 474.7 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.242e-05/0.1374, allocations: 0 / 474.7 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.1374, allocations: 3.938 kB / 474.7 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.1374, allocations: 4 kB / 474.7 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002582/0.1377, allocations: 212.2 kB / 474.9 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.536e-05/0.1377, allocations: 81.02 kB / 475 MB, free: 8.016 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.846e-05/0.1378, allocations: 7.938 kB / 475 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.047e-05/0.1379, allocations: 0 / 475 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.185e-05/0.1379, allocations: 11.98 kB / 475 MB, free: 7.996 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.936e-05/0.1379, allocations: 4 kB / 475 MB, free: 7.992 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001393/0.1381, allocations: 147.2 kB / 475.2 MB, free: 7.848 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1381, allocations: 0 / 475.2 MB, free: 7.848 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002769/0.1384, allocations: 24 kB / 475.2 MB, free: 7.824 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.001498/0.1399, allocations: 1.102 MB / 476.3 MB, free: 6.883 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001743/0.1401, allocations: 55.92 kB / 476.4 MB, free: 6.828 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1401, allocations: 0 / 476.4 MB, free: 6.828 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.396e-05/0.1401, allocations: 28.05 kB / 476.4 MB, free: 6.801 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003412/0.1405, allocations: 35.92 kB / 476.4 MB, free: 6.766 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002053/0.1426, allocations: 1.648 MB / 478.1 MB, free: 5.023 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003792/0.143, allocations: 0.7043 MB / 478.8 MB, free: 4.293 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.229e-05/0.143, allocations: 17.17 kB / 478.8 MB, free: 4.277 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.769e-05/0.1431, allocations: 35.42 kB / 478.8 MB, free: 4.242 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1431, allocations: 0 / 478.8 MB, free: 4.242 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01915/0.1623, allocations: 3.133 MB / 482 MB, free: 1.211 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003132/0.1626, allocations: 243.9 kB / 482.2 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.963/2.126, allocations: 0 / 482.2 MB, free: 0.9531 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test28_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test28.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test28/Test28.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches