Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001414/0.001414, allocations: 117.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 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0014/0.0014, allocations: 190.9 kB / 21.44 MB, free: 1.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.455/1.455, allocations: 225.6 MB / 249.8 MB, free: 3.609 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2268/0.2268, allocations: 44.92 MB / 349.6 MB, free: 1.727 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test7",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001921/0.001921, allocations: 70.78 kB / 491.9 MB, free: 29.79 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1373/0.1392, allocations: 64.26 MB / 0.5431 GB, free: 4.027 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.003103/0.1423, allocations: 1.73 MB / 0.5448 GB, free: 2.281 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001436/0.1438, allocations: 0.8964 MB / 0.5457 GB, free: 1.379 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.133e-05/0.1438, allocations: 3.938 kB / 0.5457 GB, free: 1.375 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003429/0.1442, allocations: 107.7 kB / 0.5458 GB, free: 1.27 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002335/0.1444, allocations: 83.66 kB / 0.5459 GB, free: 1.188 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002936/0.1447, allocations: 123.3 kB / 0.546 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002033/0.1449, allocations: 107.7 kB / 0.5461 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.145, allocations: 12.27 kB / 0.5461 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001024/0.1451, allocations: 55.77 kB / 0.5461 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001189/0.1453, allocations: 75.73 kB / 0.5462 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.661e-05/0.1453, allocations: 4 kB / 0.5462 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001126/0.1454, allocations: 55.98 kB / 0.5463 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.55e-05/0.1454, allocations: 23.91 kB / 0.5463 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.694e-05/0.1455, allocations: 47.67 kB / 0.5463 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002356/0.1457, allocations: 143.3 kB / 0.5465 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1457, allocations: 0 / 0.5465 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1457, allocations: 3.938 kB / 0.5465 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.1457, allocations: 0 / 0.5465 GB, free: 0.5508 MB / 398.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.000604/0.1463, allocations: 450.4 kB / 0.5469 GB, free: 64 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.1464, allocations: 12.02 kB / 0.5469 GB, free: 52 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.462e-05/0.1464, allocations: 38.75 kB / 0.547 GB, free: 4 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.855e-05/0.1465, allocations: 19.47 kB / 0.547 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003414/0.1468, allocations: 220.9 kB / 0.5472 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.1468, allocations: 5.688 kB / 0.5472 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.071e-05/0.1469, allocations: 4 kB / 0.5472 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001552/0.147, allocations: 53.67 kB / 0.5472 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.147, allocations: 0 / 0.5472 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.147, allocations: 11.94 kB / 0.5473 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.147, allocations: 0 / 0.5473 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.565e-05/0.1471, allocations: 27.97 kB / 0.5473 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000403/0.1475, allocations: 296.9 kB / 0.5476 GB, free: 15.28 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002531/0.1478, allocations: 70.41 kB / 0.5476 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.63e-05/0.1478, allocations: 16.98 kB / 0.5476 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.307e-05/0.1479, allocations: 4 kB / 0.5477 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001551/0.148, allocations: 71.38 kB / 0.5477 GB, free: 15.1 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.233e-06/0.148, allocations: 0 / 0.5477 GB, free: 15.1 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007819/0.1488, allocations: 245.7 kB / 0.548 GB, free: 14.85 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.705e-05/0.1489, allocations: 55.41 kB / 0.548 GB, free: 14.79 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002344/0.1491, allocations: 242.4 kB / 0.5482 GB, free: 14.54 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.758e-05/0.1491, allocations: 33.7 kB / 0.5483 GB, free: 14.5 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.412e-05/0.1492, allocations: 108.1 kB / 0.5484 GB, free: 14.39 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.805e-05/0.1492, allocations: 35.73 kB / 0.5484 GB, free: 14.36 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.415e-05/0.1493, allocations: 25.72 kB / 0.5484 GB, free: 14.32 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001586/0.1494, allocations: 330.8 kB / 0.5487 GB, free: 13.99 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.103e-05/0.1495, allocations: 27.98 kB / 0.5488 GB, free: 13.96 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.519e-05/0.1496, allocations: 41.7 kB / 0.5488 GB, free: 13.92 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001413/0.1497, allocations: 85.64 kB / 0.5489 GB, free: 13.83 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.1497, allocations: 0 / 0.5489 GB, free: 13.83 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002248/0.1499, allocations: 125.6 kB / 0.549 GB, free: 13.7 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.15, allocations: 11.94 kB / 0.549 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.15, allocations: 0 / 0.549 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.15, allocations: 0 / 0.549 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.452e-05/0.1501, allocations: 27.92 kB / 0.5491 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.1501, allocations: 4.266 kB / 0.5491 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.278e-05/0.1501, allocations: 0 / 0.5491 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.107e-05/0.1501, allocations: 11.98 kB / 0.5491 GB, free: 13.64 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.0001275/0.1502, allocations: 140.2 kB / 0.5492 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.635e-05/0.1503, allocations: 15.91 kB / 0.5492 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.386e-05/0.1503, allocations: 25.33 kB / 0.5492 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.1503, allocations: 0 / 0.5492 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.1503, allocations: 0 / 0.5492 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.1503, allocations: 4 kB / 0.5492 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005704/0.1509, allocations: 464 kB / 0.5497 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-06/0.1509, allocations: 0 / 0.5497 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.717e-05/0.151, allocations: 15.94 kB / 0.5497 GB, free: 12.92 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.151, allocations: 0 / 0.5497 GB, free: 12.92 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/0.151, allocations: 11.92 kB / 0.5497 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.151, allocations: 0 / 0.5497 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.151, allocations: 4 kB / 0.5497 GB, free: 12.9 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002758/0.1512, allocations: 237.3 kB / 0.5499 GB, free: 12.65 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.49e-05/0.1513, allocations: 89.02 kB / 0.55 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.809e-05/0.1513, allocations: 11.92 kB / 0.55 GB, free: 12.53 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.9e-05/0.1514, allocations: 0 / 0.55 GB, free: 12.53 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.868e-05/0.1514, allocations: 15.92 kB / 0.5501 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.455e-05/0.1515, allocations: 8 kB / 0.5501 GB, free: 12.51 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001656/0.1516, allocations: 188.3 kB / 0.5502 GB, free: 12.32 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1516, allocations: 0 / 0.5502 GB, free: 12.32 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002622/0.1519, allocations: 27.94 kB / 0.5503 GB, free: 12.3 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.002335/0.1542, allocations: 1.179 MB / 0.5514 GB, free: 11.32 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002078/0.1544, allocations: 71.91 kB / 0.5515 GB, free: 11.25 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1544, allocations: 0 / 0.5515 GB, free: 11.25 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.27e-05/0.1545, allocations: 39.92 kB / 0.5515 GB, free: 11.21 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003334/0.1549, allocations: 30.56 kB / 0.5516 GB, free: 11.18 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002128/0.157, allocations: 1.862 MB / 0.5534 GB, free: 9.219 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003487/0.1573, allocations: 0.7233 MB / 0.5541 GB, free: 8.469 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.393e-05/0.1574, allocations: 20.64 kB / 0.5541 GB, free: 8.445 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.568e-05/0.1575, allocations: 43.41 kB / 0.5541 GB, free: 8.402 MB / 414.1 MB Notification: Performance of SimCode: time 7.82e-07/0.1575, allocations: 4 kB / 0.5541 GB, free: 8.398 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02692/0.1844, allocations: 3.97 MB / 0.558 GB, free: 4.461 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.776/7.961, allocations: 15.73 kB / 0.558 GB, free: 4.449 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test7_fmu --startTime=0 --stopTime=1 --stepSize=0.00019984 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test7.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_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.155915430746973]