Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.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.001403/0.001403, allocations: 119 kB / 18.5 MB, free: 4.602 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.001331/0.001331, allocations: 194.9 kB / 21.44 MB, free: 1.664 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.438/1.438, allocations: 225.6 MB / 249.8 MB, free: 3.727 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.2361/0.2361, 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.Test53,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test53",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test53,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test53",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001953/0.001953, allocations: 78.14 kB / 491.9 MB, free: 29.96 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.1316, allocations: 64.25 MB / 0.5431 GB, free: 4.039 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test53): time 0.003172/0.1348, allocations: 1.713 MB / 0.5448 GB, free: 2.312 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001469/0.1363, allocations: 0.8963 MB / 0.5456 GB, free: 1.41 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.565e-05/0.1363, allocations: 3.938 kB / 0.5456 GB, free: 1.406 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002963/0.1366, allocations: 47.75 kB / 0.5457 GB, free: 1.359 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002226/0.1369, allocations: 59.77 kB / 0.5457 GB, free: 1.301 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002775/0.1371, allocations: 107.6 kB / 0.5458 GB, free: 1.195 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001748/0.1373, allocations: 95.69 kB / 0.5459 GB, free: 1.102 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.838e-05/0.1374, allocations: 8.516 kB / 0.5459 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.256e-05/0.1375, allocations: 43.78 kB / 0.546 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.806e-05/0.1376, allocations: 31.84 kB / 0.546 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.736e-05/0.1376, allocations: 4 kB / 0.546 GB, free: 1.012 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.99e-05/0.1377, allocations: 43.97 kB / 0.5461 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.993e-05/0.1377, allocations: 35.86 kB / 0.5461 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.516e-05/0.1378, allocations: 35.69 kB / 0.5461 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002148/0.138, allocations: 115.5 kB / 0.5462 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.972e-06/0.138, allocations: 0 / 0.5462 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.138, allocations: 0 / 0.5462 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.138, allocations: 0 / 0.5462 GB, free: 0.7852 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.0005935/0.1386, allocations: 434.5 kB / 0.5467 GB, free: 320 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.1387, allocations: 12.03 kB / 0.5467 GB, free: 308 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.118e-05/0.1387, allocations: 38.75 kB / 0.5467 GB, free: 260 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.536e-05/0.1387, allocations: 12.89 kB / 0.5467 GB, free: 248 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002826/0.139, allocations: 216.1 kB / 0.5469 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.443e-05/0.139, allocations: 12.31 kB / 0.5469 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.922e-05/0.1391, allocations: 3.938 kB / 0.5469 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001517/0.1392, allocations: 53.67 kB / 0.547 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.1392, allocations: 4 kB / 0.547 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.938e-06/0.1392, allocations: 0 / 0.547 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.1392, allocations: 0 / 0.547 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.902e-05/0.1393, allocations: 19.98 kB / 0.547 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003884/0.1397, allocations: 288.8 kB / 0.5473 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001765/0.1399, allocations: 62.61 kB / 0.5473 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.269e-05/0.1399, allocations: 20.84 kB / 0.5474 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.181e-05/0.1399, allocations: 0 / 0.5474 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001601/0.1401, allocations: 71.39 kB / 0.5474 GB, free: 15.39 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.242e-06/0.1401, allocations: 0 / 0.5474 GB, free: 15.39 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005324/0.1406, allocations: 177.3 kB / 0.5476 GB, free: 15.21 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.57e-05/0.1407, allocations: 51.41 kB / 0.5476 GB, free: 15.14 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002371/0.1409, allocations: 222.6 kB / 0.5479 GB, free: 14.91 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.244e-05/0.1409, allocations: 29.7 kB / 0.5479 GB, free: 14.88 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.629e-05/0.141, allocations: 104.1 kB / 0.548 GB, free: 14.77 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.4e-05/0.1411, allocations: 31.78 kB / 0.548 GB, free: 14.74 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.17e-05/0.1411, allocations: 25.66 kB / 0.548 GB, free: 14.71 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001543/0.1413, allocations: 326.8 kB / 0.5484 GB, free: 14.38 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.903e-05/0.1413, allocations: 27.86 kB / 0.5484 GB, free: 14.35 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.911e-05/0.1414, allocations: 33.7 kB / 0.5484 GB, free: 14.31 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001185/0.1415, allocations: 61.7 kB / 0.5485 GB, free: 14.25 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.1415, allocations: 4 kB / 0.5485 GB, free: 14.24 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001836/0.1417, allocations: 97.53 kB / 0.5486 GB, free: 14.14 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.1417, allocations: 8 kB / 0.5486 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.1417, allocations: 0 / 0.5486 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.1417, allocations: 0 / 0.5486 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.616e-05/0.1418, allocations: 20.36 kB / 0.5486 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.1418, allocations: 4 kB / 0.5486 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.305e-05/0.1418, allocations: 3.938 kB / 0.5486 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.768e-05/0.1419, allocations: 11.94 kB / 0.5486 GB, free: 14.09 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.0001084/0.142, allocations: 138.9 kB / 0.5487 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.303e-05/0.142, allocations: 11.91 kB / 0.5488 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.094e-05/0.142, allocations: 21.39 kB / 0.5488 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.142, allocations: 0 / 0.5488 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.1421, allocations: 0 / 0.5488 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.1421, allocations: 3.938 kB / 0.5488 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004652/0.1425, allocations: 395.3 kB / 0.5492 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.1425, allocations: 4.031 kB / 0.5492 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.263e-05/0.1426, allocations: 11.98 kB / 0.5492 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.019e-06/0.1426, allocations: 3.938 kB / 0.5492 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/0.1426, allocations: 0 / 0.5492 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.1426, allocations: 4 kB / 0.5492 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.1426, allocations: 240 / 0.5492 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002453/0.1428, allocations: 212.2 kB / 0.5494 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.189e-05/0.1429, allocations: 89.06 kB / 0.5495 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.675e-05/0.1429, allocations: 11.92 kB / 0.5495 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.9e-05/0.143, allocations: 4 kB / 0.5495 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.125e-05/0.143, allocations: 4 kB / 0.5495 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.556e-05/0.143, allocations: 3.984 kB / 0.5495 GB, free: 13.08 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001591/0.1432, allocations: 175.2 kB / 0.5497 GB, free: 12.91 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1432, allocations: 0 / 0.5497 GB, free: 12.91 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002462/0.1434, allocations: 23.94 kB / 0.5497 GB, free: 12.89 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.002098/0.1455, allocations: 1.107 MB / 0.5508 GB, free: 11.95 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001815/0.1457, allocations: 59.91 kB / 0.5508 GB, free: 11.89 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1457, allocations: 0 / 0.5508 GB, free: 11.89 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.543e-05/0.1458, allocations: 20 kB / 0.5508 GB, free: 11.88 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000333/0.1461, allocations: 27.97 kB / 0.5509 GB, free: 11.85 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001922/0.148, allocations: 1.726 MB / 0.5526 GB, free: 10.03 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003785/0.1484, allocations: 0.7117 MB / 0.5532 GB, free: 9.293 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.568e-05/0.1485, allocations: 21.19 kB / 0.5533 GB, free: 9.273 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.379e-05/0.1485, allocations: 35.42 kB / 0.5533 GB, free: 9.242 MB / 414.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1485, allocations: 8 kB / 0.5533 GB, free: 9.234 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02534/0.1739, allocations: 3.566 MB / 0.5568 GB, free: 5.699 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.987/8.161, allocations: 4 kB / 0.5568 GB, free: 5.695 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test53_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498902 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test53.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test53/Test53.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.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.167116448748857]