Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.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.001258/0.001258, allocations: 116.5 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.001395/0.001395, allocations: 216.9 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.52/1.52, allocations: 230.2 MB / 254.5 MB, free: 15.43 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.2394/0.2394, allocations: 46.9 MB / 357.4 MB, free: 10.52 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.Test59,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test59",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test59,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test59",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002221/0.002221, allocations: 86.61 kB / 0.4913 GB, free: 26.72 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1338/0.136, allocations: 65.98 MB / 0.5558 GB, free: 8.906 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.003534/0.1396, allocations: 1.723 MB / 0.5575 GB, free: 7.164 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002716/0.1423, allocations: 1.656 MB / 0.5591 GB, free: 5.5 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.118e-05/0.1424, allocations: 0 / 0.5591 GB, free: 5.5 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000259/0.1426, allocations: 35.77 kB / 0.5591 GB, free: 5.465 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003394/0.143, allocations: 103.5 kB / 0.5592 GB, free: 5.363 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002185/0.1432, allocations: 75.69 kB / 0.5593 GB, free: 5.289 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001763/0.1433, allocations: 107.6 kB / 0.5594 GB, free: 5.184 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.082e-05/0.1434, allocations: 20.27 kB / 0.5594 GB, free: 5.164 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.447e-05/0.1435, allocations: 43.78 kB / 0.5594 GB, free: 5.121 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001473/0.1437, allocations: 47.78 kB / 0.5595 GB, free: 5.074 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.138e-05/0.1437, allocations: 4 kB / 0.5595 GB, free: 5.07 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002101/0.1439, allocations: 107.9 kB / 0.5596 GB, free: 4.965 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.084e-05/0.144, allocations: 23.91 kB / 0.5596 GB, free: 4.941 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.245e-05/0.144, allocations: 35.73 kB / 0.5597 GB, free: 4.906 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003056/0.1443, allocations: 171.4 kB / 0.5598 GB, free: 4.738 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.1443, allocations: 0 / 0.5598 GB, free: 4.738 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1443, allocations: 3.938 kB / 0.5598 GB, free: 4.734 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.1443, allocations: 0 / 0.5598 GB, free: 4.734 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.000672/0.145, allocations: 433.5 kB / 0.5602 GB, free: 4.266 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.145, allocations: 8.031 kB / 0.5602 GB, free: 4.258 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.153e-05/0.1451, allocations: 42.73 kB / 0.5603 GB, free: 4.207 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.979e-05/0.1451, allocations: 12.84 kB / 0.5603 GB, free: 4.195 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003266/0.1455, allocations: 216.7 kB / 0.5605 GB, free: 3.945 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.1455, allocations: 384 / 0.5605 GB, free: 3.945 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.153e-05/0.1455, allocations: 7.938 kB / 0.5605 GB, free: 3.938 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001697/0.1457, allocations: 63.39 kB / 0.5606 GB, free: 3.863 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.1457, allocations: 4 kB / 0.5606 GB, free: 3.859 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.1457, allocations: 7.938 kB / 0.5606 GB, free: 3.852 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.1457, allocations: 0 / 0.5606 GB, free: 3.852 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001351/0.1458, allocations: 19.98 kB / 0.5606 GB, free: 3.832 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00044/0.1463, allocations: 292.8 kB / 0.5609 GB, free: 3.496 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000169/0.1464, allocations: 50.69 kB / 0.5609 GB, free: 3.438 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.688e-05/0.1465, allocations: 24.84 kB / 0.5609 GB, free: 3.41 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.564e-05/0.1465, allocations: 0 / 0.5609 GB, free: 3.41 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001561/0.1467, allocations: 71.33 kB / 0.561 GB, free: 3.328 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.1467, allocations: 0 / 0.561 GB, free: 3.328 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005213/0.1472, allocations: 169.5 kB / 0.5612 GB, free: 3.156 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.949e-05/0.1473, allocations: 81.05 kB / 0.5613 GB, free: 3.059 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001784/0.1474, allocations: 166.4 kB / 0.5614 GB, free: 2.883 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.562e-05/0.1475, allocations: 33.7 kB / 0.5614 GB, free: 2.844 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.073e-05/0.1475, allocations: 96.12 kB / 0.5615 GB, free: 2.746 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.119e-05/0.1475, allocations: 27.75 kB / 0.5616 GB, free: 2.719 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.685e-05/0.1476, allocations: 25.7 kB / 0.5616 GB, free: 2.688 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001416/0.1477, allocations: 322.8 kB / 0.5619 GB, free: 2.363 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.062e-05/0.1478, allocations: 20 kB / 0.5619 GB, free: 2.344 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.89e-05/0.1479, allocations: 54.48 kB / 0.562 GB, free: 2.281 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001183/0.148, allocations: 65.7 kB / 0.562 GB, free: 2.211 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.148, allocations: 0 / 0.562 GB, free: 2.211 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002021/0.1482, allocations: 97.62 kB / 0.5621 GB, free: 2.109 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.456e-05/0.1482, allocations: 8 kB / 0.5621 GB, free: 2.102 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.1482, allocations: 0 / 0.5621 GB, free: 2.102 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.1482, allocations: 0 / 0.5621 GB, free: 2.102 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.51e-05/0.1483, allocations: 20 kB / 0.5622 GB, free: 2.082 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.1483, allocations: 4 kB / 0.5622 GB, free: 2.078 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.449e-05/0.1484, allocations: 7.922 kB / 0.5622 GB, free: 2.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.686e-06/0.1484, allocations: 4 kB / 0.5622 GB, free: 2.066 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.0001567/0.1485, allocations: 127 kB / 0.5623 GB, free: 1.934 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.541e-05/0.1486, allocations: 7.953 kB / 0.5623 GB, free: 1.926 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.046e-05/0.1486, allocations: 16.7 kB / 0.5623 GB, free: 1.91 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.1486, allocations: 0 / 0.5623 GB, free: 1.91 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.1486, allocations: 0 / 0.5623 GB, free: 1.91 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.1486, allocations: 7.938 kB / 0.5623 GB, free: 1.902 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000526/0.1492, allocations: 403.2 kB / 0.5627 GB, free: 1.449 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1492, allocations: 0 / 0.5627 GB, free: 1.449 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.161e-05/0.1492, allocations: 8 kB / 0.5627 GB, free: 1.441 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.1492, allocations: 3.938 kB / 0.5627 GB, free: 1.438 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.1492, allocations: 384 / 0.5627 GB, free: 1.438 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.139e-06/0.1492, allocations: 7.984 kB / 0.5627 GB, free: 1.43 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.1492, allocations: 7.938 kB / 0.5627 GB, free: 1.422 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002435/0.1494, allocations: 200.4 kB / 0.5629 GB, free: 1.207 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.724e-05/0.1495, allocations: 81.06 kB / 0.563 GB, free: 1.109 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.722e-05/0.1495, allocations: 11.94 kB / 0.563 GB, free: 1.098 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.941e-05/0.1496, allocations: 7.984 kB / 0.563 GB, free: 1.09 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.357e-05/0.1496, allocations: 0 / 0.563 GB, free: 1.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.411e-05/0.1497, allocations: 4 kB / 0.563 GB, free: 1.086 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001223/0.1498, allocations: 135.9 kB / 0.5632 GB, free: 0.9531 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1498, allocations: 0 / 0.5632 GB, free: 0.9531 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002969/0.1501, allocations: 47.86 kB / 0.5632 GB, free: 0.9062 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.002361/0.1524, allocations: 1.186 MB / 0.5644 GB, free: 15.89 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001874/0.1526, allocations: 55.91 kB / 0.5644 GB, free: 15.84 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1526, allocations: 0 / 0.5644 GB, free: 15.84 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.619e-05/0.1527, allocations: 27.98 kB / 0.5644 GB, free: 15.81 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003474/0.153, allocations: 24.11 kB / 0.5645 GB, free: 15.79 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001805/0.1548, allocations: 1.593 MB / 0.566 GB, free: 14.1 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003646/0.1552, allocations: 0.7012 MB / 0.5667 GB, free: 13.38 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.161e-05/0.1553, allocations: 28.8 kB / 0.5667 GB, free: 13.34 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.218e-05/0.1554, allocations: 39.41 kB / 0.5668 GB, free: 13.3 MB / 430.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1554, allocations: 0 / 0.5668 GB, free: 13.3 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02836/0.1837, allocations: 4.052 MB / 0.5707 GB, free: 9.277 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.176/8.36, allocations: 7.938 kB / 0.5707 GB, free: 9.27 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test59_fmu --startTime=0 --stopTime=100 --stepSize=0.0198452 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test59.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test59/Test59.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.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.479702692013234]