Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.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.001712/0.001712, allocations: 119 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.001901/0.001901, allocations: 194.9 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.518/1.518, 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.2266/0.2266, allocations: 44.91 MB / 349.6 MB, free: 1.77 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.Test75,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test75",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test75,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test75",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001902/0.001902, allocations: 67.45 kB / 491.9 MB, free: 29.79 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.1207, allocations: 64.26 MB / 0.5431 GB, free: 4.051 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.003654/0.1243, allocations: 1.898 MB / 0.545 GB, free: 2.137 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001927/0.1263, allocations: 1.001 MB / 0.5459 GB, free: 1.129 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001249/0.1264, allocations: 0 / 0.5459 GB, free: 1.129 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005137/0.1269, allocations: 227.4 kB / 0.5461 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003701/0.1273, allocations: 167.4 kB / 0.5463 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005046/0.1278, allocations: 174.8 kB / 0.5465 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003517/0.1281, allocations: 239.3 kB / 0.5467 GB, free: 348 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.1282, allocations: 33.89 kB / 0.5467 GB, free: 312 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001673/0.1284, allocations: 115.6 kB / 0.5468 GB, free: 196 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002092/0.1286, allocations: 171.4 kB / 0.547 GB, free: 24 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.72e-05/0.1286, allocations: 8 kB / 0.547 GB, free: 16 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001474/0.1288, allocations: 59.98 kB / 0.5471 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.513e-05/0.1289, allocations: 55.77 kB / 0.5471 GB, free: 15.9 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.734e-05/0.129, allocations: 91.28 kB / 0.5472 GB, free: 15.81 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000349/0.1293, allocations: 234.9 kB / 0.5474 GB, free: 15.58 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1293, allocations: 0 / 0.5474 GB, free: 15.58 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1293, allocations: 0 / 0.5474 GB, free: 15.58 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.168e-05/0.1293, allocations: 4 kB / 0.5474 GB, free: 15.58 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.0008196/0.1302, allocations: 0.56 MB / 0.548 GB, free: 14.97 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.1302, allocations: 8.031 kB / 0.548 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.111e-05/0.1303, allocations: 42.73 kB / 0.548 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.521e-05/0.1303, allocations: 32.69 kB / 0.5481 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004247/0.1307, allocations: 276.4 kB / 0.5483 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.556e-05/0.1308, allocations: 8.375 kB / 0.5483 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.224e-05/0.1308, allocations: 11.94 kB / 0.5483 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002454/0.131, allocations: 113.7 kB / 0.5485 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.116e-05/0.1311, allocations: 7.953 kB / 0.5485 GB, free: 14.42 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.76e-05/0.1311, allocations: 4 kB / 0.5485 GB, free: 14.42 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.1311, allocations: 0 / 0.5485 GB, free: 14.42 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001495/0.1312, allocations: 47.95 kB / 0.5485 GB, free: 14.37 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006228/0.1319, allocations: 480.7 kB / 0.549 GB, free: 13.85 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003791/0.1322, allocations: 113.2 kB / 0.5491 GB, free: 13.72 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001031/0.1323, allocations: 41.81 kB / 0.5491 GB, free: 13.67 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.308e-05/0.1324, allocations: 11.94 kB / 0.5491 GB, free: 13.66 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002509/0.1326, allocations: 117.2 kB / 0.5492 GB, free: 13.53 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.313e-06/0.1326, allocations: 0 / 0.5492 GB, free: 13.53 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001312/0.1339, allocations: 0.5046 MB / 0.5497 GB, free: 13.02 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.745e-05/0.134, allocations: 81.11 kB / 0.5498 GB, free: 12.92 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004455/0.1344, allocations: 428.4 kB / 0.5502 GB, free: 12.49 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.2e-05/0.1345, allocations: 33.7 kB / 0.5503 GB, free: 12.45 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001271/0.1346, allocations: 152.5 kB / 0.5504 GB, free: 12.29 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.615e-05/0.1347, allocations: 67.42 kB / 0.5505 GB, free: 12.23 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.656e-05/0.1347, allocations: 41.7 kB / 0.5505 GB, free: 12.18 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001658/0.1349, allocations: 354.7 kB / 0.5508 GB, free: 11.82 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001441/0.135, allocations: 55.98 kB / 0.5509 GB, free: 11.77 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001497/0.1352, allocations: 99.27 kB / 0.551 GB, free: 11.66 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002705/0.1355, allocations: 155.5 kB / 0.5511 GB, free: 11.5 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.1355, allocations: 8 kB / 0.5511 GB, free: 11.49 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004017/0.1359, allocations: 241.2 kB / 0.5514 GB, free: 11.25 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.1359, allocations: 4 kB / 0.5514 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.1359, allocations: 3.984 kB / 0.5514 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.1359, allocations: 4 kB / 0.5514 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001425/0.1361, allocations: 43.92 kB / 0.5514 GB, free: 11.19 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.1361, allocations: 0 / 0.5514 GB, free: 11.19 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.063e-05/0.1361, allocations: 11.98 kB / 0.5514 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.639e-05/0.1362, allocations: 8.062 kB / 0.5514 GB, free: 11.17 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.0001622/0.1363, allocations: 169.8 kB / 0.5516 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.551e-05/0.1364, allocations: 31.75 kB / 0.5516 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.905e-05/0.1364, allocations: 38.62 kB / 0.5517 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.1365, allocations: 4 kB / 0.5517 GB, free: 10.92 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.1365, allocations: 3.938 kB / 0.5517 GB, free: 10.92 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.1365, allocations: 0 / 0.5517 GB, free: 10.92 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009331/0.1374, allocations: 0.7311 MB / 0.5524 GB, free: 10.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.1374, allocations: 3.938 kB / 0.5524 GB, free: 10.11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.757e-05/0.1375, allocations: 35.92 kB / 0.5524 GB, free: 10.08 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.1375, allocations: 4 kB / 0.5524 GB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.489e-05/0.1375, allocations: 4 kB / 0.5524 GB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.1375, allocations: 0 / 0.5524 GB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.101e-06/0.1375, allocations: 7.938 kB / 0.5525 GB, free: 10.06 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004736/0.138, allocations: 423.5 kB / 0.5529 GB, free: 9.621 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.999e-05/0.1381, allocations: 104.9 kB / 0.553 GB, free: 9.5 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.777e-05/0.1381, allocations: 8 kB / 0.553 GB, free: 9.492 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001388/0.1382, allocations: 11.98 kB / 0.553 GB, free: 9.48 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.679e-05/0.1383, allocations: 23.92 kB / 0.553 GB, free: 9.457 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.809e-05/0.1383, allocations: 15.98 kB / 0.553 GB, free: 9.441 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003221/0.1387, allocations: 315 kB / 0.5533 GB, free: 9.133 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1387, allocations: 0 / 0.5533 GB, free: 9.133 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003681/0.139, allocations: 51.92 kB / 0.5534 GB, free: 9.082 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.00257/0.1416, allocations: 1.376 MB / 0.5547 GB, free: 7.898 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003672/0.142, allocations: 153.2 kB / 0.5549 GB, free: 7.75 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.142, allocations: 0 / 0.5549 GB, free: 7.75 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000152/0.1421, allocations: 71.97 kB / 0.5549 GB, free: 7.68 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000569/0.1427, allocations: 57.48 kB / 0.555 GB, free: 7.625 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003599/0.1463, allocations: 2.831 MB / 0.5577 GB, free: 4.668 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004244/0.1467, allocations: 0.7713 MB / 0.5585 GB, free: 3.871 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001157/0.1468, allocations: 41.92 kB / 0.5585 GB, free: 3.832 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001385/0.147, allocations: 95.39 kB / 0.5586 GB, free: 3.738 MB / 414.1 MB Notification: Performance of SimCode: time 5.71e-07/0.147, allocations: 0 / 0.5586 GB, free: 3.738 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02963/0.1766, allocations: 6.305 MB / 0.5648 GB, free: 13.46 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.339/8.516, allocations: 24.17 kB / 0.5648 GB, free: 13.45 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test75_fmu --startTime=7.99 --stopTime=20 --stepSize=0.00240104 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test75.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.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.777615240309387]