Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001244/0.001244, allocations: 118.6 kB / 18.5 MB, free: 4.434 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00133/0.00133, allocations: 218.6 kB / 21.47 MB, free: 1.473 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.493/1.493, allocations: 230.2 MB / 254.5 MB, free: 15.4 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2233/0.2233, allocations: 46.9 MB / 357.4 MB, free: 10.49 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test56,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test56",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test56,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test56",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002264/0.002264, allocations: 83.14 kB / 0.4913 GB, free: 26.84 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1257/0.128, allocations: 65.98 MB / 0.5558 GB, free: 9.016 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.003105/0.1311, allocations: 1.732 MB / 0.5575 GB, free: 7.266 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002547/0.1337, allocations: 1.648 MB / 0.5591 GB, free: 5.609 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.362e-05/0.1337, allocations: 3.938 kB / 0.5591 GB, free: 5.605 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003233/0.1341, allocations: 39.77 kB / 0.5591 GB, free: 5.566 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003529/0.1344, allocations: 99.59 kB / 0.5592 GB, free: 5.469 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002028/0.1346, allocations: 75.69 kB / 0.5593 GB, free: 5.395 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001935/0.1348, allocations: 103.7 kB / 0.5594 GB, free: 5.293 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001154/0.1349, allocations: 24.2 kB / 0.5594 GB, free: 5.27 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001005/0.135, allocations: 43.8 kB / 0.5594 GB, free: 5.227 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001606/0.1352, allocations: 47.81 kB / 0.5595 GB, free: 5.18 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.795e-05/0.1352, allocations: 4 kB / 0.5595 GB, free: 5.176 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002007/0.1354, allocations: 107.9 kB / 0.5596 GB, free: 5.07 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.398e-05/0.1355, allocations: 19.92 kB / 0.5596 GB, free: 5.051 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.648e-05/0.1355, allocations: 35.78 kB / 0.5596 GB, free: 5.016 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003093/0.1358, allocations: 171.4 kB / 0.5598 GB, free: 4.848 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.1358, allocations: 0 / 0.5598 GB, free: 4.848 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1358, allocations: 0 / 0.5598 GB, free: 4.848 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.1358, allocations: 3.938 kB / 0.5598 GB, free: 4.844 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006233/0.1365, allocations: 437.5 kB / 0.5602 GB, free: 4.371 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.1365, allocations: 8.031 kB / 0.5602 GB, free: 4.363 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.061e-05/0.1366, allocations: 38.73 kB / 0.5603 GB, free: 4.316 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.403e-05/0.1366, allocations: 20.84 kB / 0.5603 GB, free: 4.297 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003057/0.1369, allocations: 204.8 kB / 0.5605 GB, free: 4.059 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.45e-05/0.1369, allocations: 4.375 kB / 0.5605 GB, free: 4.055 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.919e-05/0.1369, allocations: 3.938 kB / 0.5605 GB, free: 4.051 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001725/0.1371, allocations: 71.39 kB / 0.5606 GB, free: 3.969 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.1371, allocations: 0 / 0.5606 GB, free: 3.969 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-06/0.1371, allocations: 3.938 kB / 0.5606 GB, free: 3.965 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.1371, allocations: 7.938 kB / 0.5606 GB, free: 3.957 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.793e-05/0.1372, allocations: 23.97 kB / 0.5606 GB, free: 3.934 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000419/0.1376, allocations: 288.9 kB / 0.5609 GB, free: 3.602 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001793/0.1378, allocations: 58.67 kB / 0.5609 GB, free: 3.535 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.588e-05/0.1379, allocations: 24.73 kB / 0.561 GB, free: 3.508 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.174e-05/0.1379, allocations: 0 / 0.561 GB, free: 3.508 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001663/0.1381, allocations: 63.39 kB / 0.561 GB, free: 3.434 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.313e-06/0.1381, allocations: 4 kB / 0.561 GB, free: 3.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.000562/0.1386, allocations: 173.4 kB / 0.5612 GB, free: 3.254 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.036e-05/0.1387, allocations: 81.11 kB / 0.5613 GB, free: 3.156 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002023/0.1389, allocations: 162.4 kB / 0.5614 GB, free: 2.984 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.754e-05/0.1389, allocations: 29.7 kB / 0.5614 GB, free: 2.949 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.109e-05/0.139, allocations: 96.12 kB / 0.5615 GB, free: 2.852 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.633e-05/0.139, allocations: 27.75 kB / 0.5616 GB, free: 2.824 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.218e-05/0.1391, allocations: 25.7 kB / 0.5616 GB, free: 2.793 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001586/0.1393, allocations: 326.8 kB / 0.5619 GB, free: 2.465 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.298e-05/0.1393, allocations: 24 kB / 0.5619 GB, free: 2.441 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.479e-05/0.1394, allocations: 38.56 kB / 0.562 GB, free: 2.395 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001249/0.1395, allocations: 65.64 kB / 0.562 GB, free: 2.324 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.1395, allocations: 0 / 0.562 GB, free: 2.324 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001951/0.1397, allocations: 105.6 kB / 0.5621 GB, free: 2.215 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.1397, allocations: 8.062 kB / 0.5621 GB, free: 2.207 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.1397, allocations: 4 kB / 0.5621 GB, free: 2.203 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.1397, allocations: 0 / 0.5621 GB, free: 2.203 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.416e-05/0.1398, allocations: 16 kB / 0.5622 GB, free: 2.188 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.1398, allocations: 384 / 0.5622 GB, free: 2.188 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.86e-05/0.1399, allocations: 11.92 kB / 0.5622 GB, free: 2.176 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.808e-06/0.1399, allocations: 4 kB / 0.5622 GB, free: 2.172 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.0001327/0.14, allocations: 113.8 kB / 0.5623 GB, free: 2.051 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.398e-05/0.1401, allocations: 19.95 kB / 0.5623 GB, free: 2.031 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.819e-05/0.1401, allocations: 24.64 kB / 0.5623 GB, free: 2.008 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.1401, allocations: 0 / 0.5623 GB, free: 2.008 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.1401, allocations: 0 / 0.5623 GB, free: 2.008 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.1401, allocations: 3.938 kB / 0.5623 GB, free: 2.004 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000529/0.1407, allocations: 395.3 kB / 0.5627 GB, free: 1.559 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.1407, allocations: 7.938 kB / 0.5627 GB, free: 1.551 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.931e-05/0.1407, allocations: 4 kB / 0.5627 GB, free: 1.547 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.808e-06/0.1407, allocations: 7.938 kB / 0.5627 GB, free: 1.539 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/0.1407, allocations: 3.984 kB / 0.5627 GB, free: 1.535 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.1407, allocations: 4.031 kB / 0.5627 GB, free: 1.531 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.1407, allocations: 4.188 kB / 0.5627 GB, free: 1.527 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002569/0.141, allocations: 196.3 kB / 0.5629 GB, free: 1.316 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.353e-05/0.1411, allocations: 85 kB / 0.563 GB, free: 1.215 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.992e-05/0.1411, allocations: 7.938 kB / 0.563 GB, free: 1.207 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.838e-05/0.1412, allocations: 7.984 kB / 0.563 GB, free: 1.199 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.526e-05/0.1412, allocations: 11.94 kB / 0.563 GB, free: 1.188 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.477e-05/0.1412, allocations: 4 kB / 0.563 GB, free: 1.184 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001252/0.1413, allocations: 127.9 kB / 0.5632 GB, free: 1.059 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1413, allocations: 0 / 0.5632 GB, free: 1.059 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003095/0.1416, allocations: 47.86 kB / 0.5632 GB, free: 1.012 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.002545/0.1442, allocations: 1.186 MB / 0.5644 GB, free: 16 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002098/0.1444, allocations: 51.92 kB / 0.5644 GB, free: 15.95 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1444, allocations: 0 / 0.5644 GB, free: 15.95 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.039e-05/0.1445, allocations: 35.98 kB / 0.5644 GB, free: 15.91 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000342/0.1448, allocations: 22.64 kB / 0.5645 GB, free: 15.89 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001981/0.1468, allocations: 1.588 MB / 0.566 GB, free: 14.21 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003739/0.1472, allocations: 0.7051 MB / 0.5667 GB, free: 13.48 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.895e-05/0.1473, allocations: 17.17 kB / 0.5667 GB, free: 13.46 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.595e-05/0.1473, allocations: 43.41 kB / 0.5668 GB, free: 13.41 MB / 430.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1473, allocations: 0 / 0.5668 GB, free: 13.41 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02712/0.1744, allocations: 4.049 MB / 0.5707 GB, free: 9.387 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.064/8.238, allocations: 7.812 kB / 0.5707 GB, free: 9.383 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test56_fmu --startTime=0 --stopTime=100 --stepSize=0.0198452 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test56.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test56/Test56.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.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.265806199982762]