Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001353/0.001353, allocations: 122.2 kB / 18.5 MB, free: 4.562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001343/0.001343, allocations: 215.1 kB / 21.45 MB, free: 1.617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.483/1.483, allocations: 230.6 MB / 254.8 MB, free: 15.12 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2331/0.2331, allocations: 46.92 MB / 357.8 MB, free: 10.32 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test2",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001948/0.001948, allocations: 71.89 kB / 0.4917 GB, free: 7.883 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1255/0.1274, allocations: 65.99 MB / 0.5561 GB, free: 5.762 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.003686/0.1311, allocations: 1.717 MB / 0.5578 GB, free: 4.031 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00198/0.1331, allocations: 1.04 MB / 0.5588 GB, free: 2.988 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001001/0.1332, allocations: 0 / 0.5588 GB, free: 2.988 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003831/0.1336, allocations: 39.77 kB / 0.5589 GB, free: 2.949 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004241/0.134, allocations: 95.53 kB / 0.559 GB, free: 2.855 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002367/0.1342, allocations: 79.72 kB / 0.559 GB, free: 2.777 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002245/0.1344, allocations: 103.6 kB / 0.5591 GB, free: 2.676 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.1346, allocations: 15.94 kB / 0.5592 GB, free: 2.66 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001349/0.1347, allocations: 51.78 kB / 0.5592 GB, free: 2.609 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.327e-05/0.1348, allocations: 27.84 kB / 0.5592 GB, free: 2.582 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.137e-05/0.1348, allocations: 4 kB / 0.5592 GB, free: 2.578 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001113/0.1349, allocations: 47.92 kB / 0.5593 GB, free: 2.531 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.198e-05/0.135, allocations: 23.91 kB / 0.5593 GB, free: 2.508 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.21e-05/0.135, allocations: 31.75 kB / 0.5593 GB, free: 2.477 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002448/0.1353, allocations: 115.5 kB / 0.5594 GB, free: 2.363 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.1353, allocations: 0 / 0.5594 GB, free: 2.363 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.1353, allocations: 0 / 0.5594 GB, free: 2.363 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.1353, allocations: 0 / 0.5594 GB, free: 2.363 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006006/0.1359, allocations: 410.8 kB / 0.5598 GB, free: 1.914 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.1359, allocations: 8.031 kB / 0.5598 GB, free: 1.906 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.645e-05/0.136, allocations: 8.172 kB / 0.5599 GB, free: 1.898 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.509e-05/0.136, allocations: 38.69 kB / 0.5599 GB, free: 1.852 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.896e-05/0.136, allocations: 12.88 kB / 0.5599 GB, free: 1.84 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003233/0.1363, allocations: 208.2 kB / 0.5601 GB, free: 1.598 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.077e-05/0.1364, allocations: 4.125 kB / 0.5601 GB, free: 1.594 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.339e-05/0.1364, allocations: 7.938 kB / 0.5601 GB, free: 1.586 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001638/0.1365, allocations: 57.67 kB / 0.5602 GB, free: 1.523 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.1366, allocations: 0 / 0.5602 GB, free: 1.523 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.326e-05/0.1366, allocations: 3.984 kB / 0.5602 GB, free: 1.52 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/0.1366, allocations: 0 / 0.5602 GB, free: 1.52 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.62e-05/0.1367, allocations: 27.92 kB / 0.5602 GB, free: 1.492 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004198/0.1371, allocations: 292.8 kB / 0.5605 GB, free: 1.156 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001874/0.1373, allocations: 54.69 kB / 0.5605 GB, free: 1.094 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.054e-05/0.1373, allocations: 20.84 kB / 0.5606 GB, free: 1.07 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.574e-05/0.1374, allocations: 4 kB / 0.5606 GB, free: 1.066 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001701/0.1375, allocations: 63.33 kB / 0.5606 GB, free: 0.9922 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.353e-06/0.1375, allocations: 0 / 0.5606 GB, free: 0.9922 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005856/0.1381, allocations: 173.4 kB / 0.5608 GB, free: 0.8164 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.158e-05/0.1382, allocations: 55.41 kB / 0.5608 GB, free: 0.75 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001954/0.1384, allocations: 172.4 kB / 0.561 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.524e-05/0.1384, allocations: 25.7 kB / 0.561 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.613e-05/0.1384, allocations: 100.1 kB / 0.5611 GB, free: 448 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.328e-05/0.1385, allocations: 23.8 kB / 0.5611 GB, free: 424 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.901e-05/0.1385, allocations: 29.7 kB / 0.5612 GB, free: 388 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001417/0.1387, allocations: 322.8 kB / 0.5615 GB, free: 56 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.882e-05/0.1387, allocations: 16 kB / 0.5615 GB, free: 40 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.612e-05/0.1388, allocations: 41.64 kB / 0.5615 GB, free: 15.99 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001307/0.1389, allocations: 65.62 kB / 0.5616 GB, free: 15.92 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.1389, allocations: 0 / 0.5616 GB, free: 15.92 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002071/0.1391, allocations: 105.6 kB / 0.5617 GB, free: 15.81 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.1392, allocations: 5.875 kB / 0.5617 GB, free: 15.81 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.1392, allocations: 0 / 0.5617 GB, free: 15.81 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.1392, allocations: 8.031 kB / 0.5617 GB, free: 15.8 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.157e-05/0.1393, allocations: 15.94 kB / 0.5617 GB, free: 15.79 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.365e-06/0.1393, allocations: 3.938 kB / 0.5617 GB, free: 15.78 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.771e-05/0.1393, allocations: 7.984 kB / 0.5617 GB, free: 15.77 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.723e-06/0.1393, allocations: 0 / 0.5617 GB, free: 15.77 MB / 430.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.0001137/0.1395, allocations: 122.7 kB / 0.5619 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.282e-05/0.1395, allocations: 7.953 kB / 0.5619 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.323e-05/0.1395, allocations: 16.7 kB / 0.5619 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.1395, allocations: 8 kB / 0.5619 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.78e-06/0.1395, allocations: 7.875 kB / 0.5619 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.1395, allocations: 0 / 0.5619 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004935/0.14, allocations: 391.3 kB / 0.5623 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.14, allocations: 384 / 0.5623 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.472e-05/0.1401, allocations: 8 kB / 0.5623 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.524e-06/0.1401, allocations: 11.92 kB / 0.5623 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.13e-05/0.1401, allocations: 7.938 kB / 0.5623 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.1401, allocations: 0 / 0.5623 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1401, allocations: 4.031 kB / 0.5623 GB, free: 15.13 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002551/0.1403, allocations: 196.3 kB / 0.5625 GB, free: 14.92 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.803e-05/0.1404, allocations: 92.95 kB / 0.5626 GB, free: 14.81 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.416e-05/0.1404, allocations: 4 kB / 0.5626 GB, free: 14.81 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.133e-05/0.1405, allocations: 3.984 kB / 0.5626 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.866e-05/0.1405, allocations: 11.98 kB / 0.5626 GB, free: 14.79 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.788e-05/0.1405, allocations: 8 kB / 0.5626 GB, free: 14.79 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001229/0.1407, allocations: 131.2 kB / 0.5627 GB, free: 14.66 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1407, allocations: 0 / 0.5627 GB, free: 14.66 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002648/0.1409, allocations: 23.94 kB / 0.5627 GB, free: 14.63 MB / 430.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.002245/0.1432, allocations: 1.094 MB / 0.5638 GB, free: 13.7 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001978/0.1434, allocations: 55.91 kB / 0.5639 GB, free: 13.64 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.1434, allocations: 0 / 0.5639 GB, free: 13.64 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.69e-05/0.1435, allocations: 31.98 kB / 0.5639 GB, free: 13.61 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003561/0.1438, allocations: 35.16 kB / 0.5639 GB, free: 13.58 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001907/0.1457, allocations: 1.601 MB / 0.5655 GB, free: 11.88 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003722/0.1461, allocations: 0.708 MB / 0.5662 GB, free: 11.14 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.687e-05/0.1461, allocations: 17.17 kB / 0.5662 GB, free: 11.12 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.955e-05/0.1462, allocations: 31.42 kB / 0.5662 GB, free: 11.09 MB / 430.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1462, allocations: 0 / 0.5662 GB, free: 11.09 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01889/0.1651, allocations: 3.395 MB / 0.5695 GB, free: 7.77 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.409/8.574, allocations: 12.52 kB / 0.5696 GB, free: 7.762 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test2_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test2.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2.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.778679860988632]