Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6.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.001348/0.001348, allocations: 123.4 kB / 17.79 MB, free: 5.277 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.001677/0.001677, allocations: 204.3 kB / 20.74 MB, free: 2.336 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.47/1.47, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.2306/0.2306, allocations: 46.92 MB / 357.1 MB, free: 10.31 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.CombiTable1Dv.Test6,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test6,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001987/0.001987, allocations: 59.91 kB / 0.491 GB, free: 7.934 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1282/0.1302, allocations: 66 MB / 0.5554 GB, free: 5.809 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test6): time 0.003384/0.1336, allocations: 1.657 MB / 0.557 GB, free: 4.141 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001128/0.1347, allocations: 0.5611 MB / 0.5576 GB, free: 3.574 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.086e-05/0.1347, allocations: 0 / 0.5576 GB, free: 3.574 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003157/0.1351, allocations: 95.73 kB / 0.5577 GB, free: 3.48 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003147/0.1354, allocations: 115.6 kB / 0.5578 GB, free: 3.367 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003317/0.1357, allocations: 115.7 kB / 0.5579 GB, free: 3.254 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001896/0.1359, allocations: 99.73 kB / 0.558 GB, free: 3.156 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001226/0.136, allocations: 23.98 kB / 0.558 GB, free: 3.133 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.145e-05/0.1361, allocations: 47.83 kB / 0.558 GB, free: 3.086 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001248/0.1362, allocations: 71.73 kB / 0.5581 GB, free: 3.016 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.654e-05/0.1362, allocations: 4 kB / 0.5581 GB, free: 3.012 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001047/0.1363, allocations: 47.98 kB / 0.5582 GB, free: 2.965 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.91e-05/0.1364, allocations: 31.86 kB / 0.5582 GB, free: 2.934 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.794e-05/0.1365, allocations: 47.66 kB / 0.5582 GB, free: 2.887 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002279/0.1367, allocations: 127.4 kB / 0.5584 GB, free: 2.762 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.765e-06/0.1367, allocations: 4 kB / 0.5584 GB, free: 2.758 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.006e-06/0.1367, allocations: 0 / 0.5584 GB, free: 2.758 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.008e-05/0.1367, allocations: 0 / 0.5584 GB, free: 2.758 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006264/0.1373, allocations: 438.6 kB / 0.5588 GB, free: 2.281 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.1374, allocations: 8.031 kB / 0.5588 GB, free: 2.273 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.801e-05/0.1374, allocations: 42.69 kB / 0.5588 GB, free: 2.223 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.458e-05/0.1375, allocations: 20.83 kB / 0.5589 GB, free: 2.203 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002389/0.1377, allocations: 204.1 kB / 0.559 GB, free: 1.965 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.568e-05/0.1377, allocations: 8.375 kB / 0.5591 GB, free: 1.957 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.195e-05/0.1377, allocations: 4.375 kB / 0.5591 GB, free: 1.953 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001833/0.1379, allocations: 73.59 kB / 0.5591 GB, free: 1.875 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.95e-05/0.138, allocations: 11.95 kB / 0.5591 GB, free: 1.863 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.138, allocations: 4 kB / 0.5591 GB, free: 1.859 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.728e-06/0.138, allocations: 0 / 0.5591 GB, free: 1.859 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001308/0.1381, allocations: 51.59 kB / 0.5592 GB, free: 1.812 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005699/0.1387, allocations: 340.7 kB / 0.5595 GB, free: 1.43 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001607/0.1388, allocations: 70.48 kB / 0.5596 GB, free: 1.352 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.615e-05/0.1389, allocations: 28.84 kB / 0.5596 GB, free: 1.32 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.39e-05/0.1389, allocations: 3.938 kB / 0.5596 GB, free: 1.316 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.117e-05/0.1389, allocations: 34.56 kB / 0.5597 GB, free: 1.273 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.162e-06/0.1389, allocations: 0 / 0.5597 GB, free: 1.273 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.001129/0.1401, allocations: 341.1 kB / 0.56 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.446e-05/0.1401, allocations: 59.39 kB / 0.56 GB, free: 0.8633 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002554/0.1404, allocations: 239.5 kB / 0.5603 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.899e-05/0.1404, allocations: 25.7 kB / 0.5603 GB, free: 0.582 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.1e-05/0.1405, allocations: 108.1 kB / 0.5604 GB, free: 484 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.969e-05/0.1405, allocations: 47.64 kB / 0.5604 GB, free: 436 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.41e-05/0.1406, allocations: 29.66 kB / 0.5605 GB, free: 400 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001751/0.1408, allocations: 330.8 kB / 0.5608 GB, free: 60 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001194/0.1409, allocations: 43.97 kB / 0.5608 GB, free: 16 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001237/0.141, allocations: 47.97 kB / 0.5609 GB, free: 15.97 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002272/0.1412, allocations: 104.8 kB / 0.561 GB, free: 15.86 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.1412, allocations: 0 / 0.561 GB, free: 15.86 MB / 430.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003187/0.1415, allocations: 157.7 kB / 0.5611 GB, free: 15.7 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.1416, allocations: 4 kB / 0.5611 GB, free: 15.7 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.1416, allocations: 3.938 kB / 0.5611 GB, free: 15.7 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.1416, allocations: 0 / 0.5611 GB, free: 15.7 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001403/0.1417, allocations: 31.92 kB / 0.5612 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.221e-06/0.1417, allocations: 0 / 0.5612 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.117e-05/0.1418, allocations: 11.98 kB / 0.5612 GB, free: 15.65 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.19e-05/0.1418, allocations: 4 kB / 0.5612 GB, free: 15.65 MB / 430.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 (13): * Single equations (assignments): 13 * 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.0001441/0.1419, allocations: 136 kB / 0.5613 GB, free: 15.51 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.216e-05/0.142, allocations: 15.91 kB / 0.5613 GB, free: 15.49 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000499/0.1425, allocations: 203.1 kB / 0.5615 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/0.1425, allocations: 4 kB / 0.5615 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.255e-06/0.1425, allocations: 3.984 kB / 0.5615 GB, free: 15.28 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.1425, allocations: 3.938 kB / 0.5615 GB, free: 15.28 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008093/0.1433, allocations: 0.4914 MB / 0.562 GB, free: 14.73 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.184e-06/0.1433, allocations: 8 kB / 0.562 GB, free: 14.72 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001049/0.1434, allocations: 23.98 kB / 0.562 GB, free: 14.7 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.1434, allocations: 0 / 0.562 GB, free: 14.7 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.463e-05/0.1434, allocations: 7.938 kB / 0.562 GB, free: 14.69 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.1434, allocations: 0 / 0.562 GB, free: 14.69 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.1434, allocations: 0 / 0.562 GB, free: 14.69 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003978/0.1438, allocations: 264.2 kB / 0.5623 GB, free: 14.41 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.207e-05/0.1439, allocations: 89.02 kB / 0.5624 GB, free: 14.3 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.302e-05/0.1439, allocations: 7.938 kB / 0.5624 GB, free: 14.3 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.774e-05/0.144, allocations: 4 kB / 0.5624 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.536e-05/0.1441, allocations: 7.984 kB / 0.5624 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.235e-05/0.1441, allocations: 8 kB / 0.5624 GB, free: 14.28 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001953/0.1443, allocations: 177.2 kB / 0.5626 GB, free: 14.11 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1443, allocations: 4 kB / 0.5626 GB, free: 14.1 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002846/0.1446, allocations: 35.88 kB / 0.5626 GB, free: 14.07 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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.002469/0.147, allocations: 1.134 MB / 0.5637 GB, free: 13.09 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003219/0.1474, allocations: 111.9 kB / 0.5638 GB, free: 12.98 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1474, allocations: 0 / 0.5638 GB, free: 12.98 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001315/0.1475, allocations: 67.83 kB / 0.5639 GB, free: 12.91 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004079/0.1479, allocations: 19.75 kB / 0.5639 GB, free: 12.89 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002795/0.1507, allocations: 1.915 MB / 0.5658 GB, free: 10.89 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005668/0.1513, allocations: 0.7309 MB / 0.5665 GB, free: 10.14 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001081/0.1514, allocations: 24.53 kB / 0.5665 GB, free: 10.11 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.974e-05/0.1515, allocations: 43.42 kB / 0.5666 GB, free: 10.07 MB / 430.1 MB Notification: Performance of SimCode: time 1.774e-06/0.1515, allocations: 0 / 0.5666 GB, free: 10.07 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02646/0.1779, allocations: 3.65 MB / 0.5701 GB, free: 6.469 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.292/8.47, allocations: 7.047 kB / 0.5701 GB, free: 6.469 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test6_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test6.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6.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.505065802950412]