Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.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.001443/0.001443, allocations: 120.1 kB / 18.5 MB, free: 4.535 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.001975/0.001975, allocations: 222.3 kB / 21.46 MB, free: 1.582 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.453/1.453, allocations: 230.4 MB / 254.7 MB, free: 15.01 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.2249/0.2249, allocations: 46.92 MB / 357.7 MB, free: 10.25 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.Test13,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test13",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test13,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test13",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002332/0.002332, allocations: 80.16 kB / 0.4917 GB, free: 7.668 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1292/0.1315, allocations: 66.05 MB / 0.5562 GB, free: 5.488 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.004361/0.1359, allocations: 1.942 MB / 0.5581 GB, free: 3.527 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002191/0.1381, allocations: 1.067 MB / 0.5592 GB, free: 2.453 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001378/0.1382, allocations: 4 kB / 0.5592 GB, free: 2.449 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000347/0.1386, allocations: 47.64 kB / 0.5592 GB, free: 2.402 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004161/0.139, allocations: 99.53 kB / 0.5593 GB, free: 2.305 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002794/0.1393, allocations: 99.64 kB / 0.5594 GB, free: 2.207 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002694/0.1395, allocations: 147.5 kB / 0.5595 GB, free: 2.062 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001262/0.1396, allocations: 25.53 kB / 0.5596 GB, free: 2.035 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001285/0.1398, allocations: 59.72 kB / 0.5596 GB, free: 1.977 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001359/0.1399, allocations: 47.72 kB / 0.5597 GB, free: 1.93 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.145e-05/0.1399, allocations: 4 kB / 0.5597 GB, free: 1.926 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001266/0.1401, allocations: 51.97 kB / 0.5597 GB, free: 1.875 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.733e-05/0.1401, allocations: 27.86 kB / 0.5597 GB, free: 1.848 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.186e-05/0.1402, allocations: 55.61 kB / 0.5598 GB, free: 1.793 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003246/0.1405, allocations: 155.3 kB / 0.5599 GB, free: 1.641 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.1405, allocations: 4 kB / 0.5599 GB, free: 1.637 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.1405, allocations: 0 / 0.5599 GB, free: 1.637 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.152e-06/0.1405, allocations: 0 / 0.5599 GB, free: 1.637 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007904/0.1413, allocations: 492.1 kB / 0.5604 GB, free: 1.102 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/0.1414, allocations: 12.02 kB / 0.5604 GB, free: 1.09 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.779e-05/0.1414, allocations: 4.172 kB / 0.5604 GB, free: 1.086 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.547e-05/0.1414, allocations: 42.69 kB / 0.5605 GB, free: 1.035 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.118e-05/0.1415, allocations: 16.84 kB / 0.5605 GB, free: 1.02 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004115/0.1419, allocations: 237.5 kB / 0.5607 GB, free: 0.7461 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.624e-05/0.1419, allocations: 4.312 kB / 0.5607 GB, free: 0.7422 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.613e-05/0.142, allocations: 8.375 kB / 0.5607 GB, free: 0.7344 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002787/0.1422, allocations: 114.2 kB / 0.5608 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.1422, allocations: 0 / 0.5608 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.687e-05/0.1423, allocations: 4 kB / 0.5608 GB, free: 0.6055 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.433e-06/0.1423, allocations: 8 kB / 0.5608 GB, free: 0.5977 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001639/0.1424, allocations: 39.97 kB / 0.5609 GB, free: 0.5586 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006749/0.1431, allocations: 0.5049 MB / 0.5614 GB, free: 16 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003632/0.1435, allocations: 90.59 kB / 0.5615 GB, free: 15.9 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001031/0.1436, allocations: 32.84 kB / 0.5615 GB, free: 15.86 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.545e-05/0.1436, allocations: 3.984 kB / 0.5615 GB, free: 15.86 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002093/0.1438, allocations: 83.38 kB / 0.5616 GB, free: 15.77 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.643e-06/0.1438, allocations: 4 kB / 0.5616 GB, free: 15.76 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.000434/0.1442, allocations: 145.4 kB / 0.5617 GB, free: 15.61 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.491e-05/0.1443, allocations: 59.34 kB / 0.5618 GB, free: 15.54 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002186/0.1445, allocations: 206.2 kB / 0.562 GB, free: 15.33 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.168e-05/0.1445, allocations: 25.7 kB / 0.562 GB, free: 15.3 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.356e-05/0.1446, allocations: 116.1 kB / 0.5621 GB, free: 15.18 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.105e-05/0.1447, allocations: 31.73 kB / 0.5621 GB, free: 15.15 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.364e-05/0.1447, allocations: 33.66 kB / 0.5622 GB, free: 15.11 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001509/0.1449, allocations: 326.8 kB / 0.5625 GB, free: 14.79 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.553e-05/0.145, allocations: 27.97 kB / 0.5625 GB, free: 14.76 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000125/0.1451, allocations: 71.03 kB / 0.5626 GB, free: 14.68 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002018/0.1453, allocations: 100.2 kB / 0.5627 GB, free: 14.56 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.1453, allocations: 0 / 0.5627 GB, free: 14.56 MB / 430.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003031/0.1456, allocations: 137.4 kB / 0.5628 GB, free: 14.42 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.1456, allocations: 8.125 kB / 0.5628 GB, free: 14.41 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.1456, allocations: 4 kB / 0.5628 GB, free: 14.41 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.1456, allocations: 0 / 0.5628 GB, free: 14.41 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001013/0.1457, allocations: 27.92 kB / 0.5628 GB, free: 14.38 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.1457, allocations: 4.406 kB / 0.5629 GB, free: 14.38 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.437e-05/0.1458, allocations: 11.95 kB / 0.5629 GB, free: 14.37 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.186e-05/0.1458, allocations: 7.984 kB / 0.5629 GB, free: 14.36 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001254/0.146, allocations: 133.8 kB / 0.563 GB, free: 14.22 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.767e-05/0.146, allocations: 11.91 kB / 0.563 GB, free: 14.21 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.318e-05/0.146, allocations: 29.33 kB / 0.563 GB, free: 14.18 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.146, allocations: 7.875 kB / 0.563 GB, free: 14.17 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.146, allocations: 3.938 kB / 0.563 GB, free: 14.16 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.1461, allocations: 0 / 0.563 GB, free: 14.16 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002091/0.1463, allocations: 209.6 kB / 0.5632 GB, free: 13.91 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.1463, allocations: 4 kB / 0.5633 GB, free: 13.91 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.938e-05/0.1463, allocations: 15.98 kB / 0.5633 GB, free: 13.89 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.1463, allocations: 0 / 0.5633 GB, free: 13.89 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.345e-05/0.1464, allocations: 4 kB / 0.5633 GB, free: 13.89 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1464, allocations: 0 / 0.5633 GB, free: 13.89 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.1464, allocations: 11.94 kB / 0.5633 GB, free: 13.88 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003964/0.1468, allocations: 176.9 kB / 0.5635 GB, free: 13.68 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.091e-05/0.1468, allocations: 93.03 kB / 0.5635 GB, free: 13.57 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.207e-05/0.1469, allocations: 0 / 0.5635 GB, free: 13.57 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.158e-05/0.1469, allocations: 4 kB / 0.5635 GB, free: 13.57 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.46e-05/0.147, allocations: 15.92 kB / 0.5636 GB, free: 13.55 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.581e-05/0.147, allocations: 8.062 kB / 0.5636 GB, free: 13.55 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001375/0.1471, allocations: 144.4 kB / 0.5637 GB, free: 13.41 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1471, allocations: 0 / 0.5637 GB, free: 13.41 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002602/0.1474, allocations: 27.94 kB / 0.5637 GB, free: 13.38 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.002113/0.1495, allocations: 1.019 MB / 0.5647 GB, free: 12.47 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002807/0.1498, allocations: 75.89 kB / 0.5648 GB, free: 12.4 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1498, allocations: 0 / 0.5648 GB, free: 12.4 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001047/0.1499, allocations: 35.92 kB / 0.5648 GB, free: 12.36 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003346/0.1502, allocations: 42.16 kB / 0.5649 GB, free: 12.32 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002371/0.1526, allocations: 1.764 MB / 0.5666 GB, free: 10.45 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003807/0.153, allocations: 0.7123 MB / 0.5673 GB, free: 9.715 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.47e-05/0.153, allocations: 17.41 kB / 0.5673 GB, free: 9.699 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.071e-05/0.1531, allocations: 43.42 kB / 0.5673 GB, free: 9.656 MB / 430.1 MB Notification: Performance of SimCode: time 6.21e-07/0.1531, allocations: 4.375 kB / 0.5674 GB, free: 9.652 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02123/0.1743, allocations: 3.882 MB / 0.5711 GB, free: 5.84 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.108/8.282, allocations: 6.734 kB / 0.5712 GB, free: 5.836 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test13_fmu --startTime=0 --stopTime=2 --stepSize=0.00039984 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test13.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.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.359570820000954]