Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.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.0013/0.0013, allocations: 118.1 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.00148/0.00148, allocations: 189.2 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.399/1.399, allocations: 225.6 MB / 249.8 MB, free: 3.625 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.2421/0.2421, allocations: 44.91 MB / 349.6 MB, free: 1.742 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.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001808/0.001808, allocations: 70.27 kB / 491.9 MB, free: 29.81 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1257/0.1275, allocations: 64.26 MB / 0.5431 GB, free: 4.047 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.003921/0.1314, allocations: 1.713 MB / 0.5448 GB, free: 2.32 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00164/0.133, allocations: 0.9001 MB / 0.5456 GB, free: 1.414 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.616e-05/0.1331, allocations: 0 / 0.5456 GB, free: 1.414 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003102/0.1334, allocations: 31.83 kB / 0.5457 GB, free: 1.383 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002268/0.1336, allocations: 59.69 kB / 0.5457 GB, free: 1.324 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003002/0.1339, allocations: 103.6 kB / 0.5458 GB, free: 1.223 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002052/0.1341, allocations: 99.69 kB / 0.5459 GB, free: 1.125 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.357e-05/0.1342, allocations: 8.5 kB / 0.5459 GB, free: 1.113 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.324e-05/0.1343, allocations: 43.78 kB / 0.546 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.316e-05/0.1344, allocations: 27.86 kB / 0.546 GB, free: 1.043 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.712e-05/0.1344, allocations: 4 kB / 0.546 GB, free: 1.039 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.893e-05/0.1345, allocations: 51.97 kB / 0.546 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.514e-05/0.1346, allocations: 19.92 kB / 0.5461 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.872e-05/0.1346, allocations: 27.81 kB / 0.5461 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002142/0.1349, allocations: 115.4 kB / 0.5462 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.1349, allocations: 0 / 0.5462 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1349, allocations: 0 / 0.5462 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.069e-05/0.1349, 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.0006146/0.1355, allocations: 402.8 kB / 0.5466 GB, free: 396 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.1355, allocations: 8.031 kB / 0.5466 GB, free: 388 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.242e-05/0.1356, allocations: 42.73 kB / 0.5466 GB, free: 336 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.05e-05/0.1356, allocations: 8.891 kB / 0.5466 GB, free: 328 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000334/0.136, allocations: 208.5 kB / 0.5468 GB, free: 80 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.327e-05/0.136, allocations: 0 / 0.5468 GB, free: 80 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.685e-05/0.136, allocations: 11.98 kB / 0.5469 GB, free: 68 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001541/0.1362, allocations: 53.61 kB / 0.5469 GB, free: 8 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.1362, allocations: 0 / 0.5469 GB, free: 8 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.939e-05/0.1362, allocations: 4 kB / 0.5469 GB, free: 4 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.1362, allocations: 0 / 0.5469 GB, free: 4 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001052/0.1363, allocations: 23.98 kB / 0.5469 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004044/0.1367, allocations: 280.9 kB / 0.5472 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001747/0.1369, allocations: 50.62 kB / 0.5472 GB, free: 15.6 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.009e-05/0.1369, allocations: 20.84 kB / 0.5473 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.376e-05/0.137, allocations: 0 / 0.5473 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001773/0.1371, allocations: 83.28 kB / 0.5473 GB, free: 15.48 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.462e-06/0.1371, allocations: 0 / 0.5473 GB, free: 15.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005772/0.1377, allocations: 169.4 kB / 0.5475 GB, free: 15.31 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.358e-05/0.1378, allocations: 55.34 kB / 0.5476 GB, free: 15.24 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001958/0.138, allocations: 163.9 kB / 0.5477 GB, free: 15.07 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.899e-05/0.138, allocations: 25.7 kB / 0.5477 GB, free: 15.04 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.606e-05/0.138, allocations: 104.1 kB / 0.5478 GB, free: 14.93 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.971e-05/0.1381, allocations: 31.77 kB / 0.5479 GB, free: 14.9 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.981e-05/0.1381, allocations: 17.72 kB / 0.5479 GB, free: 14.88 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001646/0.1383, allocations: 322.8 kB / 0.5482 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.087e-05/0.1383, allocations: 23.98 kB / 0.5482 GB, free: 14.53 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.356e-05/0.1384, allocations: 37.64 kB / 0.5483 GB, free: 14.49 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001229/0.1385, allocations: 65.7 kB / 0.5483 GB, free: 14.42 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.1385, allocations: 0 / 0.5483 GB, free: 14.42 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001915/0.1387, allocations: 93.58 kB / 0.5484 GB, free: 14.32 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.1387, allocations: 4 kB / 0.5484 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.1388, allocations: 11.88 kB / 0.5484 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.1388, allocations: 0 / 0.5484 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.32e-05/0.1389, allocations: 15.98 kB / 0.5484 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.1389, allocations: 0 / 0.5484 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.636e-05/0.1389, allocations: 8 kB / 0.5484 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.285e-06/0.1389, allocations: 8.031 kB / 0.5485 GB, free: 14.27 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.0001066/0.139, allocations: 125.8 kB / 0.5486 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.22e-05/0.1391, allocations: 11.95 kB / 0.5486 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.705e-05/0.1391, allocations: 16.66 kB / 0.5486 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.1391, allocations: 0 / 0.5486 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.1391, allocations: 0 / 0.5486 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.1391, allocations: 0 / 0.5486 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004961/0.1396, allocations: 399.2 kB / 0.549 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.1396, allocations: 0 / 0.549 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.405e-05/0.1397, allocations: 11.98 kB / 0.549 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.1397, allocations: 0 / 0.549 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.415e-05/0.1397, allocations: 4 kB / 0.549 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.1397, allocations: 384 / 0.549 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.1397, allocations: 0 / 0.549 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002537/0.1399, allocations: 208.2 kB / 0.5492 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.497e-05/0.14, allocations: 85.25 kB / 0.5493 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.54e-05/0.14, allocations: 7.984 kB / 0.5493 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.076e-05/0.1401, allocations: 11.94 kB / 0.5493 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.497e-05/0.1401, allocations: 4 kB / 0.5493 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.637e-05/0.1401, allocations: 3.984 kB / 0.5493 GB, free: 13.29 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001155/0.1403, allocations: 127.6 kB / 0.5494 GB, free: 13.17 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1403, allocations: 0 / 0.5494 GB, free: 13.17 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002559/0.1405, allocations: 20 kB / 0.5494 GB, free: 13.15 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.002153/0.1427, allocations: 1.102 MB / 0.5505 GB, free: 12.22 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001902/0.1429, allocations: 55.97 kB / 0.5506 GB, free: 12.16 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.1429, allocations: 0 / 0.5506 GB, free: 12.16 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.152e-05/0.1429, allocations: 27.92 kB / 0.5506 GB, free: 12.14 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003451/0.1433, allocations: 25.88 kB / 0.5506 GB, free: 12.12 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001873/0.1451, allocations: 1.574 MB / 0.5522 GB, free: 10.45 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003794/0.1455, allocations: 0.7002 MB / 0.5528 GB, free: 9.719 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.253e-05/0.1456, allocations: 17.17 kB / 0.5529 GB, free: 9.703 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.157e-05/0.1457, allocations: 35.42 kB / 0.5529 GB, free: 9.668 MB / 414.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1457, allocations: 192 / 0.5529 GB, free: 9.668 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02564/0.1713, allocations: 3.281 MB / 0.5561 GB, free: 6.41 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.935/8.106, allocations: 5.172 kB / 0.5561 GB, free: 6.406 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test2_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test2.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.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.065168411005288]