Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001248/0.001248, allocations: 117.6 kB / 18.5 MB, free: 4.434 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001246/0.001246, allocations: 190.9 kB / 21.44 MB, free: 1.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.41/1.41, allocations: 225.6 MB / 249.8 MB, free: 3.746 MB / 190.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.2196/0.2196, allocations: 44.92 MB / 349.6 MB, free: 1.754 MB / 270.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001903/0.001903, allocations: 71.77 kB / 491.8 MB, free: 30.18 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.1305, allocations: 64.26 MB / 0.543 GB, free: 4.109 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test4): time 0.003253/0.1337, allocations: 1.626 MB / 0.5446 GB, free: 2.465 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008602/0.1346, allocations: 423.1 kB / 0.545 GB, free: 2.047 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.326e-05/0.1346, allocations: 4 kB / 0.545 GB, free: 2.043 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002963/0.1349, allocations: 99.67 kB / 0.5451 GB, free: 1.945 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002075/0.1352, allocations: 71.8 kB / 0.5452 GB, free: 1.875 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004059/0.1356, allocations: 111.7 kB / 0.5453 GB, free: 1.766 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001803/0.1357, allocations: 95.7 kB / 0.5454 GB, free: 1.672 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001233/0.1359, allocations: 31.92 kB / 0.5454 GB, free: 1.641 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.739e-05/0.1359, allocations: 39.84 kB / 0.5455 GB, free: 1.602 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001484/0.1361, allocations: 71.73 kB / 0.5455 GB, free: 1.531 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.765e-05/0.1361, allocations: 4 kB / 0.5455 GB, free: 1.527 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.398e-05/0.1362, allocations: 47.97 kB / 0.5456 GB, free: 1.48 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.645e-05/0.1362, allocations: 23.92 kB / 0.5456 GB, free: 1.457 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.351e-05/0.1363, allocations: 43.67 kB / 0.5456 GB, free: 1.414 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002194/0.1365, allocations: 127.4 kB / 0.5458 GB, free: 1.289 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1365, allocations: 0 / 0.5458 GB, free: 1.289 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1365, allocations: 0 / 0.5458 GB, free: 1.289 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.48e-06/0.1365, allocations: 4 kB / 0.5458 GB, free: 1.285 MB / 398.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.0006079/0.1371, allocations: 426.6 kB / 0.5462 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.1372, allocations: 12.03 kB / 0.5462 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.533e-05/0.1372, allocations: 42.69 kB / 0.5462 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.582e-05/0.1373, allocations: 12.89 kB / 0.5462 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002433/0.1375, allocations: 212.1 kB / 0.5464 GB, free: 0.5 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.1375, allocations: 8.375 kB / 0.5464 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.551e-05/0.1375, allocations: 8.312 kB / 0.5465 GB, free: 496 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001821/0.1377, allocations: 77.59 kB / 0.5465 GB, free: 412 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.492e-05/0.1377, allocations: 4 kB / 0.5465 GB, free: 408 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.1377, allocations: 7.938 kB / 0.5465 GB, free: 400 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.718e-06/0.1378, allocations: 0 / 0.5465 GB, free: 400 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001166/0.1379, allocations: 43.95 kB / 0.5466 GB, free: 356 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005123/0.1384, allocations: 340.8 kB / 0.5469 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002057/0.1386, allocations: 62.56 kB / 0.547 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.129e-05/0.1386, allocations: 20.84 kB / 0.547 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.395e-05/0.1387, allocations: 8.062 kB / 0.547 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.172e-05/0.1387, allocations: 30.56 kB / 0.547 GB, free: 15.82 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.1387, allocations: 0 / 0.547 GB, free: 15.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.001029/0.1397, allocations: 337.6 kB / 0.5473 GB, free: 15.49 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.817e-05/0.1398, allocations: 55.41 kB / 0.5474 GB, free: 15.42 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002274/0.14, allocations: 224.3 kB / 0.5476 GB, free: 15.19 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.032e-05/0.14, allocations: 29.7 kB / 0.5476 GB, free: 15.16 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.321e-05/0.1401, allocations: 112 kB / 0.5477 GB, free: 15.04 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.186e-05/0.1401, allocations: 51.62 kB / 0.5478 GB, free: 14.99 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.889e-05/0.1402, allocations: 29.7 kB / 0.5478 GB, free: 14.96 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.1403, allocations: 326.8 kB / 0.5481 GB, free: 14.63 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001035/0.1404, allocations: 43.97 kB / 0.5482 GB, free: 14.59 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001135/0.1405, allocations: 47.34 kB / 0.5482 GB, free: 14.54 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001996/0.1407, allocations: 104.8 kB / 0.5483 GB, free: 14.44 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.1408, allocations: 7.938 kB / 0.5483 GB, free: 14.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002938/0.141, allocations: 157.5 kB / 0.5485 GB, free: 14.27 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.1411, allocations: 8 kB / 0.5485 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.1411, allocations: 3.938 kB / 0.5485 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.1411, allocations: 0 / 0.5485 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001206/0.1412, allocations: 23.98 kB / 0.5485 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.598e-06/0.1412, allocations: 0 / 0.5485 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.297e-05/0.1412, allocations: 7.984 kB / 0.5485 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.19e-05/0.1413, allocations: 8 kB / 0.5485 GB, free: 14.22 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 (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.0001275/0.1414, allocations: 141.8 kB / 0.5487 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.906e-05/0.1414, allocations: 11.91 kB / 0.5487 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003744/0.1418, allocations: 187 kB / 0.5489 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.1418, allocations: 0 / 0.5489 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.1418, allocations: 0 / 0.5489 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.451e-05/0.1419, allocations: 7.969 kB / 0.5489 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006855/0.1426, allocations: 0.4913 MB / 0.5493 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1426, allocations: 0 / 0.5493 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.644e-05/0.1427, allocations: 23.98 kB / 0.5494 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.1427, allocations: 7.938 kB / 0.5494 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.686e-06/0.1427, allocations: 0 / 0.5494 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.454e-06/0.1427, allocations: 7.984 kB / 0.5494 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1427, allocations: 0 / 0.5494 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003322/0.143, allocations: 267.1 kB / 0.5496 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.213e-05/0.1431, allocations: 89.02 kB / 0.5497 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.241e-05/0.1431, allocations: 4 kB / 0.5497 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.25e-05/0.1432, allocations: 7.984 kB / 0.5497 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.468e-05/0.1432, allocations: 15.98 kB / 0.5497 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.891e-06/0.1432, allocations: 0 / 0.5497 GB, free: 12.86 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001555/0.1434, allocations: 179.5 kB / 0.5499 GB, free: 12.68 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1434, allocations: 0 / 0.5499 GB, free: 12.68 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002507/0.1436, allocations: 24 kB / 0.5499 GB, free: 12.66 MB / 414.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.002146/0.1458, allocations: 1.146 MB / 0.5511 GB, free: 11.68 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002742/0.146, allocations: 103.9 kB / 0.5512 GB, free: 11.58 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1461, allocations: 7.938 kB / 0.5512 GB, free: 11.57 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001133/0.1462, allocations: 51.97 kB / 0.5512 GB, free: 11.52 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003863/0.1466, allocations: 22.2 kB / 0.5512 GB, free: 11.51 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002227/0.1488, allocations: 1.896 MB / 0.5531 GB, free: 9.531 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000372/0.1492, allocations: 0.7236 MB / 0.5538 GB, free: 8.781 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.714e-05/0.1492, allocations: 32.47 kB / 0.5538 GB, free: 8.746 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.298e-05/0.1493, allocations: 43.42 kB / 0.5539 GB, free: 8.703 MB / 414.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1493, allocations: 0 / 0.5539 GB, free: 8.703 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02507/0.1744, allocations: 3.543 MB / 0.5573 GB, free: 5.172 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.97/8.145, allocations: 13.16 kB / 0.5573 GB, free: 5.164 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test4_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test4.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.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.110031436663121]