Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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.001642/0.001642, allocations: 116.9 kB / 18.49 MB, free: 4.559 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.002152/0.002152, allocations: 217.4 kB / 21.46 MB, free: 1.605 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.51/1.51, allocations: 230.6 MB / 254.8 MB, free: 15.04 MB / 206.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.2467/0.2467, allocations: 44.9 MB / 355.8 MB, free: 12.39 MB / 286.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.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.CombiTable2Dv.Test10,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test10",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test10,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test10",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002411/0.002411, allocations: 63.91 kB / 0.4886 GB, free: 11.67 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1248/0.1273, allocations: 65.43 MB / 0.5525 GB, free: 10.11 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test10): time 0.003958/0.1312, allocations: 1.659 MB / 0.5541 GB, free: 8.438 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00232/0.1335, allocations: 1.21 MB / 0.5553 GB, free: 7.219 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.736e-05/0.1336, allocations: 7.938 kB / 0.5553 GB, free: 7.211 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002687/0.1339, allocations: 27.84 kB / 0.5553 GB, free: 7.184 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003758/0.1343, allocations: 75.62 kB / 0.5554 GB, free: 7.109 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005232/0.1348, allocations: 183 kB / 0.5555 GB, free: 6.934 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002207/0.135, allocations: 79.77 kB / 0.5556 GB, free: 6.855 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001248/0.1351, allocations: 16.22 kB / 0.5556 GB, free: 6.84 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.631e-05/0.1352, allocations: 43.77 kB / 0.5557 GB, free: 6.797 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001768/0.1354, allocations: 27.86 kB / 0.5557 GB, free: 6.77 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.803e-05/0.1354, allocations: 4 kB / 0.5557 GB, free: 6.766 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002241/0.1356, allocations: 103.9 kB / 0.5558 GB, free: 6.664 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.938e-05/0.1357, allocations: 31.84 kB / 0.5558 GB, free: 6.633 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.296e-05/0.1358, allocations: 35.8 kB / 0.5559 GB, free: 6.598 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003371/0.1361, allocations: 143.5 kB / 0.556 GB, free: 6.457 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.1361, allocations: 8 kB / 0.556 GB, free: 6.449 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.1361, allocations: 0 / 0.556 GB, free: 6.449 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.77e-06/0.1361, allocations: 0 / 0.556 GB, free: 6.449 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006389/0.1368, allocations: 426.6 kB / 0.5564 GB, free: 5.984 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.1368, allocations: 8.031 kB / 0.5564 GB, free: 5.977 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.068e-05/0.1368, allocations: 4.188 kB / 0.5564 GB, free: 5.973 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.12e-05/0.1368, allocations: 38.69 kB / 0.5565 GB, free: 5.926 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.334e-05/0.1369, allocations: 8.891 kB / 0.5565 GB, free: 5.918 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002447/0.1371, allocations: 202.5 kB / 0.5567 GB, free: 5.684 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/0.1371, allocations: 4.359 kB / 0.5567 GB, free: 5.68 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.155e-05/0.1372, allocations: 8.125 kB / 0.5567 GB, free: 5.672 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002362/0.1374, allocations: 71.39 kB / 0.5568 GB, free: 5.59 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.1374, allocations: 4 kB / 0.5568 GB, free: 5.586 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.1374, allocations: 0 / 0.5568 GB, free: 5.586 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.124e-06/0.1374, allocations: 8 kB / 0.5568 GB, free: 5.578 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001588/0.1376, allocations: 47.88 kB / 0.5568 GB, free: 5.531 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005276/0.1381, allocations: 312.7 kB / 0.5571 GB, free: 5.176 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001478/0.1383, allocations: 46.56 kB / 0.5572 GB, free: 5.121 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.506e-05/0.1384, allocations: 32.92 kB / 0.5572 GB, free: 5.086 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.38e-05/0.1384, allocations: 3.938 kB / 0.5572 GB, free: 5.082 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.169e-05/0.1384, allocations: 34.5 kB / 0.5572 GB, free: 5.039 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.423e-06/0.1384, allocations: 0 / 0.5572 GB, free: 5.039 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0009206/0.1393, allocations: 229.3 kB / 0.5574 GB, free: 4.809 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.651e-05/0.1394, allocations: 77.11 kB / 0.5575 GB, free: 4.715 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001973/0.1396, allocations: 161.5 kB / 0.5577 GB, free: 4.547 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.798e-05/0.1396, allocations: 25.7 kB / 0.5577 GB, free: 4.516 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.648e-05/0.1397, allocations: 104 kB / 0.5578 GB, free: 4.41 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.633e-05/0.1397, allocations: 23.92 kB / 0.5578 GB, free: 4.387 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.596e-05/0.1398, allocations: 21.7 kB / 0.5578 GB, free: 4.359 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001547/0.1399, allocations: 326.8 kB / 0.5581 GB, free: 4.031 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001267/0.14, allocations: 35.97 kB / 0.5582 GB, free: 3.996 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001364/0.1402, allocations: 53.62 kB / 0.5582 GB, free: 3.938 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002553/0.1404, allocations: 97.03 kB / 0.5583 GB, free: 3.84 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.1404, allocations: 0 / 0.5583 GB, free: 3.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000324/0.1408, allocations: 125.5 kB / 0.5584 GB, free: 3.711 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.1408, allocations: 4 kB / 0.5584 GB, free: 3.707 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.1408, allocations: 0 / 0.5584 GB, free: 3.707 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.1408, allocations: 0 / 0.5584 GB, free: 3.707 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001345/0.1409, allocations: 23.97 kB / 0.5585 GB, free: 3.684 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.177e-06/0.1409, allocations: 7.938 kB / 0.5585 GB, free: 3.676 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.12e-05/0.141, allocations: 11.98 kB / 0.5585 GB, free: 3.664 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-06/0.141, allocations: 0 / 0.5585 GB, free: 3.664 MB / 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 (7): * Single equations (assignments): 7 * 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.0001338/0.1412, allocations: 124 kB / 0.5586 GB, free: 3.535 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.469e-05/0.1412, allocations: 11.91 kB / 0.5586 GB, free: 3.523 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004035/0.1416, allocations: 146.2 kB / 0.5588 GB, free: 3.371 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.1416, allocations: 0 / 0.5588 GB, free: 3.371 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/0.1416, allocations: 7.938 kB / 0.5588 GB, free: 3.363 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.1416, allocations: 3.984 kB / 0.5588 GB, free: 3.359 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006262/0.1423, allocations: 406.4 kB / 0.5592 GB, free: 2.906 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.1423, allocations: 0 / 0.5592 GB, free: 2.906 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001014/0.1424, allocations: 27.92 kB / 0.5592 GB, free: 2.879 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.532e-06/0.1424, allocations: 3.938 kB / 0.5592 GB, free: 2.875 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.1424, allocations: 4 kB / 0.5592 GB, free: 2.871 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.586e-06/0.1424, allocations: 3.984 kB / 0.5592 GB, free: 2.867 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.1424, allocations: 0 / 0.5592 GB, free: 2.867 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003754/0.1428, allocations: 223.4 kB / 0.5594 GB, free: 2.633 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.487e-05/0.1428, allocations: 85.06 kB / 0.5595 GB, free: 2.531 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.415e-05/0.1428, allocations: 7.938 kB / 0.5595 GB, free: 2.523 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001045/0.1429, allocations: 11.98 kB / 0.5595 GB, free: 2.512 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.349e-05/0.143, allocations: 12.27 kB / 0.5595 GB, free: 2.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.731e-06/0.143, allocations: 0 / 0.5595 GB, free: 2.5 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001182/0.1431, allocations: 125.4 kB / 0.5596 GB, free: 2.379 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1431, allocations: 0 / 0.5596 GB, free: 2.379 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003237/0.1434, allocations: 43.81 kB / 0.5597 GB, free: 2.336 MB / 414.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 (7): * Single equations (assignments): 7 * 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.002386/0.1458, allocations: 1.148 MB / 0.5608 GB, free: 1.355 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003353/0.1462, allocations: 95.86 kB / 0.5609 GB, free: 1.262 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.1462, allocations: 0 / 0.5609 GB, free: 1.262 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001351/0.1463, allocations: 43.97 kB / 0.5609 GB, free: 1.219 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003519/0.1466, allocations: 33.59 kB / 0.561 GB, free: 1.191 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002352/0.149, allocations: 1.651 MB / 0.5626 GB, free: 15.46 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003445/0.1493, allocations: 0.7078 MB / 0.5633 GB, free: 14.72 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 9.732e-05/0.1494, allocations: 32.39 kB / 0.5633 GB, free: 14.69 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.402e-05/0.1495, allocations: 27.42 kB / 0.5633 GB, free: 14.66 MB / 430.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1495, allocations: 0 / 0.5633 GB, free: 14.66 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02313/0.1727, allocations: 3.649 MB / 0.5669 GB, free: 11.03 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.557/8.73, allocations: 19.97 kB / 0.5669 GB, free: 11.01 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test10_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test10.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test10/Test10.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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.921243519987911]