Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.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.001801/0.001801, allocations: 119 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.002031/0.002031, 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.393/1.393, allocations: 225.6 MB / 249.8 MB, free: 3.617 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.2131/0.2131, allocations: 44.92 MB / 349.6 MB, free: 1.746 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.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test20",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001842/0.001842, allocations: 63.67 kB / 491.8 MB, free: 30.2 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.1154, allocations: 64.27 MB / 0.543 GB, free: 4.098 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test20): time 0.00298/0.1184, allocations: 1.556 MB / 0.5445 GB, free: 2.523 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001535/0.1199, allocations: 1.047 MB / 0.5456 GB, free: 1.469 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.369e-05/0.12, allocations: 4 kB / 0.5456 GB, free: 1.465 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002212/0.1202, allocations: 19.86 kB / 0.5456 GB, free: 1.445 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001902/0.1204, allocations: 43.78 kB / 0.5456 GB, free: 1.402 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002902/0.1207, allocations: 107.3 kB / 0.5457 GB, free: 1.301 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001425/0.1208, allocations: 55.84 kB / 0.5458 GB, free: 1.246 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.1209, allocations: 11.94 kB / 0.5458 GB, free: 1.234 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.231e-05/0.121, allocations: 27.84 kB / 0.5458 GB, free: 1.207 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001366/0.1211, allocations: 30.17 kB / 0.5459 GB, free: 1.18 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.409e-05/0.1212, allocations: 0 / 0.5459 GB, free: 1.18 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001125/0.1213, allocations: 55.95 kB / 0.5459 GB, free: 1.125 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.196e-05/0.1213, allocations: 7.938 kB / 0.5459 GB, free: 1.117 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.596e-05/0.1213, allocations: 23.86 kB / 0.5459 GB, free: 1.094 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001926/0.1215, allocations: 91.64 kB / 0.546 GB, free: 1.004 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.1215, allocations: 0 / 0.546 GB, free: 1.004 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1215, allocations: 0 / 0.546 GB, free: 1.004 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.294e-06/0.1215, allocations: 4 kB / 0.546 GB, free: 1 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004832/0.122, allocations: 379 kB / 0.5464 GB, free: 0.582 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.1221, allocations: 12.03 kB / 0.5464 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.66e-05/0.1221, allocations: 34.73 kB / 0.5464 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.53e-05/0.1222, allocations: 12.89 kB / 0.5464 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001942/0.1224, allocations: 180.3 kB / 0.5466 GB, free: 308 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.003e-05/0.1224, allocations: 384 / 0.5466 GB, free: 308 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.833e-05/0.1224, allocations: 4.375 kB / 0.5466 GB, free: 304 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001589/0.1225, allocations: 71.27 kB / 0.5467 GB, free: 220 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.1226, allocations: 3.953 kB / 0.5467 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.797e-06/0.1226, allocations: 4 kB / 0.5467 GB, free: 212 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.1226, allocations: 3.938 kB / 0.5467 GB, free: 208 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.111e-05/0.1227, allocations: 23.98 kB / 0.5467 GB, free: 184 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000412/0.1231, allocations: 276.9 kB / 0.547 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002091/0.1233, allocations: 50.5 kB / 0.547 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.008e-05/0.1233, allocations: 16.94 kB / 0.5471 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.184e-05/0.1234, allocations: 0 / 0.5471 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.288e-05/0.1234, allocations: 38.56 kB / 0.5471 GB, free: 15.73 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.1234, allocations: 0 / 0.5471 GB, free: 15.73 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005201/0.1239, allocations: 149.4 kB / 0.5472 GB, free: 15.58 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.477e-05/0.124, allocations: 85.11 kB / 0.5473 GB, free: 15.48 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001434/0.1241, allocations: 138.6 kB / 0.5474 GB, free: 15.34 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.782e-05/0.1241, allocations: 29.7 kB / 0.5475 GB, free: 15.3 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.06e-05/0.1242, allocations: 88.14 kB / 0.5476 GB, free: 15.21 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.187e-05/0.1242, allocations: 15.91 kB / 0.5476 GB, free: 15.2 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.014e-05/0.1242, allocations: 17.7 kB / 0.5476 GB, free: 15.17 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001277/0.1244, allocations: 318.8 kB / 0.5479 GB, free: 14.85 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.079e-05/0.1244, allocations: 19.98 kB / 0.5479 GB, free: 14.83 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.579e-05/0.1245, allocations: 41.69 kB / 0.548 GB, free: 14.79 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001273/0.1246, allocations: 56.7 kB / 0.548 GB, free: 14.73 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.1246, allocations: 0 / 0.548 GB, free: 14.73 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001818/0.1248, allocations: 89.61 kB / 0.5481 GB, free: 14.63 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.1248, allocations: 4.781 kB / 0.5481 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.1248, allocations: 4.031 kB / 0.5481 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.1249, allocations: 0 / 0.5481 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.936e-05/0.1249, allocations: 12.25 kB / 0.5481 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.399e-06/0.1249, allocations: 0 / 0.5481 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.578e-05/0.125, allocations: 15.92 kB / 0.5481 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.053e-06/0.125, allocations: 3.938 kB / 0.5481 GB, free: 14.59 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 8.355e-05/0.1251, allocations: 113.8 kB / 0.5482 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.69e-05/0.1251, allocations: 7.953 kB / 0.5483 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002289/0.1253, allocations: 101.5 kB / 0.5483 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.1253, allocations: 4 kB / 0.5484 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.1253, allocations: 0 / 0.5484 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.1253, allocations: 0 / 0.5484 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004765/0.1258, allocations: 350.4 kB / 0.5487 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.1258, allocations: 4 kB / 0.5487 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.339e-05/0.1259, allocations: 11.98 kB / 0.5487 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.1259, allocations: 4 kB / 0.5487 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.1259, allocations: 4 kB / 0.5487 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.696e-06/0.1259, allocations: 3.938 kB / 0.5487 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1259, allocations: 4 kB / 0.5487 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002281/0.1261, allocations: 175.5 kB / 0.5489 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.756e-05/0.1262, allocations: 89 kB / 0.549 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.671e-05/0.1262, allocations: 0 / 0.549 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.026e-05/0.1262, allocations: 11.94 kB / 0.549 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.955e-05/0.1263, allocations: 7.984 kB / 0.549 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.801e-06/0.1263, allocations: 7.938 kB / 0.549 GB, free: 13.6 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.712e-05/0.1264, allocations: 106.6 kB / 0.5491 GB, free: 13.5 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1264, allocations: 0 / 0.5491 GB, free: 13.5 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002507/0.1266, allocations: 27.92 kB / 0.5491 GB, free: 13.47 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 (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.001939/0.1286, allocations: 1.051 MB / 0.5501 GB, free: 12.58 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002046/0.1288, allocations: 59.91 kB / 0.5502 GB, free: 12.52 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1288, allocations: 0 / 0.5502 GB, free: 12.52 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.528e-05/0.1288, allocations: 23.98 kB / 0.5502 GB, free: 12.5 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003826/0.1292, allocations: 22.42 kB / 0.5503 GB, free: 12.48 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001661/0.1309, allocations: 1.403 MB / 0.5516 GB, free: 11 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003443/0.1312, allocations: 0.7 MB / 0.5523 GB, free: 10.27 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.018e-05/0.1313, allocations: 16.05 kB / 0.5523 GB, free: 10.25 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.285e-05/0.1314, allocations: 23.42 kB / 0.5523 GB, free: 10.23 MB / 414.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1314, allocations: 0 / 0.5523 GB, free: 10.23 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02937/0.1607, allocations: 2.794 MB / 0.5551 GB, free: 7.434 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.041/8.202, allocations: 4.547 kB / 0.5551 GB, free: 7.434 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test20_fmu --startTime=0 --stopTime=100 --stepSize=0.019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test20.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.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.117792370729148]