Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001248/0.001248, allocations: 118.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 trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001347/0.001347, allocations: 210.5 kB / 21.46 MB, free: 1.648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.467/1.467, allocations: 230.2 MB / 254.5 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2388/0.2388, allocations: 46.91 MB / 357.4 MB, free: 10.48 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test8,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test8,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test8",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002194/0.002194, allocations: 75.88 kB / 0.4913 GB, free: 8.312 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1234, allocations: 65.99 MB / 0.5557 GB, free: 6.195 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test8): time 0.003144/0.1266, allocations: 1.606 MB / 0.5573 GB, free: 4.574 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001107/0.1277, allocations: 0.5488 MB / 0.5578 GB, free: 4.023 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.419e-05/0.1277, allocations: 4 kB / 0.5578 GB, free: 4.02 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002114/0.128, allocations: 23.83 kB / 0.5578 GB, free: 3.996 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002856/0.1282, allocations: 79.62 kB / 0.5579 GB, free: 3.918 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003127/0.1285, allocations: 107.7 kB / 0.558 GB, free: 3.812 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001534/0.1287, allocations: 75.81 kB / 0.5581 GB, free: 3.738 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.481e-05/0.1288, allocations: 4 kB / 0.5581 GB, free: 3.734 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.917e-05/0.1288, allocations: 19.92 kB / 0.5581 GB, free: 3.715 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.482e-05/0.1289, allocations: 23.86 kB / 0.5581 GB, free: 3.691 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.221e-05/0.1289, allocations: 3.938 kB / 0.5581 GB, free: 3.688 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.102e-05/0.129, allocations: 39.98 kB / 0.5582 GB, free: 3.648 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.183e-05/0.1291, allocations: 15.92 kB / 0.5582 GB, free: 3.633 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 3.622e-05/0.1291, allocations: 19.81 kB / 0.5582 GB, free: 3.613 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001972/0.1293, allocations: 83.64 kB / 0.5583 GB, free: 3.531 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.1293, allocations: 7.938 kB / 0.5583 GB, free: 3.523 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.1293, allocations: 4 kB / 0.5583 GB, free: 3.52 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.153e-06/0.1293, allocations: 4 kB / 0.5583 GB, free: 3.516 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000533/0.1298, allocations: 383 kB / 0.5587 GB, free: 3.09 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.1299, allocations: 12.03 kB / 0.5587 GB, free: 3.078 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.121e-05/0.1299, allocations: 34.69 kB / 0.5587 GB, free: 3.035 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.392e-05/0.13, allocations: 8.891 kB / 0.5587 GB, free: 3.027 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002356/0.1302, allocations: 192.2 kB / 0.5589 GB, free: 2.801 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.498e-06/0.1302, allocations: 384 / 0.5589 GB, free: 2.801 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.891e-05/0.1302, allocations: 8.312 kB / 0.5589 GB, free: 2.793 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001402/0.1304, allocations: 54.25 kB / 0.559 GB, free: 2.734 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.1304, allocations: 3.938 kB / 0.559 GB, free: 2.73 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.306e-06/0.1304, allocations: 0 / 0.559 GB, free: 2.73 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/0.1304, allocations: 3.984 kB / 0.559 GB, free: 2.727 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.229e-05/0.1305, allocations: 23.97 kB / 0.559 GB, free: 2.703 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004118/0.1309, allocations: 284.8 kB / 0.5593 GB, free: 2.375 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002126/0.1311, allocations: 54.55 kB / 0.5593 GB, free: 2.312 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001349/0.1312, allocations: 12.95 kB / 0.5593 GB, free: 2.297 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.385e-05/0.1313, allocations: 11.97 kB / 0.5593 GB, free: 2.285 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.429e-05/0.1313, allocations: 30.56 kB / 0.5594 GB, free: 2.246 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.1313, allocations: 0 / 0.5594 GB, free: 2.246 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005511/0.1318, allocations: 157.3 kB / 0.5595 GB, free: 2.086 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.384e-05/0.1319, allocations: 55.41 kB / 0.5596 GB, free: 2.02 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001602/0.1321, allocations: 161.8 kB / 0.5597 GB, free: 1.852 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.053e-05/0.1321, allocations: 25.7 kB / 0.5598 GB, free: 1.82 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.135e-05/0.1321, allocations: 100 kB / 0.5599 GB, free: 1.719 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.209e-05/0.1322, allocations: 27.78 kB / 0.5599 GB, free: 1.691 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.473e-05/0.1322, allocations: 13.72 kB / 0.5599 GB, free: 1.672 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001562/0.1324, allocations: 326.8 kB / 0.5602 GB, free: 1.344 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.304e-05/0.1324, allocations: 19.98 kB / 0.5602 GB, free: 1.324 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.99e-05/0.1325, allocations: 19.98 kB / 0.5602 GB, free: 1.305 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001346/0.1326, allocations: 52.83 kB / 0.5603 GB, free: 1.25 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.82e-07/0.1326, allocations: 0 / 0.5603 GB, free: 1.25 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001904/0.1328, allocations: 89.61 kB / 0.5604 GB, free: 1.156 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.1328, allocations: 8 kB / 0.5604 GB, free: 1.148 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.1328, allocations: 0 / 0.5604 GB, free: 1.148 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.1329, allocations: 0 / 0.5604 GB, free: 1.148 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.872e-05/0.1329, allocations: 19.92 kB / 0.5604 GB, free: 1.129 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.1329, allocations: 0 / 0.5604 GB, free: 1.129 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.179e-05/0.133, allocations: 4 kB / 0.5604 GB, free: 1.125 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.628e-06/0.133, allocations: 3.938 kB / 0.5604 GB, free: 1.121 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 (5): * Single equations (assignments): 5 * 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.0001011/0.1331, allocations: 117.8 kB / 0.5605 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.419e-05/0.1331, allocations: 11.95 kB / 0.5605 GB, free: 0.9844 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002542/0.1334, allocations: 102 kB / 0.5606 GB, free: 0.875 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.1334, allocations: 0 / 0.5606 GB, free: 0.875 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.1334, allocations: 4 kB / 0.5606 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.1334, allocations: 0 / 0.5606 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004715/0.1339, allocations: 358.8 kB / 0.561 GB, free: 476 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.1339, allocations: 0 / 0.561 GB, free: 476 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.967e-05/0.1339, allocations: 19.98 kB / 0.561 GB, free: 456 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.1339, allocations: 0 / 0.561 GB, free: 456 kB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-06/0.1339, allocations: 3.938 kB / 0.561 GB, free: 452 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.134, allocations: 3.938 kB / 0.561 GB, free: 448 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.134, allocations: 0 / 0.561 GB, free: 448 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000246/0.1342, allocations: 183.4 kB / 0.5612 GB, free: 248 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.776e-05/0.1343, allocations: 89.06 kB / 0.5613 GB, free: 140 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.734e-05/0.1343, allocations: 4 kB / 0.5613 GB, free: 136 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.084e-05/0.1343, allocations: 11.92 kB / 0.5613 GB, free: 124 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.054e-05/0.1344, allocations: 0 / 0.5613 GB, free: 124 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.867e-06/0.1344, allocations: 0 / 0.5613 GB, free: 124 kB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001355/0.1345, allocations: 130.3 kB / 0.5614 GB, free: 15.99 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1345, allocations: 3.938 kB / 0.5614 GB, free: 15.99 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002483/0.1348, allocations: 15.95 kB / 0.5614 GB, free: 15.97 MB / 430.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 (5): * Single equations (assignments): 5 * 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.001957/0.1367, allocations: 1.025 MB / 0.5624 GB, free: 15.08 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002259/0.1369, allocations: 51.95 kB / 0.5625 GB, free: 15.03 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.1369, allocations: 0 / 0.5625 GB, free: 15.03 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.142e-05/0.137, allocations: 27.98 kB / 0.5625 GB, free: 15 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003595/0.1374, allocations: 19.97 kB / 0.5625 GB, free: 14.98 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001804/0.1392, allocations: 1.491 MB / 0.564 GB, free: 13.41 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003702/0.1396, allocations: 0.6924 MB / 0.5647 GB, free: 12.69 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.452e-05/0.1396, allocations: 23.83 kB / 0.5647 GB, free: 12.66 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.673e-05/0.1397, allocations: 27.42 kB / 0.5647 GB, free: 12.64 MB / 430.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1397, allocations: 0 / 0.5647 GB, free: 12.64 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02313/0.1628, allocations: 2.633 MB / 0.5673 GB, free: 10.04 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.091/8.253, allocations: 15.05 kB / 0.5673 GB, free: 10.03 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test8_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test8.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.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.218881587963551]