Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.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.001616/0.001616, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.001703/0.001703, allocations: 199.3 kB / 20.74 MB, free: 2.32 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.552/1.552, allocations: 230.6 MB / 254.1 MB, free: 15.07 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.2376/0.2376, allocations: 46.93 MB / 357.1 MB, free: 10.3 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.Test10,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test10,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test10",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001887/0.001887, allocations: 67.91 kB / 0.491 GB, free: 7.883 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.1255, allocations: 66 MB / 0.5554 GB, free: 5.758 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.003376/0.1289, allocations: 1.937 MB / 0.5573 GB, free: 3.805 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001812/0.1307, allocations: 1.072 MB / 0.5584 GB, free: 2.727 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001036/0.1308, allocations: 4 kB / 0.5584 GB, free: 2.723 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003124/0.1311, allocations: 43.7 kB / 0.5584 GB, free: 2.68 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003323/0.1314, allocations: 103.5 kB / 0.5585 GB, free: 2.578 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002394/0.1317, allocations: 91.66 kB / 0.5586 GB, free: 2.488 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002371/0.1319, allocations: 147.5 kB / 0.5588 GB, free: 2.344 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001197/0.132, allocations: 25.55 kB / 0.5588 GB, free: 2.316 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001232/0.1321, allocations: 63.66 kB / 0.5588 GB, free: 2.254 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001023/0.1322, allocations: 51.69 kB / 0.5589 GB, free: 2.203 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.046e-05/0.1323, allocations: 8 kB / 0.5589 GB, free: 2.195 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001077/0.1324, allocations: 47.98 kB / 0.5589 GB, free: 2.148 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.522e-05/0.1324, allocations: 27.86 kB / 0.559 GB, free: 2.121 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.921e-05/0.1325, allocations: 55.66 kB / 0.559 GB, free: 2.066 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002718/0.1328, allocations: 151.3 kB / 0.5592 GB, free: 1.918 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1328, allocations: 0 / 0.5592 GB, free: 1.918 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.1328, allocations: 0 / 0.5592 GB, free: 1.918 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.1328, allocations: 4 kB / 0.5592 GB, free: 1.914 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006876/0.1335, allocations: 496.1 kB / 0.5596 GB, free: 1.375 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.1335, allocations: 12.03 kB / 0.5597 GB, free: 1.363 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.914e-05/0.1336, allocations: 34.75 kB / 0.5597 GB, free: 1.32 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.786e-05/0.1336, allocations: 16.84 kB / 0.5597 GB, free: 1.305 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000357/0.134, allocations: 236.8 kB / 0.5599 GB, free: 1.031 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/0.134, allocations: 4.375 kB / 0.5599 GB, free: 1.027 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.082e-05/0.134, allocations: 19.92 kB / 0.56 GB, free: 1.008 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000243/0.1343, allocations: 102.4 kB / 0.56 GB, free: 0.8945 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.1343, allocations: 3.938 kB / 0.5601 GB, free: 0.8906 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.592e-05/0.1343, allocations: 8 kB / 0.5601 GB, free: 0.8828 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.201e-06/0.1343, allocations: 3.984 kB / 0.5601 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001546/0.1344, allocations: 47.95 kB / 0.5601 GB, free: 0.832 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006513/0.1351, allocations: 0.5088 MB / 0.5606 GB, free: 272 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003466/0.1354, allocations: 78.66 kB / 0.5607 GB, free: 184 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.572e-05/0.1355, allocations: 36.84 kB / 0.5607 GB, free: 144 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.904e-05/0.1356, allocations: 7.938 kB / 0.5607 GB, free: 136 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002001/0.1358, allocations: 79.38 kB / 0.5608 GB, free: 44 kB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.413e-06/0.1358, allocations: 0 / 0.5608 GB, free: 44 kB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004555/0.1362, allocations: 153.4 kB / 0.5609 GB, free: 15.89 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.431e-05/0.1363, allocations: 59.39 kB / 0.561 GB, free: 15.82 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002282/0.1365, allocations: 198.3 kB / 0.5612 GB, free: 15.61 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.322e-05/0.1365, allocations: 25.7 kB / 0.5612 GB, free: 15.58 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.02e-05/0.1366, allocations: 120 kB / 0.5613 GB, free: 15.46 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.085e-05/0.1366, allocations: 31.73 kB / 0.5614 GB, free: 15.43 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.103e-05/0.1367, allocations: 25.72 kB / 0.5614 GB, free: 15.4 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001415/0.1368, allocations: 326.8 kB / 0.5617 GB, free: 15.07 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.348e-05/0.1369, allocations: 31.98 kB / 0.5617 GB, free: 15.04 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001249/0.137, allocations: 80.33 kB / 0.5618 GB, free: 14.95 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001948/0.1372, allocations: 92.22 kB / 0.5619 GB, free: 14.84 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1372, allocations: 0 / 0.5619 GB, free: 14.84 MB / 430.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000278/0.1375, allocations: 137.4 kB / 0.562 GB, free: 14.7 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.1375, allocations: 8 kB / 0.562 GB, free: 14.69 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.1375, allocations: 0 / 0.562 GB, free: 14.69 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.1376, allocations: 3.938 kB / 0.562 GB, free: 14.69 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001027/0.1377, allocations: 28.05 kB / 0.5621 GB, free: 14.66 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.1377, allocations: 7.984 kB / 0.5621 GB, free: 14.65 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.043e-05/0.1377, allocations: 16.41 kB / 0.5621 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.209e-05/0.1378, allocations: 8 kB / 0.5621 GB, free: 14.63 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001405/0.1379, allocations: 128 kB / 0.5622 GB, free: 14.5 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.783e-05/0.1379, allocations: 15.91 kB / 0.5622 GB, free: 14.48 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.005e-05/0.138, allocations: 17.39 kB / 0.5622 GB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.138, allocations: 7.875 kB / 0.5623 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.138, allocations: 0 / 0.5623 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.138, allocations: 7.938 kB / 0.5623 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002655/0.1382, allocations: 213.6 kB / 0.5625 GB, free: 14.19 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1382, allocations: 0 / 0.5625 GB, free: 14.19 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.922e-05/0.1383, allocations: 19.92 kB / 0.5625 GB, free: 14.17 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.1383, allocations: 0 / 0.5625 GB, free: 14.17 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.331e-05/0.1383, allocations: 4 kB / 0.5625 GB, free: 14.16 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.1383, allocations: 3.938 kB / 0.5625 GB, free: 14.16 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.1383, allocations: 0 / 0.5625 GB, free: 14.16 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003999/0.1387, allocations: 188.9 kB / 0.5627 GB, free: 13.96 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.915e-05/0.1388, allocations: 89.05 kB / 0.5628 GB, free: 13.85 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.215e-05/0.1388, allocations: 0 / 0.5628 GB, free: 13.85 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.671e-05/0.1389, allocations: 11.92 kB / 0.5628 GB, free: 13.84 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.058e-05/0.1389, allocations: 8 kB / 0.5628 GB, free: 13.83 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.557e-05/0.139, allocations: 4 kB / 0.5628 GB, free: 13.83 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001326/0.1391, allocations: 144.4 kB / 0.5629 GB, free: 13.69 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1391, allocations: 0 / 0.5629 GB, free: 13.69 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002328/0.1393, allocations: 35.98 kB / 0.563 GB, free: 13.65 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.002033/0.1413, allocations: 1.017 MB / 0.5639 GB, free: 12.77 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002689/0.1416, allocations: 87.83 kB / 0.564 GB, free: 12.68 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1416, allocations: 0 / 0.564 GB, free: 12.68 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001036/0.1417, allocations: 35.92 kB / 0.5641 GB, free: 12.65 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003068/0.142, allocations: 47.97 kB / 0.5641 GB, free: 12.6 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002134/0.1442, allocations: 1.759 MB / 0.5658 GB, free: 10.73 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003655/0.1445, allocations: 0.7162 MB / 0.5665 GB, free: 9.992 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.164e-05/0.1446, allocations: 13.42 kB / 0.5665 GB, free: 9.98 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.076e-05/0.1447, allocations: 43.42 kB / 0.5666 GB, free: 9.938 MB / 430.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1447, allocations: 0 / 0.5666 GB, free: 9.938 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02784/0.1725, allocations: 3.857 MB / 0.5703 GB, free: 6.148 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.106/8.278, allocations: 0 / 0.5703 GB, free: 6.148 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test10_fmu --startTime=0 --stopTime=2 --stepSize=0.00039976 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test10.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.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.45618794998154]