Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001659/0.001659, allocations: 120.1 kB / 18.49 MB, free: 4.562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00185/0.00185, allocations: 215 kB / 21.45 MB, free: 1.617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.53/1.53, allocations: 230.6 MB / 254.8 MB, free: 15.24 MB / 206.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.2151/0.2151, allocations: 44.9 MB / 355.8 MB, free: 12.35 MB / 286.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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test74,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test74",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test74,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test74",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002393/0.002393, allocations: 77.45 kB / 0.4887 GB, free: 11.6 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1258, allocations: 65.41 MB / 0.5525 GB, free: 10.05 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.003355/0.1291, allocations: 1.941 MB / 0.5544 GB, free: 8.098 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001902/0.131, allocations: 1.134 MB / 0.5555 GB, free: 6.957 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.018e-05/0.1311, allocations: 7.938 kB / 0.5555 GB, free: 6.949 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004393/0.1315, allocations: 255.3 kB / 0.5558 GB, free: 6.699 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004785/0.132, allocations: 239.1 kB / 0.556 GB, free: 6.465 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002556/0.1323, allocations: 111.7 kB / 0.5561 GB, free: 6.355 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003363/0.1326, allocations: 271.3 kB / 0.5564 GB, free: 6.09 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.1327, allocations: 25.83 kB / 0.5564 GB, free: 6.062 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000182/0.1329, allocations: 143.5 kB / 0.5565 GB, free: 5.922 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002479/0.1331, allocations: 207.4 kB / 0.5567 GB, free: 5.719 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.372e-05/0.1332, allocations: 8 kB / 0.5567 GB, free: 5.711 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000123/0.1333, allocations: 63.97 kB / 0.5568 GB, free: 5.648 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.277e-05/0.1334, allocations: 71.69 kB / 0.5569 GB, free: 5.578 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001007/0.1335, allocations: 95.17 kB / 0.557 GB, free: 5.484 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003346/0.1338, allocations: 250.8 kB / 0.5572 GB, free: 5.238 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.1338, allocations: 0 / 0.5572 GB, free: 5.238 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.096e-06/0.1338, allocations: 4 kB / 0.5572 GB, free: 5.234 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.1338, allocations: 4 kB / 0.5572 GB, free: 5.23 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.0007768/0.1346, allocations: 0.5949 MB / 0.5578 GB, free: 4.586 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.303e-05/0.1346, allocations: 12.03 kB / 0.5578 GB, free: 4.574 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.417e-05/0.1347, allocations: 192 / 0.5578 GB, free: 4.574 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.779e-05/0.1347, allocations: 42.69 kB / 0.5578 GB, free: 4.523 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.728e-05/0.1348, allocations: 32.73 kB / 0.5579 GB, free: 4.492 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00039/0.1351, allocations: 298.6 kB / 0.5582 GB, free: 4.164 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.695e-05/0.1352, allocations: 12.12 kB / 0.5582 GB, free: 4.152 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.627e-05/0.1352, allocations: 12 kB / 0.5582 GB, free: 4.141 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002384/0.1354, allocations: 111.3 kB / 0.5583 GB, free: 4.02 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.1354, allocations: 0 / 0.5583 GB, free: 4.02 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.1354, allocations: 0 / 0.5583 GB, free: 4.02 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.673e-06/0.1355, allocations: 4 kB / 0.5583 GB, free: 4.016 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001376/0.1356, allocations: 43.97 kB / 0.5583 GB, free: 3.973 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006138/0.1362, allocations: 484.8 kB / 0.5588 GB, free: 3.445 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003783/0.1366, allocations: 117.2 kB / 0.5589 GB, free: 3.312 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001034/0.1367, allocations: 45.83 kB / 0.559 GB, free: 3.262 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.428e-05/0.1367, allocations: 0 / 0.559 GB, free: 3.262 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002524/0.137, allocations: 129 kB / 0.5591 GB, free: 3.117 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.303e-06/0.137, allocations: 0 / 0.5591 GB, free: 3.117 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001326/0.1383, allocations: 0.5169 MB / 0.5596 GB, free: 2.594 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.252e-05/0.1384, allocations: 81.11 kB / 0.5597 GB, free: 2.496 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005348/0.1389, allocations: 0.4899 MB / 0.5601 GB, free: 1.992 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.763e-05/0.1389, allocations: 33.7 kB / 0.5602 GB, free: 1.953 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001371/0.1391, allocations: 172.4 kB / 0.5603 GB, free: 1.777 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.971e-05/0.1391, allocations: 71.42 kB / 0.5604 GB, free: 1.707 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.546e-05/0.1392, allocations: 41.7 kB / 0.5604 GB, free: 1.66 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001805/0.1394, allocations: 354.8 kB / 0.5608 GB, free: 1.305 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001238/0.1395, allocations: 55.97 kB / 0.5608 GB, free: 1.25 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001658/0.1397, allocations: 89.53 kB / 0.5609 GB, free: 1.152 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002706/0.1399, allocations: 167.3 kB / 0.5611 GB, free: 0.9766 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.1399, allocations: 0 / 0.5611 GB, free: 0.9766 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004121/0.1404, allocations: 249.4 kB / 0.5613 GB, free: 0.7266 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.1404, allocations: 4 kB / 0.5613 GB, free: 0.7227 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.107e-06/0.1404, allocations: 0 / 0.5613 GB, free: 0.7227 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.1404, allocations: 4 kB / 0.5613 GB, free: 0.7188 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001476/0.1405, allocations: 39.97 kB / 0.5614 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/0.1405, allocations: 7.938 kB / 0.5614 GB, free: 0.6719 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.843e-05/0.1406, allocations: 8.062 kB / 0.5614 GB, free: 0.6641 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.561e-05/0.1406, allocations: 12 kB / 0.5614 GB, free: 0.6523 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.000166/0.1408, allocations: 181.7 kB / 0.5616 GB, free: 476 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.227e-05/0.1409, allocations: 39.7 kB / 0.5616 GB, free: 436 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.601e-05/0.1409, allocations: 38.89 kB / 0.5616 GB, free: 396 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.1409, allocations: 4 kB / 0.5616 GB, free: 392 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.1409, allocations: 0 / 0.5616 GB, free: 392 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.1409, allocations: 0 / 0.5616 GB, free: 392 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009919/0.1419, allocations: 0.7428 MB / 0.5624 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.1419, allocations: 4 kB / 0.5624 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.802e-05/0.142, allocations: 31.92 kB / 0.5624 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.122e-06/0.142, allocations: 4 kB / 0.5624 GB, free: 15.53 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.837e-05/0.1421, allocations: 8 kB / 0.5624 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/0.1421, allocations: 4 kB / 0.5624 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.277e-06/0.1421, allocations: 8.062 kB / 0.5624 GB, free: 15.51 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005271/0.1426, allocations: 429.2 kB / 0.5628 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.697e-05/0.1427, allocations: 112.8 kB / 0.5629 GB, free: 14.94 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.794e-05/0.1427, allocations: 8 kB / 0.5629 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001409/0.1429, allocations: 15.98 kB / 0.563 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.195e-05/0.1429, allocations: 15.92 kB / 0.563 GB, free: 14.9 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.821e-05/0.1429, allocations: 15.98 kB / 0.563 GB, free: 14.88 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003832/0.1433, allocations: 375.1 kB / 0.5634 GB, free: 14.52 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1433, allocations: 0 / 0.5634 GB, free: 14.52 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003581/0.1437, allocations: 43.94 kB / 0.5634 GB, free: 14.48 MB / 430.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.002616/0.1463, allocations: 1.375 MB / 0.5647 GB, free: 13.28 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003445/0.1466, allocations: 151.7 kB / 0.5649 GB, free: 13.13 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1466, allocations: 0 / 0.5649 GB, free: 13.13 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000155/0.1468, allocations: 75.84 kB / 0.565 GB, free: 13.06 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005374/0.1473, allocations: 66.94 kB / 0.565 GB, free: 13 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003635/0.151, allocations: 3.012 MB / 0.568 GB, free: 9.863 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004576/0.1514, allocations: 0.7831 MB / 0.5687 GB, free: 9.055 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000107/0.1515, allocations: 41.92 kB / 0.5688 GB, free: 9.016 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001627/0.1517, allocations: 107.3 kB / 0.5689 GB, free: 8.91 MB / 430.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1517, allocations: 0 / 0.5689 GB, free: 8.91 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02246/0.1742, allocations: 6.735 MB / 0.5754 GB, free: 2.242 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.915/9.089, allocations: 4 kB / 0.5754 GB, free: 2.238 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test74_fmu --startTime=0 --stopTime=15 --stepSize=0.0029988 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test74.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.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: 12.320722193981055]