Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.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.00127/0.00127, allocations: 117 kB / 18.49 MB, free: 4.566 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.001428/0.001428, allocations: 216.7 kB / 21.46 MB, free: 1.613 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.449/1.449, allocations: 230.4 MB / 254.7 MB, free: 15.18 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.2238/0.2238, allocations: 46.92 MB / 357.7 MB, free: 10.18 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.Test79,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test79",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test79,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test79",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002249/0.002249, allocations: 75.88 kB / 0.4918 GB, free: 26.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1181, allocations: 66.04 MB / 0.5562 GB, free: 8.562 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.00346/0.1215, allocations: 1.929 MB / 0.5581 GB, free: 6.617 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00213/0.1237, allocations: 1.138 MB / 0.5592 GB, free: 5.473 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001078/0.1238, allocations: 3.938 kB / 0.5592 GB, free: 5.469 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005506/0.1243, allocations: 223.4 kB / 0.5595 GB, free: 5.25 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005052/0.1248, allocations: 227.2 kB / 0.5597 GB, free: 5.027 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002805/0.1251, allocations: 111.6 kB / 0.5598 GB, free: 4.918 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003406/0.1254, allocations: 263.2 kB / 0.56 GB, free: 4.66 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001368/0.1256, allocations: 21.89 kB / 0.5601 GB, free: 4.637 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001779/0.1258, allocations: 123.5 kB / 0.5602 GB, free: 4.516 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002155/0.126, allocations: 171.5 kB / 0.5603 GB, free: 4.348 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.558e-05/0.126, allocations: 8 kB / 0.5603 GB, free: 4.34 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001329/0.1261, allocations: 63.97 kB / 0.5604 GB, free: 4.277 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001031/0.1262, allocations: 67.7 kB / 0.5605 GB, free: 4.211 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.985e-05/0.1263, allocations: 87.3 kB / 0.5606 GB, free: 4.125 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003971/0.1267, allocations: 242.8 kB / 0.5608 GB, free: 3.887 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.1267, allocations: 7.938 kB / 0.5608 GB, free: 3.879 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1267, allocations: 0 / 0.5608 GB, free: 3.879 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.001e-05/0.1267, allocations: 0 / 0.5608 GB, free: 3.879 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.0007762/0.1275, allocations: 0.5743 MB / 0.5614 GB, free: 3.258 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.1276, allocations: 8.031 kB / 0.5614 GB, free: 3.25 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.017e-05/0.1276, allocations: 16.12 kB / 0.5614 GB, free: 3.234 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.082e-05/0.1276, allocations: 38.75 kB / 0.5614 GB, free: 3.188 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.297e-05/0.1277, allocations: 36.73 kB / 0.5614 GB, free: 3.152 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003868/0.1281, allocations: 292.2 kB / 0.5617 GB, free: 2.832 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/0.1281, allocations: 4.375 kB / 0.5617 GB, free: 2.828 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.077e-05/0.1281, allocations: 12.38 kB / 0.5617 GB, free: 2.816 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000248/0.1284, allocations: 112.5 kB / 0.5618 GB, free: 2.695 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.1284, allocations: 4 kB / 0.5619 GB, free: 2.691 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.37e-05/0.1284, allocations: 0 / 0.5619 GB, free: 2.691 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.243e-06/0.1284, allocations: 4 kB / 0.5619 GB, free: 2.688 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001438/0.1285, allocations: 47.91 kB / 0.5619 GB, free: 2.641 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006462/0.1292, allocations: 472.9 kB / 0.5624 GB, free: 2.125 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004253/0.1296, allocations: 121.2 kB / 0.5625 GB, free: 1.988 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001089/0.1297, allocations: 45.81 kB / 0.5625 GB, free: 1.938 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.355e-05/0.1297, allocations: 0 / 0.5625 GB, free: 1.938 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00027/0.13, allocations: 123 kB / 0.5626 GB, free: 1.801 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.312e-06/0.13, allocations: 0 / 0.5626 GB, free: 1.801 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001443/0.1315, allocations: 0.5053 MB / 0.5631 GB, free: 1.289 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.405e-05/0.1315, allocations: 81.11 kB / 0.5632 GB, free: 1.191 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004714/0.132, allocations: 448.5 kB / 0.5636 GB, free: 0.7383 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.44e-05/0.132, allocations: 33.7 kB / 0.5637 GB, free: 0.6992 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001242/0.1321, allocations: 164.5 kB / 0.5638 GB, free: 0.5312 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.013e-05/0.1322, allocations: 71.42 kB / 0.5639 GB, free: 472 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.603e-05/0.1323, allocations: 41.7 kB / 0.5639 GB, free: 424 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001779/0.1325, allocations: 346.8 kB / 0.5643 GB, free: 68 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001361/0.1326, allocations: 55.98 kB / 0.5643 GB, free: 12 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000176/0.1328, allocations: 103.3 kB / 0.5644 GB, free: 15.9 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002804/0.1331, allocations: 155.5 kB / 0.5646 GB, free: 15.73 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.1331, allocations: 0 / 0.5646 GB, free: 15.73 MB / 430.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004212/0.1335, allocations: 229.3 kB / 0.5648 GB, free: 15.5 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.1335, allocations: 11.94 kB / 0.5648 GB, free: 15.49 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/0.1335, allocations: 8.062 kB / 0.5648 GB, free: 15.48 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.969e-05/0.1335, allocations: 4 kB / 0.5648 GB, free: 15.48 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001454/0.1337, allocations: 39.92 kB / 0.5648 GB, free: 15.44 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.1337, allocations: 4 kB / 0.5648 GB, free: 15.44 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.392e-05/0.1338, allocations: 15.94 kB / 0.5649 GB, free: 15.42 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.912e-05/0.1338, allocations: 8 kB / 0.5649 GB, free: 15.41 MB / 430.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.0002244/0.134, allocations: 173.6 kB / 0.565 GB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.233e-05/0.1341, allocations: 35.75 kB / 0.5651 GB, free: 15.2 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.938e-05/0.1341, allocations: 42.81 kB / 0.5651 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.1341, allocations: 4 kB / 0.5651 GB, free: 15.15 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.1342, allocations: 0 / 0.5651 GB, free: 15.15 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/0.1342, allocations: 3.984 kB / 0.5651 GB, free: 15.15 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001081/0.1352, allocations: 0.7351 MB / 0.5658 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.1352, allocations: 4 kB / 0.5658 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.247e-05/0.1353, allocations: 28 kB / 0.5659 GB, free: 14.31 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.051e-06/0.1353, allocations: 3.984 kB / 0.5659 GB, free: 14.31 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.919e-05/0.1354, allocations: 11.94 kB / 0.5659 GB, free: 14.3 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.1354, allocations: 3.938 kB / 0.5659 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.586e-06/0.1354, allocations: 4 kB / 0.5659 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005153/0.1359, allocations: 425.8 kB / 0.5663 GB, free: 13.84 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.728e-05/0.136, allocations: 104.9 kB / 0.5664 GB, free: 13.72 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.776e-05/0.136, allocations: 4 kB / 0.5664 GB, free: 13.72 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001472/0.1361, allocations: 11.98 kB / 0.5664 GB, free: 13.71 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.208e-05/0.1362, allocations: 27.92 kB / 0.5664 GB, free: 13.68 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.656e-05/0.1362, allocations: 11.98 kB / 0.5664 GB, free: 13.67 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003587/0.1366, allocations: 335 kB / 0.5668 GB, free: 13.34 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1366, allocations: 0 / 0.5668 GB, free: 13.34 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003581/0.137, allocations: 43.94 kB / 0.5668 GB, free: 13.3 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.002932/0.1399, allocations: 1.362 MB / 0.5681 GB, free: 12.09 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003654/0.1403, allocations: 155.8 kB / 0.5683 GB, free: 11.94 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1403, allocations: 4 kB / 0.5683 GB, free: 11.93 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001652/0.1404, allocations: 75.83 kB / 0.5684 GB, free: 11.86 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005455/0.141, allocations: 61.77 kB / 0.5684 GB, free: 11.8 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003677/0.1446, allocations: 2.884 MB / 0.5712 GB, free: 8.797 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004465/0.1451, allocations: 0.7714 MB / 0.572 GB, free: 8 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001158/0.1452, allocations: 49.89 kB / 0.572 GB, free: 7.949 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001532/0.1454, allocations: 99.41 kB / 0.5721 GB, free: 7.852 MB / 430.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1454, allocations: 0 / 0.5721 GB, free: 7.852 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02318/0.1685, allocations: 6.501 MB / 0.5785 GB, free: 1.426 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.348/8.516, allocations: 14.97 kB / 0.5785 GB, free: 1.414 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test79_fmu --startTime=7.99 --stopTime=20 --stepSize=0.00240104 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test79.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.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.60337071097456]