Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.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.002145/0.002145, allocations: 117.8 kB / 18.5 MB, free: 4.602 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.002414/0.002414, allocations: 208.9 kB / 21.46 MB, free: 1.648 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.459/1.459, allocations: 230.2 MB / 254.5 MB, free: 15.27 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.2347/0.2347, allocations: 46.91 MB / 357.4 MB, free: 10.48 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.Test78,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test78",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test78,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test78",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002206/0.002206, allocations: 87.86 kB / 0.4913 GB, free: 8.242 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.122, allocations: 65.99 MB / 0.5558 GB, free: 6.117 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.003354/0.1254, allocations: 1.933 MB / 0.5577 GB, free: 4.168 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002072/0.1274, allocations: 1.13 MB / 0.5588 GB, free: 3.031 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.879e-05/0.1275, allocations: 4 kB / 0.5588 GB, free: 3.027 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005508/0.1281, allocations: 259.3 kB / 0.559 GB, free: 2.773 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004808/0.1286, allocations: 227.2 kB / 0.5593 GB, free: 2.551 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002971/0.1289, allocations: 123.6 kB / 0.5594 GB, free: 2.43 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003535/0.1292, allocations: 275.2 kB / 0.5596 GB, free: 2.16 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000121/0.1293, allocations: 13.69 kB / 0.5596 GB, free: 2.145 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001729/0.1295, allocations: 143.5 kB / 0.5598 GB, free: 2.004 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002405/0.1298, allocations: 203.4 kB / 0.56 GB, free: 1.805 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.401e-05/0.1298, allocations: 8 kB / 0.56 GB, free: 1.797 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001353/0.1299, allocations: 71.95 kB / 0.5601 GB, free: 1.727 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.37e-05/0.13, allocations: 67.7 kB / 0.5601 GB, free: 1.66 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.953e-05/0.1301, allocations: 99.17 kB / 0.5602 GB, free: 1.562 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000374/0.1305, allocations: 254.8 kB / 0.5605 GB, free: 1.312 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.1305, allocations: 0 / 0.5605 GB, free: 1.312 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1305, allocations: 0 / 0.5605 GB, free: 1.312 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.1305, allocations: 0 / 0.5605 GB, free: 1.312 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.0008779/0.1314, allocations: 0.5987 MB / 0.561 GB, free: 0.6641 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/0.1314, allocations: 8.031 kB / 0.5611 GB, free: 0.6562 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.56e-05/0.1315, allocations: 42.75 kB / 0.5611 GB, free: 0.6055 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.03e-05/0.1315, allocations: 28.75 kB / 0.5611 GB, free: 0.5781 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005304/0.1321, allocations: 298.7 kB / 0.5614 GB, free: 256 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.27e-05/0.1321, allocations: 8.375 kB / 0.5614 GB, free: 248 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.368e-05/0.1321, allocations: 8.375 kB / 0.5614 GB, free: 240 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002872/0.1324, allocations: 116.8 kB / 0.5615 GB, free: 112 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.811e-05/0.1324, allocations: 0 / 0.5615 GB, free: 112 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.459e-05/0.1324, allocations: 8 kB / 0.5615 GB, free: 104 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.645e-06/0.1324, allocations: 4 kB / 0.5615 GB, free: 100 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001408/0.1326, allocations: 43.97 kB / 0.5616 GB, free: 56 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000728/0.1333, allocations: 488.7 kB / 0.562 GB, free: 15.52 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004192/0.1337, allocations: 121.2 kB / 0.5622 GB, free: 15.39 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001054/0.1338, allocations: 41.83 kB / 0.5622 GB, free: 15.34 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.942e-05/0.1339, allocations: 0 / 0.5622 GB, free: 15.34 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002572/0.1341, allocations: 125 kB / 0.5623 GB, free: 15.2 MB / 430.1 MB Notification: Performance of pre-optimization done (n=14): time 1.242e-06/0.1341, allocations: 0 / 0.5623 GB, free: 15.2 MB / 430.1 MB Notification: Performance of matching and sorting (n=22): time 0.001347/0.1355, allocations: 0.5053 MB / 0.5628 GB, free: 14.69 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.761e-05/0.1355, allocations: 85.11 kB / 0.5629 GB, free: 14.59 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005184/0.136, allocations: 497.6 kB / 0.5634 GB, free: 14.09 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.528e-05/0.1361, allocations: 33.7 kB / 0.5634 GB, free: 14.05 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001263/0.1362, allocations: 176.4 kB / 0.5636 GB, free: 13.87 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.559e-05/0.1363, allocations: 71.42 kB / 0.5636 GB, free: 13.8 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.394e-05/0.1363, allocations: 41.7 kB / 0.5637 GB, free: 13.75 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001643/0.1365, allocations: 350.8 kB / 0.564 GB, free: 13.4 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001302/0.1366, allocations: 55.97 kB / 0.5641 GB, free: 13.35 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001518/0.1368, allocations: 91.34 kB / 0.5642 GB, free: 13.25 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002819/0.1371, allocations: 171.4 kB / 0.5643 GB, free: 13.07 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.1371, allocations: 0 / 0.5643 GB, free: 13.07 MB / 430.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004133/0.1375, allocations: 237.2 kB / 0.5645 GB, free: 12.83 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.1375, allocations: 4 kB / 0.5646 GB, free: 12.82 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/0.1375, allocations: 7.875 kB / 0.5646 GB, free: 12.82 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/0.1375, allocations: 8.062 kB / 0.5646 GB, free: 12.81 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001427/0.1377, allocations: 43.91 kB / 0.5646 GB, free: 12.77 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.236e-06/0.1377, allocations: 4.234 kB / 0.5646 GB, free: 12.76 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.985e-05/0.1378, allocations: 8 kB / 0.5646 GB, free: 12.75 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.151e-05/0.1378, allocations: 15.98 kB / 0.5646 GB, free: 12.74 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.0001755/0.138, allocations: 165.8 kB / 0.5648 GB, free: 12.57 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.078e-05/0.138, allocations: 39.75 kB / 0.5648 GB, free: 12.53 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.772e-05/0.1381, allocations: 58.81 kB / 0.5649 GB, free: 12.47 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.965e-06/0.1381, allocations: 8 kB / 0.5649 GB, free: 12.46 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.1381, allocations: 0 / 0.5649 GB, free: 12.46 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.1381, allocations: 0 / 0.5649 GB, free: 12.46 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001004/0.1391, allocations: 0.7312 MB / 0.5656 GB, free: 11.66 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/0.1391, allocations: 4 kB / 0.5656 GB, free: 11.66 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.172e-05/0.1392, allocations: 36.06 kB / 0.5656 GB, free: 11.62 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.1392, allocations: 0 / 0.5656 GB, free: 11.62 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.565e-05/0.1392, allocations: 7.984 kB / 0.5657 GB, free: 11.61 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.007e-06/0.1392, allocations: 4 kB / 0.5657 GB, free: 11.61 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.1392, allocations: 0 / 0.5657 GB, free: 11.61 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004887/0.1397, allocations: 429.8 kB / 0.5661 GB, free: 11.16 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.293e-05/0.1398, allocations: 108.9 kB / 0.5662 GB, free: 11.04 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.176e-05/0.1399, allocations: 4 kB / 0.5662 GB, free: 11.03 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001507/0.14, allocations: 15.92 kB / 0.5662 GB, free: 11.02 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.45e-05/0.1401, allocations: 23.92 kB / 0.5662 GB, free: 10.99 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.202e-05/0.1401, allocations: 12 kB / 0.5662 GB, free: 10.98 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003698/0.1405, allocations: 375.1 kB / 0.5666 GB, free: 10.61 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1405, allocations: 4.188 kB / 0.5666 GB, free: 10.61 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003465/0.1408, allocations: 51.88 kB / 0.5666 GB, free: 10.56 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.002542/0.1434, allocations: 1.36 MB / 0.568 GB, free: 9.367 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003478/0.1437, allocations: 159.7 kB / 0.5681 GB, free: 9.211 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1437, allocations: 128 / 0.5681 GB, free: 9.211 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001587/0.1439, allocations: 71.84 kB / 0.5682 GB, free: 9.141 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005423/0.1444, allocations: 69.44 kB / 0.5683 GB, free: 9.078 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003598/0.148, allocations: 3.008 MB / 0.5712 GB, free: 5.945 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004499/0.1485, allocations: 0.787 MB / 0.572 GB, free: 5.133 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001086/0.1486, allocations: 37.91 kB / 0.572 GB, free: 5.098 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001425/0.1487, allocations: 103.4 kB / 0.5721 GB, free: 4.996 MB / 430.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1487, allocations: 0 / 0.5721 GB, free: 4.996 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02955/0.1783, allocations: 6.688 MB / 0.5786 GB, free: 14.36 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.632/8.81, allocations: 8 kB / 0.5786 GB, free: 14.35 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test78_fmu --startTime=0 --stopTime=15 --stepSize=0.0029988 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test78.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.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.887420867104083]