Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.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.001252/0.001252, allocations: 119 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.001253/0.001253, 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.447/1.447, allocations: 225.6 MB / 249.8 MB, free: 3.598 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.2218/0.2218, allocations: 44.92 MB / 349.6 MB, free: 1.746 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.Test18,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test18",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test18,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test18",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001873/0.001873, allocations: 70.31 kB / 491.9 MB, free: 29.77 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/0.1412, allocations: 64.26 MB / 0.5431 GB, free: 4.055 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.003911/0.1451, allocations: 1.713 MB / 0.5448 GB, free: 2.328 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00182/0.147, allocations: 0.8963 MB / 0.5456 GB, free: 1.426 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.781e-05/0.1471, allocations: 0 / 0.5456 GB, free: 1.426 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003627/0.1474, allocations: 31.83 kB / 0.5457 GB, free: 1.395 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002772/0.1477, allocations: 59.7 kB / 0.5457 GB, free: 1.336 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003446/0.1481, allocations: 111.6 kB / 0.5458 GB, free: 1.227 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002273/0.1483, allocations: 91.7 kB / 0.5459 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001135/0.1484, allocations: 4.516 kB / 0.5459 GB, free: 1.129 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001141/0.1485, allocations: 43.78 kB / 0.546 GB, free: 1.086 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001005/0.1486, allocations: 39.84 kB / 0.546 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.154e-05/0.1486, allocations: 4 kB / 0.546 GB, free: 1.043 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001147/0.1487, allocations: 39.98 kB / 0.546 GB, free: 1.004 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.014e-05/0.1488, allocations: 31.84 kB / 0.5461 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.787e-05/0.1489, allocations: 35.73 kB / 0.5461 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002442/0.1491, allocations: 115.5 kB / 0.5462 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.1491, allocations: 0 / 0.5462 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.494e-06/0.1491, allocations: 0 / 0.5462 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.222e-05/0.1491, allocations: 0 / 0.5462 GB, free: 0.8242 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007027/0.1498, allocations: 416.7 kB / 0.5466 GB, free: 380 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/0.1499, allocations: 8.031 kB / 0.5466 GB, free: 372 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.637e-05/0.1499, allocations: 30.75 kB / 0.5466 GB, free: 332 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.916e-05/0.15, allocations: 16.84 kB / 0.5467 GB, free: 316 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003875/0.1504, allocations: 200.2 kB / 0.5469 GB, free: 76 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.047e-05/0.1504, allocations: 8.375 kB / 0.5469 GB, free: 68 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.376e-05/0.1504, allocations: 3.938 kB / 0.5469 GB, free: 64 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001869/0.1506, allocations: 57.61 kB / 0.5469 GB, free: 0 / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.1506, allocations: 0 / 0.5469 GB, free: 0 / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.1506, allocations: 0 / 0.5469 GB, free: 0 / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.028e-05/0.1506, allocations: 8.047 kB / 0.5469 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.723e-05/0.1507, allocations: 15.98 kB / 0.5469 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004557/0.1512, allocations: 280.9 kB / 0.5472 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001923/0.1514, allocations: 58.61 kB / 0.5473 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.553e-05/0.1514, allocations: 20.84 kB / 0.5473 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.784e-05/0.1515, allocations: 11.92 kB / 0.5473 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002187/0.1517, allocations: 63.39 kB / 0.5474 GB, free: 15.47 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.343e-06/0.1517, allocations: 4 kB / 0.5474 GB, free: 15.47 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006227/0.1523, allocations: 169.4 kB / 0.5475 GB, free: 15.3 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.658e-05/0.1524, allocations: 55.41 kB / 0.5476 GB, free: 15.23 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002099/0.1526, allocations: 174.5 kB / 0.5477 GB, free: 15.05 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.552e-05/0.1526, allocations: 33.7 kB / 0.5478 GB, free: 15.01 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.385e-05/0.1527, allocations: 100.1 kB / 0.5479 GB, free: 14.91 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.069e-05/0.1527, allocations: 27.75 kB / 0.5479 GB, free: 14.88 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.46e-05/0.1528, allocations: 21.7 kB / 0.5479 GB, free: 14.86 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001869/0.153, allocations: 322.8 kB / 0.5482 GB, free: 14.53 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.201e-05/0.153, allocations: 20 kB / 0.5482 GB, free: 14.51 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.41e-05/0.1531, allocations: 37.64 kB / 0.5483 GB, free: 14.47 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001217/0.1532, allocations: 69.77 kB / 0.5483 GB, free: 14.39 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.1532, allocations: 0 / 0.5483 GB, free: 14.39 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002062/0.1534, allocations: 97.75 kB / 0.5484 GB, free: 14.29 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.1534, allocations: 4 kB / 0.5484 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.1534, allocations: 7.938 kB / 0.5485 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/0.1535, allocations: 3.984 kB / 0.5485 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.785e-05/0.1536, allocations: 12.38 kB / 0.5485 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.1536, allocations: 0 / 0.5485 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.619e-05/0.1536, allocations: 19.97 kB / 0.5485 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.908e-06/0.1536, allocations: 4 kB / 0.5485 GB, free: 14.24 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 (10): * Single equations (assignments): 10 * 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.0001432/0.1538, allocations: 125.8 kB / 0.5486 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.472e-05/0.1538, allocations: 11.91 kB / 0.5486 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.071e-05/0.1539, allocations: 16.7 kB / 0.5486 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.1539, allocations: 0 / 0.5486 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.1539, allocations: 0 / 0.5486 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.115e-06/0.1539, allocations: 7.875 kB / 0.5486 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005514/0.1544, allocations: 395.3 kB / 0.549 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.1544, allocations: 0 / 0.549 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.188e-05/0.1545, allocations: 8 kB / 0.549 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.1545, allocations: 3.938 kB / 0.549 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.365e-06/0.1545, allocations: 0 / 0.549 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.1545, allocations: 4 kB / 0.549 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1545, allocations: 3.938 kB / 0.549 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002693/0.1547, allocations: 208.3 kB / 0.5492 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.867e-05/0.1548, allocations: 85.02 kB / 0.5493 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.715e-05/0.1548, allocations: 11.94 kB / 0.5493 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.471e-05/0.1549, allocations: 0 / 0.5493 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.47e-05/0.1549, allocations: 7.984 kB / 0.5493 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.474e-05/0.155, allocations: 4 kB / 0.5493 GB, free: 13.27 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001376/0.1551, allocations: 131.2 kB / 0.5495 GB, free: 13.14 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1551, allocations: 0 / 0.5495 GB, free: 13.14 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002697/0.1554, allocations: 31.92 kB / 0.5495 GB, free: 13.11 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 6 * 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.002438/0.1578, allocations: 1.088 MB / 0.5506 GB, free: 12.19 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002306/0.158, allocations: 59.94 kB / 0.5506 GB, free: 12.13 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.158, allocations: 0 / 0.5506 GB, free: 12.13 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001087/0.1581, allocations: 35.86 kB / 0.5507 GB, free: 12.09 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003577/0.1585, allocations: 22.48 kB / 0.5507 GB, free: 12.07 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002151/0.1607, allocations: 1.611 MB / 0.5522 GB, free: 10.36 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004378/0.1611, allocations: 0.7002 MB / 0.5529 GB, free: 9.637 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.365e-05/0.1612, allocations: 20.88 kB / 0.553 GB, free: 9.617 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.785e-05/0.1612, allocations: 31.42 kB / 0.553 GB, free: 9.586 MB / 414.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1612, allocations: 0 / 0.553 GB, free: 9.586 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0271/0.1883, allocations: 3.338 MB / 0.5562 GB, free: 6.281 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.822/8.01, allocations: 7.984 kB / 0.5562 GB, free: 6.273 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test18_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test18.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test18/Test18.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.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.078832575120032]