Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.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.001318/0.001318, allocations: 119 kB / 18.5 MB, free: 4.566 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.001305/0.001305, allocations: 190.9 kB / 21.44 MB, free: 1.633 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.463/1.463, allocations: 225.6 MB / 249.8 MB, free: 3.605 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.24/0.24, allocations: 44.92 MB / 349.6 MB, free: 1.73 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.Test45,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test45",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test45,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test45",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001952/0.001952, allocations: 75.14 kB / 491.9 MB, free: 29.7 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1345/0.1364, allocations: 64.26 MB / 0.5431 GB, free: 4.031 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.003399/0.1398, allocations: 1.718 MB / 0.5448 GB, free: 2.301 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001605/0.1415, allocations: 0.8885 MB / 0.5456 GB, free: 1.406 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.882e-05/0.1415, allocations: 4 kB / 0.5456 GB, free: 1.402 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003333/0.1419, allocations: 43.7 kB / 0.5457 GB, free: 1.359 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002218/0.1421, allocations: 47.77 kB / 0.5457 GB, free: 1.312 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003137/0.1424, allocations: 115.6 kB / 0.5458 GB, free: 1.199 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000182/0.1426, allocations: 103.7 kB / 0.5459 GB, free: 1.098 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.1427, allocations: 4.516 kB / 0.5459 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.31e-05/0.1428, allocations: 39.8 kB / 0.546 GB, free: 1.051 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.257e-05/0.1429, allocations: 31.83 kB / 0.546 GB, free: 1.02 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.967e-05/0.1429, allocations: 4 kB / 0.546 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001014/0.143, allocations: 47.92 kB / 0.5461 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.536e-05/0.1431, allocations: 27.92 kB / 0.5461 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.787e-05/0.1431, allocations: 35.73 kB / 0.5461 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002312/0.1433, allocations: 111.5 kB / 0.5462 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.1433, allocations: 4 kB / 0.5462 GB, free: 0.793 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1433, allocations: 0 / 0.5462 GB, free: 0.793 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.1434, allocations: 3.938 kB / 0.5462 GB, free: 0.7891 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.0006221/0.144, allocations: 422.7 kB / 0.5466 GB, free: 336 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.144, allocations: 8.031 kB / 0.5466 GB, free: 328 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.196e-05/0.1441, allocations: 34.75 kB / 0.5467 GB, free: 284 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.832e-05/0.1441, allocations: 12.83 kB / 0.5467 GB, free: 272 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003228/0.1444, allocations: 212.8 kB / 0.5469 GB, free: 20 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.309e-05/0.1444, allocations: 384 / 0.5469 GB, free: 20 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.294e-05/0.1445, allocations: 11.94 kB / 0.5469 GB, free: 8 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001768/0.1446, allocations: 53.67 kB / 0.547 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.1447, allocations: 0 / 0.547 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.1447, allocations: 3.984 kB / 0.547 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.71e-06/0.1447, allocations: 0 / 0.547 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.95e-05/0.1448, allocations: 16 kB / 0.547 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004456/0.1452, allocations: 292.8 kB / 0.5473 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001809/0.1454, allocations: 58.69 kB / 0.5473 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.885e-05/0.1454, allocations: 20.84 kB / 0.5473 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.698e-05/0.1455, allocations: 0 / 0.5473 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001781/0.1456, allocations: 67.33 kB / 0.5474 GB, free: 15.43 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.1456, allocations: 0 / 0.5474 GB, free: 15.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005974/0.1462, allocations: 181.3 kB / 0.5476 GB, free: 15.24 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.179e-05/0.1463, allocations: 51.41 kB / 0.5476 GB, free: 15.18 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002252/0.1465, allocations: 206.5 kB / 0.5478 GB, free: 14.96 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.121e-05/0.1465, allocations: 29.7 kB / 0.5478 GB, free: 14.93 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.08e-05/0.1466, allocations: 104.1 kB / 0.5479 GB, free: 14.82 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.394e-05/0.1467, allocations: 23.8 kB / 0.548 GB, free: 14.8 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.369e-05/0.1467, allocations: 21.7 kB / 0.548 GB, free: 14.77 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001713/0.1469, allocations: 326.8 kB / 0.5483 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.93e-05/0.1469, allocations: 20 kB / 0.5483 GB, free: 14.43 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.319e-05/0.147, allocations: 41.64 kB / 0.5484 GB, free: 14.38 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000139/0.1471, allocations: 62.02 kB / 0.5484 GB, free: 14.31 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.1471, allocations: 0 / 0.5484 GB, free: 14.31 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002041/0.1474, allocations: 101.6 kB / 0.5485 GB, free: 14.21 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.1474, allocations: 12.03 kB / 0.5485 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.1474, allocations: 4 kB / 0.5485 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.1474, allocations: 0 / 0.5485 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001046/0.1475, allocations: 19.94 kB / 0.5485 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.1475, allocations: 0 / 0.5485 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.219e-05/0.1476, allocations: 11.92 kB / 0.5486 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.848e-06/0.1476, allocations: 4 kB / 0.5486 GB, free: 14.16 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.0001296/0.1477, allocations: 121.8 kB / 0.5487 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.661e-05/0.1477, allocations: 11.91 kB / 0.5487 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.704e-05/0.1478, allocations: 21.39 kB / 0.5487 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.1478, allocations: 4 kB / 0.5487 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.1478, allocations: 0 / 0.5487 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.1478, allocations: 3.938 kB / 0.5487 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005105/0.1483, allocations: 387.3 kB / 0.5491 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.1483, allocations: 7.984 kB / 0.5491 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.417e-05/0.1483, allocations: 11.98 kB / 0.5491 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.1483, allocations: 3.938 kB / 0.5491 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.23e-05/0.1484, allocations: 8.031 kB / 0.5491 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.1484, allocations: 3.938 kB / 0.5491 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.1484, allocations: 4 kB / 0.5491 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002518/0.1486, allocations: 196.3 kB / 0.5493 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.42e-05/0.1487, allocations: 85.06 kB / 0.5494 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.984e-05/0.1487, allocations: 15.86 kB / 0.5494 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.566e-05/0.1488, allocations: 0 / 0.5494 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.783e-05/0.1488, allocations: 8 kB / 0.5494 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.811e-05/0.1488, allocations: 7.984 kB / 0.5494 GB, free: 13.16 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001387/0.149, allocations: 148.9 kB / 0.5496 GB, free: 13.02 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.149, allocations: 0 / 0.5496 GB, free: 13.02 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002681/0.1492, allocations: 27.92 kB / 0.5496 GB, free: 12.99 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.002234/0.1515, allocations: 1.097 MB / 0.5507 GB, free: 12.06 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001927/0.1517, allocations: 63.89 kB / 0.5507 GB, free: 12 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1517, allocations: 0 / 0.5507 GB, free: 12 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.678e-05/0.1517, allocations: 27.92 kB / 0.5508 GB, free: 11.97 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003609/0.1521, allocations: 30.8 kB / 0.5508 GB, free: 11.94 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001963/0.1541, allocations: 1.662 MB / 0.5524 GB, free: 10.18 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003584/0.1544, allocations: 0.708 MB / 0.5531 GB, free: 9.449 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.745e-05/0.1545, allocations: 17.17 kB / 0.5531 GB, free: 9.434 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.8e-05/0.1546, allocations: 35.42 kB / 0.5531 GB, free: 9.398 MB / 414.1 MB Notification: Performance of SimCode: time 1.273e-06/0.1546, allocations: 0 / 0.5531 GB, free: 9.398 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02578/0.1804, allocations: 3.459 MB / 0.5565 GB, free: 5.977 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.916/8.096, allocations: 18.53 kB / 0.5565 GB, free: 5.961 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test45_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000499301 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test45.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test45/Test45.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.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.318823675159365]