Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test23.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.001727/0.001727, allocations: 113 kB / 18.49 MB, free: 4.539 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.002143/0.002143, allocations: 217.4 kB / 21.46 MB, free: 1.586 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.594/1.594, allocations: 230.6 MB / 254.8 MB, free: 15.08 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.2581/0.2581, 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.CombiTable1Ds.Test23,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test23",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test23,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test23",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002239/0.002239, allocations: 68.05 kB / 0.4916 GB, free: 7.957 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1354/0.1376, allocations: 65.99 MB / 0.5561 GB, free: 5.844 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test23): time 0.003412/0.141, allocations: 1.603 MB / 0.5576 GB, free: 4.23 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002017/0.143, allocations: 1.179 MB / 0.5588 GB, free: 3.043 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.603e-05/0.1431, allocations: 0 / 0.5588 GB, free: 3.043 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002309/0.1433, allocations: 19.84 kB / 0.5588 GB, free: 3.023 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003247/0.1437, allocations: 79.62 kB / 0.5589 GB, free: 2.945 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002918/0.144, allocations: 95.69 kB / 0.559 GB, free: 2.852 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001718/0.1441, allocations: 67.78 kB / 0.559 GB, free: 2.785 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.1442, allocations: 7.984 kB / 0.559 GB, free: 2.777 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.071e-05/0.1443, allocations: 31.91 kB / 0.5591 GB, free: 2.746 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001508/0.1444, allocations: 27.86 kB / 0.5591 GB, free: 2.719 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.7e-05/0.1445, allocations: 8 kB / 0.5591 GB, free: 2.711 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002072/0.1447, allocations: 103.9 kB / 0.5592 GB, free: 2.609 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.277e-05/0.1447, allocations: 15.92 kB / 0.5592 GB, free: 2.594 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.461e-05/0.1448, allocations: 27.8 kB / 0.5593 GB, free: 2.566 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002832/0.145, allocations: 135.5 kB / 0.5594 GB, free: 2.434 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.1451, allocations: 0 / 0.5594 GB, free: 2.434 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1451, allocations: 0 / 0.5594 GB, free: 2.434 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.642e-06/0.1451, allocations: 0 / 0.5594 GB, free: 2.434 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005836/0.1456, allocations: 414.7 kB / 0.5598 GB, free: 1.98 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.1457, allocations: 8.031 kB / 0.5598 GB, free: 1.973 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.006e-05/0.1457, allocations: 4.188 kB / 0.5598 GB, free: 1.969 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.205e-05/0.1457, allocations: 34.75 kB / 0.5598 GB, free: 1.926 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.915e-05/0.1458, allocations: 8.891 kB / 0.5598 GB, free: 1.918 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002364/0.146, allocations: 196.2 kB / 0.56 GB, free: 1.688 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.004e-05/0.146, allocations: 384 / 0.56 GB, free: 1.688 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.893e-05/0.1461, allocations: 8.109 kB / 0.56 GB, free: 1.68 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00018/0.1462, allocations: 67.33 kB / 0.5601 GB, free: 1.602 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.1462, allocations: 8 kB / 0.5601 GB, free: 1.594 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.417e-06/0.1463, allocations: 0 / 0.5601 GB, free: 1.594 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.1463, allocations: 0 / 0.5601 GB, free: 1.594 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.845e-05/0.1464, allocations: 19.98 kB / 0.5601 GB, free: 1.574 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003903/0.1468, allocations: 276.9 kB / 0.5604 GB, free: 1.254 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002141/0.147, allocations: 46.5 kB / 0.5604 GB, free: 1.199 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.74e-05/0.147, allocations: 12.86 kB / 0.5604 GB, free: 1.184 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.873e-05/0.1471, allocations: 4.094 kB / 0.5604 GB, free: 1.18 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.629e-05/0.1471, allocations: 34.55 kB / 0.5605 GB, free: 1.137 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.1471, allocations: 0 / 0.5605 GB, free: 1.137 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005963/0.1477, allocations: 141.4 kB / 0.5606 GB, free: 0.9922 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.153e-05/0.1477, allocations: 81.11 kB / 0.5607 GB, free: 0.8945 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001761/0.1479, allocations: 147.5 kB / 0.5608 GB, free: 0.7422 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.271e-05/0.1479, allocations: 25.7 kB / 0.5609 GB, free: 0.7109 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.145e-05/0.148, allocations: 96.12 kB / 0.5609 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.493e-05/0.148, allocations: 19.8 kB / 0.561 GB, free: 0.5938 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.408e-05/0.1481, allocations: 21.7 kB / 0.561 GB, free: 0.5664 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001367/0.1482, allocations: 314.8 kB / 0.5613 GB, free: 256 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.283e-05/0.1483, allocations: 27.92 kB / 0.5613 GB, free: 228 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.285e-05/0.1484, allocations: 33.77 kB / 0.5613 GB, free: 188 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001406/0.1485, allocations: 44.83 kB / 0.5614 GB, free: 140 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.1485, allocations: 0 / 0.5614 GB, free: 140 kB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000208/0.1487, allocations: 89.55 kB / 0.5615 GB, free: 44 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.1487, allocations: 6.188 kB / 0.5615 GB, free: 40 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.1487, allocations: 4.031 kB / 0.5615 GB, free: 36 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.1488, allocations: 0 / 0.5615 GB, free: 36 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.774e-05/0.1488, allocations: 12 kB / 0.5615 GB, free: 24 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.1488, allocations: 3.984 kB / 0.5615 GB, free: 20 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.351e-05/0.1489, allocations: 7.938 kB / 0.5615 GB, free: 12 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.1489, allocations: 3.938 kB / 0.5615 GB, free: 8 kB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.0001106/0.149, allocations: 120 kB / 0.5616 GB, free: 15.88 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.043e-05/0.149, allocations: 7.953 kB / 0.5616 GB, free: 15.88 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002576/0.1493, allocations: 101.9 kB / 0.5617 GB, free: 15.77 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.1493, allocations: 0 / 0.5617 GB, free: 15.77 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.1493, allocations: 0 / 0.5617 GB, free: 15.77 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.1493, allocations: 3.938 kB / 0.5617 GB, free: 15.76 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004898/0.1498, allocations: 346.5 kB / 0.5621 GB, free: 15.37 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1498, allocations: 3.938 kB / 0.5621 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.346e-05/0.1499, allocations: 16.3 kB / 0.5621 GB, free: 15.35 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.1499, allocations: 4 kB / 0.5621 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.175e-05/0.1499, allocations: 3.938 kB / 0.5621 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.1499, allocations: 4 kB / 0.5621 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.1499, allocations: 0 / 0.5621 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002552/0.1501, allocations: 175.5 kB / 0.5623 GB, free: 15.15 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.591e-05/0.1502, allocations: 85.06 kB / 0.5623 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.069e-05/0.1502, allocations: 7.938 kB / 0.5623 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.485e-05/0.1503, allocations: 11.98 kB / 0.5624 GB, free: 15.03 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.981e-05/0.1503, allocations: 4.281 kB / 0.5624 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-06/0.1503, allocations: 0 / 0.5624 GB, free: 15.02 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001093/0.1505, allocations: 115.2 kB / 0.5625 GB, free: 14.91 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1505, allocations: 0 / 0.5625 GB, free: 14.91 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003093/0.1508, allocations: 43.75 kB / 0.5625 GB, free: 14.87 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.002336/0.1531, allocations: 1.107 MB / 0.5636 GB, free: 13.93 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002273/0.1533, allocations: 47.91 kB / 0.5636 GB, free: 13.88 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1533, allocations: 0 / 0.5636 GB, free: 13.88 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.153e-05/0.1534, allocations: 19.98 kB / 0.5637 GB, free: 13.86 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003742/0.1538, allocations: 19.98 kB / 0.5637 GB, free: 13.84 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00198/0.1558, allocations: 1.426 MB / 0.5651 GB, free: 12.34 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003405/0.1561, allocations: 0.6924 MB / 0.5657 GB, free: 11.62 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.381e-05/0.1562, allocations: 24.17 kB / 0.5658 GB, free: 11.59 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.108e-05/0.1562, allocations: 35.42 kB / 0.5658 GB, free: 11.56 MB / 430.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1562, allocations: 0 / 0.5658 GB, free: 11.56 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02175/0.178, allocations: 3.273 MB / 0.569 GB, free: 8.305 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.553/8.731, allocations: 8.938 kB / 0.569 GB, free: 8.297 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test23_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test23_fmu --startTime=0 --stopTime=100 --stepSize=0.019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test23.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test23.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: 12.103203614999074]