Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.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.00127/0.00127, allocations: 116.8 kB / 18.5 MB, free: 4.559 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.001329/0.001329, allocations: 185.2 kB / 21.43 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.422/1.422, allocations: 225.6 MB / 249.8 MB, free: 3.734 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.2119/0.2119, allocations: 44.92 MB / 349.6 MB, free: 1.727 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.Test78,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test78",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test78,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test78",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001929/0.001929, allocations: 74.22 kB / 491.9 MB, free: 29.96 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1052/0.1071, allocations: 64.27 MB / 0.5431 GB, free: 3.992 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.003447/0.1106, allocations: 1.894 MB / 0.545 GB, free: 2.082 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001796/0.1124, allocations: 1.002 MB / 0.5459 GB, free: 1.074 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001026/0.1125, allocations: 7.938 kB / 0.5459 GB, free: 1.066 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004877/0.113, allocations: 251.4 kB / 0.5462 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004145/0.1134, allocations: 183.4 kB / 0.5464 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004751/0.1139, allocations: 179.5 kB / 0.5465 GB, free: 476 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003324/0.1142, allocations: 251.3 kB / 0.5468 GB, free: 224 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001167/0.1143, allocations: 33.88 kB / 0.5468 GB, free: 188 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001876/0.1145, allocations: 131.5 kB / 0.5469 GB, free: 56 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002682/0.1148, allocations: 195.5 kB / 0.5471 GB, free: 15.86 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.784e-05/0.1148, allocations: 8 kB / 0.5471 GB, free: 15.86 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000139/0.1149, allocations: 67.95 kB / 0.5472 GB, free: 15.79 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.156e-05/0.115, allocations: 67.7 kB / 0.5472 GB, free: 15.72 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001145/0.1151, allocations: 95.28 kB / 0.5473 GB, free: 15.63 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003599/0.1155, allocations: 234.9 kB / 0.5476 GB, free: 15.4 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.1155, allocations: 0 / 0.5476 GB, free: 15.4 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1155, allocations: 0 / 0.5476 GB, free: 15.4 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.1155, allocations: 0 / 0.5476 GB, free: 15.4 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008074/0.1163, allocations: 0.5833 MB / 0.5481 GB, free: 14.77 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.1164, allocations: 8.031 kB / 0.5481 GB, free: 14.76 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.756e-05/0.1164, allocations: 42.73 kB / 0.5482 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.932e-05/0.1165, allocations: 36.75 kB / 0.5482 GB, free: 14.67 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004488/0.1169, allocations: 292.2 kB / 0.5485 GB, free: 14.35 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.656e-05/0.1169, allocations: 12.36 kB / 0.5485 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.855e-05/0.117, allocations: 7.938 kB / 0.5485 GB, free: 14.33 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002431/0.1172, allocations: 110.2 kB / 0.5486 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.658e-05/0.1172, allocations: 4 kB / 0.5486 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.37e-05/0.1172, allocations: 4 kB / 0.5486 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.1172, allocations: 0 / 0.5486 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001362/0.1174, allocations: 51.91 kB / 0.5487 GB, free: 14.15 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006011/0.118, allocations: 480.8 kB / 0.5491 GB, free: 13.63 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003728/0.1183, allocations: 125.2 kB / 0.5493 GB, free: 13.49 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001012/0.1184, allocations: 41.81 kB / 0.5493 GB, free: 13.44 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.036e-05/0.1185, allocations: 7.938 kB / 0.5493 GB, free: 13.43 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002371/0.1187, allocations: 120.2 kB / 0.5494 GB, free: 13.3 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.312e-06/0.1187, allocations: 4 kB / 0.5494 GB, free: 13.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001304/0.12, allocations: 0.5014 MB / 0.5499 GB, free: 12.79 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.576e-05/0.1201, allocations: 81.11 kB / 0.55 GB, free: 12.69 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005169/0.1206, allocations: 485.6 kB / 0.5504 GB, free: 12.21 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.564e-05/0.1206, allocations: 29.7 kB / 0.5505 GB, free: 12.17 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001392/0.1207, allocations: 160.5 kB / 0.5506 GB, free: 12.01 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.903e-05/0.1208, allocations: 79.41 kB / 0.5507 GB, free: 11.93 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.916e-05/0.1209, allocations: 45.7 kB / 0.5507 GB, free: 11.88 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001587/0.1211, allocations: 346.7 kB / 0.5511 GB, free: 11.53 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001329/0.1212, allocations: 55.98 kB / 0.5511 GB, free: 11.48 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001614/0.1213, allocations: 103.2 kB / 0.5512 GB, free: 11.36 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002834/0.1216, allocations: 159.5 kB / 0.5514 GB, free: 11.2 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.1216, allocations: 0 / 0.5514 GB, free: 11.2 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004448/0.1221, allocations: 241.2 kB / 0.5516 GB, free: 10.95 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.1221, allocations: 4 kB / 0.5516 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.1221, allocations: 0 / 0.5516 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.1221, allocations: 4 kB / 0.5516 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001529/0.1223, allocations: 51.97 kB / 0.5517 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.1223, allocations: 0 / 0.5517 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.963e-05/0.1224, allocations: 11.98 kB / 0.5517 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.81e-05/0.1224, allocations: 12 kB / 0.5517 GB, free: 10.87 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.000179/0.1226, allocations: 169.8 kB / 0.5519 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.437e-05/0.1226, allocations: 35.7 kB / 0.5519 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.879e-05/0.1227, allocations: 42.81 kB / 0.5519 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.255e-06/0.1227, allocations: 4 kB / 0.5519 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.1227, allocations: 7.984 kB / 0.5519 GB, free: 10.6 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.1227, allocations: 4 kB / 0.5519 GB, free: 10.6 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001049/0.1238, allocations: 0.7311 MB / 0.5527 GB, free: 9.797 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.678e-06/0.1238, allocations: 7.922 kB / 0.5527 GB, free: 9.789 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.443e-05/0.1239, allocations: 28 kB / 0.5527 GB, free: 9.762 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.586e-06/0.1239, allocations: 4.125 kB / 0.5527 GB, free: 9.758 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.846e-05/0.1239, allocations: 11.98 kB / 0.5527 GB, free: 9.746 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.1239, allocations: 0 / 0.5527 GB, free: 9.746 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.705e-06/0.1239, allocations: 11.88 kB / 0.5527 GB, free: 9.734 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005045/0.1244, allocations: 428.9 kB / 0.5531 GB, free: 9.289 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.462e-05/0.1245, allocations: 100.9 kB / 0.5532 GB, free: 9.172 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.198e-05/0.1245, allocations: 8 kB / 0.5532 GB, free: 9.164 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001392/0.1247, allocations: 7.984 kB / 0.5532 GB, free: 9.156 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.104e-05/0.1247, allocations: 27.86 kB / 0.5533 GB, free: 9.129 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.486e-05/0.1248, allocations: 8 kB / 0.5533 GB, free: 9.121 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004303/0.1252, allocations: 367.1 kB / 0.5536 GB, free: 8.766 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1252, allocations: 0 / 0.5536 GB, free: 8.766 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003562/0.1256, allocations: 51.92 kB / 0.5537 GB, free: 8.715 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002596/0.1282, allocations: 1.367 MB / 0.555 GB, free: 7.539 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003884/0.1285, allocations: 147.8 kB / 0.5551 GB, free: 7.395 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.1285, allocations: 0 / 0.5551 GB, free: 7.395 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001633/0.1287, allocations: 80.22 kB / 0.5552 GB, free: 7.316 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005799/0.1293, allocations: 65.81 kB / 0.5553 GB, free: 7.254 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003661/0.133, allocations: 2.947 MB / 0.5582 GB, free: 4.188 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004344/0.1334, allocations: 0.7863 MB / 0.5589 GB, free: 3.379 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001104/0.1335, allocations: 37.92 kB / 0.559 GB, free: 3.344 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001455/0.1336, allocations: 99.39 kB / 0.5591 GB, free: 3.246 MB / 414.1 MB Notification: Performance of SimCode: time 6.11e-07/0.1336, allocations: 0 / 0.5591 GB, free: 3.246 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02847/0.1621, allocations: 6.529 MB / 0.5654 GB, free: 12.74 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.563/8.725, allocations: 20.08 kB / 0.5655 GB, free: 12.73 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test78_fmu --startTime=0 --stopTime=15 --stepSize=0.0029988 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test78.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.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.661796337924898]