Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001239/0.001239, allocations: 116.7 kB / 18.5 MB, free: 4.602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001316/0.001316, allocations: 193.2 kB / 21.44 MB, free: 1.664 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.469/1.469, allocations: 225.6 MB / 249.8 MB, free: 3.637 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2471/0.2471, allocations: 44.91 MB / 349.6 MB, free: 1.75 MB / 270.1 MB " [Timeout remaining time 180] 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.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test21",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00231/0.00231, allocations: 70.52 kB / 491.9 MB, free: 29.99 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1249/0.1272, allocations: 64.26 MB / 0.5431 GB, free: 4.051 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.003436/0.1307, allocations: 1.703 MB / 0.5448 GB, free: 2.332 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001508/0.1322, allocations: 0.8963 MB / 0.5456 GB, free: 1.43 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.776e-05/0.1323, allocations: 3.938 kB / 0.5456 GB, free: 1.426 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002744/0.1325, allocations: 39.83 kB / 0.5457 GB, free: 1.387 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002185/0.1328, allocations: 55.75 kB / 0.5457 GB, free: 1.332 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002978/0.1331, allocations: 103.6 kB / 0.5458 GB, free: 1.23 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001754/0.1332, allocations: 99.69 kB / 0.5459 GB, free: 1.133 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.1333, allocations: 4.516 kB / 0.5459 GB, free: 1.125 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.509e-05/0.1334, allocations: 47.77 kB / 0.546 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.94e-05/0.1335, allocations: 31.8 kB / 0.546 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.149e-05/0.1335, allocations: 8 kB / 0.546 GB, free: 1.039 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001027/0.1336, allocations: 47.97 kB / 0.546 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.455e-05/0.1337, allocations: 23.92 kB / 0.5461 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.421e-05/0.1338, allocations: 31.75 kB / 0.5461 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000234/0.134, allocations: 111.5 kB / 0.5462 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.134, allocations: 0 / 0.5462 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.134, allocations: 0 / 0.5462 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.134, allocations: 0 / 0.5462 GB, free: 0.8281 MB / 398.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.0006423/0.1346, allocations: 422.6 kB / 0.5466 GB, free: 376 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.1347, allocations: 12.03 kB / 0.5466 GB, free: 364 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.363e-05/0.1347, allocations: 34.75 kB / 0.5467 GB, free: 320 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.944e-05/0.1348, allocations: 12.89 kB / 0.5467 GB, free: 308 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003333/0.1351, allocations: 212.2 kB / 0.5469 GB, free: 56 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.428e-06/0.1351, allocations: 384 / 0.5469 GB, free: 56 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.382e-05/0.1351, allocations: 7.938 kB / 0.5469 GB, free: 48 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001613/0.1353, allocations: 53.67 kB / 0.5469 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.1353, allocations: 0 / 0.5469 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.451e-05/0.1353, allocations: 7.969 kB / 0.5469 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.1353, allocations: 3.938 kB / 0.5469 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.566e-05/0.1354, allocations: 23.98 kB / 0.547 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003954/0.1358, allocations: 288.8 kB / 0.5472 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001753/0.136, allocations: 54.69 kB / 0.5473 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.653e-05/0.136, allocations: 20.78 kB / 0.5473 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.172e-05/0.1361, allocations: 8 kB / 0.5473 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001538/0.1362, allocations: 63.39 kB / 0.5474 GB, free: 15.45 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.273e-06/0.1362, allocations: 0 / 0.5474 GB, free: 15.45 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005578/0.1368, allocations: 173.3 kB / 0.5475 GB, free: 15.28 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.328e-05/0.1368, allocations: 55.41 kB / 0.5476 GB, free: 15.21 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001967/0.137, allocations: 190.1 kB / 0.5478 GB, free: 15.01 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.137, allocations: 25.7 kB / 0.5478 GB, free: 14.98 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.747e-05/0.1371, allocations: 108.1 kB / 0.5479 GB, free: 14.87 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.631e-05/0.1371, allocations: 31.77 kB / 0.5479 GB, free: 14.84 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.802e-05/0.1372, allocations: 17.72 kB / 0.548 GB, free: 14.82 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001436/0.1373, allocations: 322.8 kB / 0.5483 GB, free: 14.49 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.741e-05/0.1374, allocations: 23.98 kB / 0.5483 GB, free: 14.47 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.63e-05/0.1375, allocations: 33.7 kB / 0.5483 GB, free: 14.43 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001214/0.1376, allocations: 65.64 kB / 0.5484 GB, free: 14.36 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.1376, allocations: 0 / 0.5484 GB, free: 14.36 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000187/0.1378, allocations: 101.5 kB / 0.5485 GB, free: 14.25 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.1378, allocations: 4 kB / 0.5485 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.1378, allocations: 4 kB / 0.5485 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.1378, allocations: 0 / 0.5485 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.476e-05/0.1379, allocations: 19.92 kB / 0.5485 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.215e-06/0.1379, allocations: 4.141 kB / 0.5485 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.919e-05/0.138, allocations: 8.312 kB / 0.5485 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/0.138, allocations: 8.031 kB / 0.5485 GB, free: 14.21 MB / 414.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.0001121/0.1381, allocations: 128.6 kB / 0.5486 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.343e-05/0.1381, allocations: 11.91 kB / 0.5487 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.356e-05/0.1381, allocations: 12.72 kB / 0.5487 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.1382, allocations: 8 kB / 0.5487 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.1382, allocations: 3.938 kB / 0.5487 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.115e-06/0.1382, allocations: 7.922 kB / 0.5487 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005023/0.1387, allocations: 387.4 kB / 0.5491 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.1387, allocations: 4 kB / 0.5491 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.058e-05/0.1387, allocations: 7.938 kB / 0.5491 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.077e-06/0.1387, allocations: 7.938 kB / 0.5491 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.797e-06/0.1387, allocations: 192 / 0.5491 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1387, allocations: 0 / 0.5491 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.548e-06/0.1387, allocations: 7.938 kB / 0.5491 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002453/0.139, allocations: 204.4 kB / 0.5493 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.953e-05/0.139, allocations: 85.02 kB / 0.5494 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.705e-05/0.1391, allocations: 7.938 kB / 0.5494 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.817e-05/0.1391, allocations: 4 kB / 0.5494 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.48e-05/0.1392, allocations: 11.92 kB / 0.5494 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.623e-05/0.1392, allocations: 4 kB / 0.5494 GB, free: 13.22 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001241/0.1393, allocations: 140.1 kB / 0.5495 GB, free: 13.08 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1393, allocations: 0 / 0.5495 GB, free: 13.08 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002707/0.1396, allocations: 23.98 kB / 0.5495 GB, free: 13.06 MB / 414.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.00212/0.1417, allocations: 1.099 MB / 0.5506 GB, free: 12.13 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000195/0.1419, allocations: 55.91 kB / 0.5507 GB, free: 12.07 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1419, allocations: 0 / 0.5507 GB, free: 12.07 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.608e-05/0.142, allocations: 27.92 kB / 0.5507 GB, free: 12.05 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003489/0.1423, allocations: 34.47 kB / 0.5507 GB, free: 12.02 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00189/0.1442, allocations: 1.63 MB / 0.5523 GB, free: 10.29 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003256/0.1445, allocations: 0.7002 MB / 0.553 GB, free: 9.562 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.554e-05/0.1446, allocations: 20.86 kB / 0.553 GB, free: 9.543 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.689e-05/0.1447, allocations: 39.36 kB / 0.5531 GB, free: 9.504 MB / 414.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1447, allocations: 0 / 0.5531 GB, free: 9.504 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02382/0.1685, allocations: 3.389 MB / 0.5564 GB, free: 6.148 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.795/7.963, allocations: 25.95 kB / 0.5564 GB, free: 6.129 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test21_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test21.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.129738063085824]