Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.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.001607/0.001607, allocations: 116.7 kB / 18.5 MB, free: 4.602 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.001752/0.001752, allocations: 193.2 kB / 21.44 MB, free: 1.664 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.516/1.516, allocations: 225.6 MB / 249.8 MB, free: 3.637 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.2402/0.2402, allocations: 44.91 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.CombiTable1Ds.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test5",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00194/0.00194, allocations: 64.14 kB / 491.8 MB, free: 30.07 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.1341, allocations: 64.27 MB / 0.543 GB, free: 4.105 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test5): time 0.003486/0.1376, allocations: 1.584 MB / 0.5446 GB, free: 2.504 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008777/0.1384, allocations: 415.1 kB / 0.545 GB, free: 2.094 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.261e-05/0.1385, allocations: 0 / 0.545 GB, free: 2.094 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003211/0.1388, allocations: 91.75 kB / 0.5451 GB, free: 2.004 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003162/0.1391, allocations: 71.72 kB / 0.5451 GB, free: 1.934 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003262/0.1395, allocations: 91.69 kB / 0.5452 GB, free: 1.844 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001827/0.1396, allocations: 67.89 kB / 0.5453 GB, free: 1.777 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001288/0.1398, allocations: 20.11 kB / 0.5453 GB, free: 1.758 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.655e-05/0.1398, allocations: 39.83 kB / 0.5453 GB, free: 1.719 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001131/0.14, allocations: 55.83 kB / 0.5454 GB, free: 1.664 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.849e-05/0.14, allocations: 7.984 kB / 0.5454 GB, free: 1.656 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001026/0.1401, allocations: 43.98 kB / 0.5454 GB, free: 1.613 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.496e-05/0.1401, allocations: 23.86 kB / 0.5455 GB, free: 1.59 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.466e-05/0.1402, allocations: 27.75 kB / 0.5455 GB, free: 1.562 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002167/0.1404, allocations: 103.6 kB / 0.5456 GB, free: 1.461 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.1404, allocations: 0 / 0.5456 GB, free: 1.461 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1404, allocations: 0 / 0.5456 GB, free: 1.461 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.1404, allocations: 0 / 0.5456 GB, free: 1.461 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.00056/0.141, allocations: 422.7 kB / 0.546 GB, free: 1 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.141, allocations: 8.031 kB / 0.546 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.733e-05/0.141, allocations: 34.73 kB / 0.546 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.379e-05/0.1411, allocations: 16.84 kB / 0.5461 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002168/0.1413, allocations: 196.8 kB / 0.5462 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.334e-05/0.1413, allocations: 8.359 kB / 0.5462 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.356e-05/0.1413, allocations: 8.125 kB / 0.5463 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001391/0.1415, allocations: 49.62 kB / 0.5463 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/0.1415, allocations: 4 kB / 0.5463 GB, free: 0.625 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.626e-06/0.1415, allocations: 0 / 0.5463 GB, free: 0.625 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.035e-06/0.1415, allocations: 4 kB / 0.5463 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.406e-05/0.1416, allocations: 31.97 kB / 0.5463 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004518/0.142, allocations: 292.7 kB / 0.5466 GB, free: 260 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001117/0.1422, allocations: 38.56 kB / 0.5467 GB, free: 212 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.889e-05/0.1422, allocations: 16.86 kB / 0.5467 GB, free: 192 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.639e-05/0.1422, allocations: 8.078 kB / 0.5467 GB, free: 184 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.672e-05/0.1423, allocations: 34.56 kB / 0.5467 GB, free: 140 kB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 3.186e-06/0.1423, allocations: 3.984 kB / 0.5467 GB, free: 136 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008943/0.1432, allocations: 229.2 kB / 0.5469 GB, free: 15.9 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.156e-05/0.1432, allocations: 59.33 kB / 0.547 GB, free: 15.83 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002452/0.1435, allocations: 223.6 kB / 0.5472 GB, free: 15.6 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.101e-05/0.1435, allocations: 25.7 kB / 0.5472 GB, free: 15.57 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.371e-05/0.1436, allocations: 108.1 kB / 0.5473 GB, free: 15.46 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.584e-05/0.1436, allocations: 31.73 kB / 0.5474 GB, free: 15.43 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.801e-05/0.1436, allocations: 21.66 kB / 0.5474 GB, free: 15.4 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001713/0.1438, allocations: 322.8 kB / 0.5477 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.253e-05/0.1439, allocations: 23.98 kB / 0.5477 GB, free: 15.05 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.827e-05/0.144, allocations: 32.05 kB / 0.5477 GB, free: 15.02 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000138/0.1441, allocations: 60.83 kB / 0.5478 GB, free: 14.96 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.1441, allocations: 0 / 0.5478 GB, free: 14.96 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002148/0.1443, allocations: 109.5 kB / 0.5479 GB, free: 14.85 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.1443, allocations: 8 kB / 0.5479 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.1443, allocations: 4 kB / 0.5479 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.1444, allocations: 0 / 0.5479 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.224e-05/0.1444, allocations: 15.98 kB / 0.5479 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.1445, allocations: 3.938 kB / 0.5479 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.767e-05/0.1445, allocations: 4 kB / 0.5479 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.826e-06/0.1445, allocations: 4 kB / 0.5479 GB, free: 14.81 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 (8): * Single equations (assignments): 8 * 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.0001377/0.1446, allocations: 129.8 kB / 0.5481 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.778e-05/0.1447, allocations: 11.91 kB / 0.5481 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002735/0.1449, allocations: 123 kB / 0.5482 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.145, allocations: 4 kB / 0.5482 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.145, allocations: 3.938 kB / 0.5482 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.145, allocations: 0 / 0.5482 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005468/0.1455, allocations: 403.3 kB / 0.5486 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.1455, allocations: 3.938 kB / 0.5486 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.462e-05/0.1456, allocations: 20.02 kB / 0.5486 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.1456, allocations: 4 kB / 0.5486 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.344e-06/0.1456, allocations: 0 / 0.5486 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.1456, allocations: 3.938 kB / 0.5486 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.1456, allocations: 0 / 0.5486 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002617/0.1459, allocations: 204.6 kB / 0.5488 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.075e-05/0.1459, allocations: 93 kB / 0.5489 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.766e-05/0.1459, allocations: 4 kB / 0.5489 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.984e-05/0.146, allocations: 7.984 kB / 0.5489 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.189e-05/0.146, allocations: 4 kB / 0.5489 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.953e-06/0.146, allocations: 4 kB / 0.5489 GB, free: 13.69 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001619/0.1462, allocations: 176.2 kB / 0.5491 GB, free: 13.52 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1462, allocations: 0 / 0.5491 GB, free: 13.52 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002508/0.1465, allocations: 23.88 kB / 0.5491 GB, free: 13.49 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 (8): * Single equations (assignments): 8 * 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.002114/0.1486, allocations: 1.098 MB / 0.5502 GB, free: 12.57 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002196/0.1488, allocations: 63.89 kB / 0.5502 GB, free: 12.5 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1488, allocations: 0 / 0.5502 GB, free: 12.5 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.396e-05/0.1489, allocations: 31.97 kB / 0.5503 GB, free: 12.47 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003685/0.1492, allocations: 15.91 kB / 0.5503 GB, free: 12.46 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002052/0.1513, allocations: 1.673 MB / 0.5519 GB, free: 10.7 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003854/0.1517, allocations: 0.7195 MB / 0.5526 GB, free: 9.953 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.384e-05/0.1517, allocations: 16.97 kB / 0.5526 GB, free: 9.938 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.364e-05/0.1518, allocations: 31.42 kB / 0.5527 GB, free: 9.906 MB / 414.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1518, allocations: 0 / 0.5527 GB, free: 9.906 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02509/0.1769, allocations: 3.136 MB / 0.5557 GB, free: 6.797 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.79/7.967, allocations: 3.25 kB / 0.5557 GB, free: 6.797 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test5_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test5.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.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.21893892204389]