Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.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.001343/0.001343, 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.001852/0.001852, 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.516/1.516, allocations: 230.2 MB / 254.5 MB, free: 15.41 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.2367/0.2367, allocations: 46.9 MB / 357.4 MB, free: 10.5 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.Test7,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test7,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test7",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002227/0.002227, allocations: 82.8 kB / 0.4913 GB, free: 26.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.1238, allocations: 65.98 MB / 0.5558 GB, free: 9.012 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.003346/0.1271, allocations: 1.761 MB / 0.5575 GB, free: 7.234 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001757/0.1289, allocations: 1.036 MB / 0.5585 GB, free: 6.191 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.814e-05/0.129, allocations: 4 kB / 0.5585 GB, free: 6.188 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003278/0.1293, allocations: 103.7 kB / 0.5586 GB, free: 6.086 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003254/0.1296, allocations: 127.5 kB / 0.5587 GB, free: 5.961 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002127/0.1298, allocations: 83.66 kB / 0.5588 GB, free: 5.879 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001795/0.13, allocations: 119.7 kB / 0.5589 GB, free: 5.762 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.634e-05/0.1301, allocations: 20.23 kB / 0.559 GB, free: 5.742 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.481e-05/0.1302, allocations: 55.77 kB / 0.559 GB, free: 5.688 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001118/0.1303, allocations: 67.8 kB / 0.5591 GB, free: 5.621 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.504e-05/0.1303, allocations: 11.94 kB / 0.5591 GB, free: 5.609 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001144/0.1304, allocations: 63.97 kB / 0.5591 GB, free: 5.547 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.724e-05/0.1305, allocations: 27.86 kB / 0.5592 GB, free: 5.52 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.751e-05/0.1306, allocations: 47.61 kB / 0.5592 GB, free: 5.473 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002467/0.1308, allocations: 151.3 kB / 0.5594 GB, free: 5.324 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1308, allocations: 0 / 0.5594 GB, free: 5.324 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.1308, allocations: 0 / 0.5594 GB, free: 5.324 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.551e-06/0.1308, allocations: 0 / 0.5594 GB, free: 5.324 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005582/0.1314, allocations: 453.1 kB / 0.5598 GB, free: 4.836 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.1314, allocations: 12.03 kB / 0.5598 GB, free: 4.824 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.428e-05/0.1314, allocations: 38.75 kB / 0.5598 GB, free: 4.777 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.581e-05/0.1315, allocations: 16.84 kB / 0.5599 GB, free: 4.762 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002994/0.1318, allocations: 223.8 kB / 0.5601 GB, free: 4.504 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.527e-05/0.1318, allocations: 8.375 kB / 0.5601 GB, free: 4.496 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.484e-05/0.1318, allocations: 12.31 kB / 0.5601 GB, free: 4.484 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001507/0.132, allocations: 57.8 kB / 0.5601 GB, free: 4.422 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.132, allocations: 0 / 0.5601 GB, free: 4.422 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.386e-06/0.132, allocations: 4 kB / 0.5601 GB, free: 4.418 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.132, allocations: 3.984 kB / 0.5601 GB, free: 4.414 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.62e-05/0.1321, allocations: 27.98 kB / 0.5602 GB, free: 4.387 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003924/0.1325, allocations: 308.7 kB / 0.5605 GB, free: 4.035 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002181/0.1327, allocations: 50.56 kB / 0.5605 GB, free: 3.977 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.934e-05/0.1327, allocations: 24.97 kB / 0.5605 GB, free: 3.949 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.37e-05/0.1328, allocations: 0 / 0.5605 GB, free: 3.949 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001529/0.1329, allocations: 75.33 kB / 0.5606 GB, free: 3.863 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.252e-06/0.1329, allocations: 0 / 0.5606 GB, free: 3.863 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007508/0.1337, allocations: 257.1 kB / 0.5609 GB, free: 3.605 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.652e-05/0.1337, allocations: 51.41 kB / 0.5609 GB, free: 3.543 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002591/0.134, allocations: 255.1 kB / 0.5612 GB, free: 3.281 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.953e-05/0.134, allocations: 25.7 kB / 0.5612 GB, free: 3.25 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.663e-05/0.1341, allocations: 116.1 kB / 0.5613 GB, free: 3.133 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.532e-05/0.1341, allocations: 39.69 kB / 0.5613 GB, free: 3.094 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.749e-05/0.1342, allocations: 25.72 kB / 0.5613 GB, free: 3.062 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.1343, allocations: 326.8 kB / 0.5617 GB, free: 2.734 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.335e-05/0.1344, allocations: 31.98 kB / 0.5617 GB, free: 2.703 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001001/0.1345, allocations: 47.81 kB / 0.5617 GB, free: 2.652 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001496/0.1346, allocations: 81.66 kB / 0.5618 GB, free: 2.566 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.1346, allocations: 4 kB / 0.5618 GB, free: 2.562 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002331/0.1349, allocations: 133.5 kB / 0.5619 GB, free: 2.426 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.1349, allocations: 8 kB / 0.562 GB, free: 2.418 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.1349, allocations: 0 / 0.562 GB, free: 2.418 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.1349, allocations: 0 / 0.562 GB, free: 2.418 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.901e-05/0.135, allocations: 19.98 kB / 0.562 GB, free: 2.398 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.135, allocations: 4 kB / 0.562 GB, free: 2.395 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.732e-05/0.135, allocations: 11.97 kB / 0.562 GB, free: 2.383 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.308e-06/0.1351, allocations: 7.938 kB / 0.562 GB, free: 2.375 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 (13): * Single equations (assignments): 13 * 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.000121/0.1352, allocations: 139.9 kB / 0.5621 GB, free: 2.23 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.794e-05/0.1352, allocations: 15.91 kB / 0.5621 GB, free: 2.215 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.679e-05/0.1353, allocations: 21.39 kB / 0.5622 GB, free: 2.188 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.1353, allocations: 4 kB / 0.5622 GB, free: 2.184 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.656e-06/0.1353, allocations: 0 / 0.5622 GB, free: 2.184 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.1353, allocations: 3.938 kB / 0.5622 GB, free: 2.18 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005919/0.1359, allocations: 456.1 kB / 0.5626 GB, free: 1.672 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1359, allocations: 0 / 0.5626 GB, free: 1.672 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.005e-05/0.1359, allocations: 23.86 kB / 0.5626 GB, free: 1.648 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.162e-06/0.1359, allocations: 4 kB / 0.5626 GB, free: 1.645 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/0.1359, allocations: 0 / 0.5626 GB, free: 1.645 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.631e-06/0.1359, allocations: 4 kB / 0.5626 GB, free: 1.641 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1359, allocations: 0 / 0.5626 GB, free: 1.641 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002916/0.1362, allocations: 237.1 kB / 0.5629 GB, free: 1.387 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.678e-05/0.1363, allocations: 96.95 kB / 0.563 GB, free: 1.273 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.546e-05/0.1363, allocations: 4 kB / 0.563 GB, free: 1.27 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.376e-05/0.1364, allocations: 4 kB / 0.563 GB, free: 1.266 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.392e-05/0.1364, allocations: 11.98 kB / 0.563 GB, free: 1.254 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.598e-05/0.1364, allocations: 4 kB / 0.563 GB, free: 1.25 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001737/0.1366, allocations: 188.5 kB / 0.5632 GB, free: 1.066 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1366, allocations: 0 / 0.5632 GB, free: 1.066 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000269/0.1369, allocations: 31.92 kB / 0.5632 GB, free: 1.035 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.00239/0.1393, allocations: 1.177 MB / 0.5643 GB, free: 28 kB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002482/0.1395, allocations: 75.84 kB / 0.5644 GB, free: 15.95 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.1395, allocations: 0 / 0.5644 GB, free: 15.95 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.526e-05/0.1396, allocations: 39.92 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.0003768/0.14, allocations: 37.69 kB / 0.5645 GB, free: 15.88 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002361/0.1423, allocations: 1.895 MB / 0.5663 GB, free: 13.88 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004112/0.1428, allocations: 0.7119 MB / 0.567 GB, free: 13.14 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.581e-05/0.1428, allocations: 20.64 kB / 0.5671 GB, free: 13.12 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.391e-05/0.1429, allocations: 47.41 kB / 0.5671 GB, free: 13.08 MB / 430.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1429, allocations: 0 / 0.5671 GB, free: 13.08 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02561/0.1685, allocations: 4.052 MB / 0.5711 GB, free: 9.07 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.172/8.341, allocations: 5.031 kB / 0.5711 GB, free: 9.066 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test7_fmu --startTime=0 --stopTime=1 --stepSize=0.00019984 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test7.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.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.508503142278641]