Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.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.00132/0.00132, allocations: 116.2 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.001473/0.001473, allocations: 218.9 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.527/1.527, allocations: 230.6 MB / 254.8 MB, free: 14.88 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.2532/0.2532, allocations: 44.91 MB / 355.8 MB, free: 12.3 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.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test12",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test12",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.002157/0.002157, allocations: 63.91 kB / 0.4886 GB, free: 11.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1269/0.1291, allocations: 65.42 MB / 0.5525 GB, free: 10.11 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test12): time 0.003983/0.1331, allocations: 1.655 MB / 0.5541 GB, free: 8.438 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002415/0.1355, allocations: 1.214 MB / 0.5553 GB, free: 7.215 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.273e-05/0.1356, allocations: 4 kB / 0.5553 GB, free: 7.211 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002575/0.1358, allocations: 23.8 kB / 0.5553 GB, free: 7.188 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004319/0.1363, allocations: 83.61 kB / 0.5554 GB, free: 7.105 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005845/0.1369, allocations: 179.3 kB / 0.5555 GB, free: 6.934 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002544/0.1371, allocations: 79.75 kB / 0.5556 GB, free: 6.855 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000142/0.1372, allocations: 20.2 kB / 0.5556 GB, free: 6.836 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.137e-05/0.1373, allocations: 35.8 kB / 0.5557 GB, free: 6.801 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002014/0.1375, allocations: 41.33 kB / 0.5557 GB, free: 6.762 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.078e-05/0.1376, allocations: 4 kB / 0.5557 GB, free: 6.758 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002707/0.1378, allocations: 103.9 kB / 0.5558 GB, free: 6.656 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.155e-05/0.1379, allocations: 19.92 kB / 0.5558 GB, free: 6.637 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.367e-05/0.138, allocations: 35.78 kB / 0.5559 GB, free: 6.602 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003702/0.1383, allocations: 155.4 kB / 0.556 GB, free: 6.449 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.1383, allocations: 0 / 0.556 GB, free: 6.449 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.1383, allocations: 0 / 0.556 GB, free: 6.449 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.311e-05/0.1384, allocations: 4 kB / 0.556 GB, free: 6.445 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.0007585/0.1391, allocations: 425.1 kB / 0.5564 GB, free: 5.984 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.001e-05/0.1392, allocations: 8.031 kB / 0.5564 GB, free: 5.977 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.637e-05/0.1392, allocations: 192 / 0.5564 GB, free: 5.977 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.673e-05/0.1392, allocations: 42.75 kB / 0.5565 GB, free: 5.926 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.118e-05/0.1393, allocations: 16.88 kB / 0.5565 GB, free: 5.91 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003129/0.1396, allocations: 204.2 kB / 0.5567 GB, free: 5.672 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/0.1396, allocations: 4.375 kB / 0.5567 GB, free: 5.668 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.849e-05/0.1396, allocations: 4.125 kB / 0.5567 GB, free: 5.664 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002128/0.1399, allocations: 75.38 kB / 0.5568 GB, free: 5.578 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/0.1399, allocations: 4 kB / 0.5568 GB, free: 5.574 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.333e-05/0.1399, allocations: 0 / 0.5568 GB, free: 5.574 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.877e-06/0.1399, allocations: 3.984 kB / 0.5568 GB, free: 5.57 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001639/0.1401, allocations: 43.97 kB / 0.5568 GB, free: 5.527 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005721/0.1406, allocations: 316.6 kB / 0.5571 GB, free: 5.168 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001668/0.1408, allocations: 50.55 kB / 0.5572 GB, free: 5.109 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.319e-05/0.1409, allocations: 20.94 kB / 0.5572 GB, free: 5.086 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.523e-05/0.1409, allocations: 12.06 kB / 0.5572 GB, free: 5.074 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.626e-05/0.141, allocations: 30.56 kB / 0.5572 GB, free: 5.035 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.362e-06/0.141, allocations: 0 / 0.5572 GB, free: 5.035 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0009726/0.1419, allocations: 225.3 kB / 0.5574 GB, free: 4.809 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.512e-05/0.142, allocations: 85.09 kB / 0.5575 GB, free: 4.707 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002008/0.1422, allocations: 155.3 kB / 0.5577 GB, free: 4.547 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.1422, allocations: 29.64 kB / 0.5577 GB, free: 4.512 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.614e-05/0.1423, allocations: 108 kB / 0.5578 GB, free: 4.402 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.549e-05/0.1423, allocations: 19.86 kB / 0.5578 GB, free: 4.383 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.721e-05/0.1424, allocations: 21.7 kB / 0.5578 GB, free: 4.355 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.1425, allocations: 326.8 kB / 0.5582 GB, free: 4.027 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001434/0.1427, allocations: 31.97 kB / 0.5582 GB, free: 3.996 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000145/0.1428, allocations: 53.62 kB / 0.5582 GB, free: 3.938 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002667/0.1431, allocations: 96.77 kB / 0.5583 GB, free: 3.84 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.1431, allocations: 4.031 kB / 0.5583 GB, free: 3.836 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003289/0.1434, allocations: 117.6 kB / 0.5584 GB, free: 3.715 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.1434, allocations: 7.938 kB / 0.5585 GB, free: 3.707 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.1435, allocations: 3.984 kB / 0.5585 GB, free: 3.703 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.1435, allocations: 3.938 kB / 0.5585 GB, free: 3.699 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001338/0.1436, allocations: 19.98 kB / 0.5585 GB, free: 3.68 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.516e-05/0.1436, allocations: 3.938 kB / 0.5585 GB, free: 3.676 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.953e-05/0.1437, allocations: 19.98 kB / 0.5585 GB, free: 3.656 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.564e-06/0.1437, allocations: 0 / 0.5585 GB, free: 3.656 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.0001039/0.1438, allocations: 120 kB / 0.5586 GB, free: 3.531 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.525e-05/0.1439, allocations: 11.91 kB / 0.5586 GB, free: 3.52 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004179/0.1443, allocations: 138.6 kB / 0.5588 GB, free: 3.375 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.1443, allocations: 4 kB / 0.5588 GB, free: 3.371 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.909e-06/0.1443, allocations: 7.922 kB / 0.5588 GB, free: 3.363 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.1443, allocations: 0 / 0.5588 GB, free: 3.363 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006889/0.145, allocations: 422.5 kB / 0.5592 GB, free: 2.895 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.145, allocations: 0 / 0.5592 GB, free: 2.895 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.668e-05/0.1451, allocations: 15.98 kB / 0.5592 GB, free: 2.879 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.034e-05/0.1451, allocations: 15.92 kB / 0.5592 GB, free: 2.863 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.099e-05/0.1451, allocations: 0 / 0.5592 GB, free: 2.863 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.558e-06/0.1451, allocations: 7.938 kB / 0.5592 GB, free: 2.855 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.1451, allocations: 0 / 0.5592 GB, free: 2.855 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004096/0.1455, allocations: 215.4 kB / 0.5594 GB, free: 2.629 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.644e-05/0.1456, allocations: 89.34 kB / 0.5595 GB, free: 2.523 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.258e-05/0.1456, allocations: 11.92 kB / 0.5595 GB, free: 2.512 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001121/0.1457, allocations: 8 kB / 0.5595 GB, free: 2.504 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.114e-05/0.1458, allocations: 11.97 kB / 0.5595 GB, free: 2.492 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.526e-06/0.1458, allocations: 4 kB / 0.5595 GB, free: 2.488 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001313/0.1459, allocations: 119.2 kB / 0.5596 GB, free: 2.371 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1459, allocations: 0 / 0.5596 GB, free: 2.371 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003386/0.1463, allocations: 39.86 kB / 0.5597 GB, free: 2.332 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.002588/0.1488, allocations: 1.145 MB / 0.5608 GB, free: 1.352 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003952/0.1492, allocations: 91.89 kB / 0.5609 GB, free: 1.262 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.1492, allocations: 4 kB / 0.5609 GB, free: 1.258 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001456/0.1494, allocations: 51.89 kB / 0.5609 GB, free: 1.207 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004114/0.1498, allocations: 20.69 kB / 0.561 GB, free: 1.188 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002532/0.1523, allocations: 1.647 MB / 0.5626 GB, free: 15.46 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003918/0.1527, allocations: 0.7039 MB / 0.5633 GB, free: 14.73 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001205/0.1528, allocations: 24.41 kB / 0.5633 GB, free: 14.7 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.01e-05/0.1529, allocations: 35.42 kB / 0.5633 GB, free: 14.67 MB / 430.1 MB Notification: Performance of SimCode: time 7.92e-07/0.1529, allocations: 0 / 0.5633 GB, free: 14.67 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02282/0.1758, allocations: 3.665 MB / 0.5669 GB, free: 11.01 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.707/8.883, allocations: 17.88 kB / 0.5669 GB, free: 11 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test12_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test12.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.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.06900014099665]