Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.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.001808/0.001808, allocations: 117.6 kB / 18.5 MB, free: 4.582 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.001877/0.001877, allocations: 190.9 kB / 21.44 MB, free: 1.645 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.409/1.409, 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.2177/0.2177, allocations: 44.92 MB / 349.6 MB, free: 1.734 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.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001891/0.001891, allocations: 67.98 kB / 491.8 MB, free: 29.96 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.1203, allocations: 64.25 MB / 0.543 GB, free: 4.105 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test3): time 0.003192/0.1235, allocations: 1.598 MB / 0.5446 GB, free: 2.492 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009042/0.1244, allocations: 419.1 kB / 0.545 GB, free: 2.078 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.389e-05/0.1244, allocations: 0 / 0.545 GB, free: 2.078 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002852/0.1247, allocations: 79.77 kB / 0.5451 GB, free: 2 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002043/0.1249, allocations: 63.8 kB / 0.5451 GB, free: 1.938 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000319/0.1252, allocations: 107.7 kB / 0.5452 GB, free: 1.832 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000163/0.1254, allocations: 59.89 kB / 0.5453 GB, free: 1.773 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.1255, allocations: 24.05 kB / 0.5453 GB, free: 1.75 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.783e-05/0.1256, allocations: 31.91 kB / 0.5453 GB, free: 1.719 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001205/0.1257, allocations: 63.75 kB / 0.5454 GB, free: 1.656 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.563e-05/0.1257, allocations: 0 / 0.5454 GB, free: 1.656 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.715e-05/0.1258, allocations: 39.98 kB / 0.5454 GB, free: 1.617 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.16e-05/0.1259, allocations: 19.92 kB / 0.5455 GB, free: 1.598 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.339e-05/0.1259, allocations: 23.81 kB / 0.5455 GB, free: 1.574 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002051/0.1261, allocations: 99.58 kB / 0.5456 GB, free: 1.477 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1261, allocations: 0 / 0.5456 GB, free: 1.477 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.1261, allocations: 3.938 kB / 0.5456 GB, free: 1.473 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.068e-05/0.1261, allocations: 0 / 0.5456 GB, free: 1.473 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.0005341/0.1267, allocations: 414.7 kB / 0.546 GB, free: 1.02 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.1267, allocations: 12.03 kB / 0.546 GB, free: 1.008 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.095e-05/0.1267, allocations: 30.75 kB / 0.546 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.087e-05/0.1268, allocations: 16.84 kB / 0.546 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002059/0.127, allocations: 196.2 kB / 0.5462 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.079e-05/0.127, allocations: 4.375 kB / 0.5462 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.379e-05/0.127, allocations: 8.125 kB / 0.5462 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001365/0.1271, allocations: 49.69 kB / 0.5463 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.814e-05/0.1272, allocations: 7.984 kB / 0.5463 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.735e-06/0.1272, allocations: 0 / 0.5463 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.1272, allocations: 4 kB / 0.5463 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.506e-05/0.1273, allocations: 31.92 kB / 0.5463 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004124/0.1277, allocations: 292.8 kB / 0.5466 GB, free: 284 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001152/0.1278, allocations: 38.56 kB / 0.5466 GB, free: 236 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.27e-05/0.1278, allocations: 20.94 kB / 0.5466 GB, free: 212 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.201e-05/0.1279, allocations: 11.92 kB / 0.5467 GB, free: 200 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.736e-05/0.1279, allocations: 34.56 kB / 0.5467 GB, free: 156 kB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.1279, allocations: 0 / 0.5467 GB, free: 156 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008699/0.1288, allocations: 237.3 kB / 0.5469 GB, free: 15.91 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.834e-05/0.1288, allocations: 63.33 kB / 0.547 GB, free: 15.84 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002197/0.129, allocations: 190.5 kB / 0.5472 GB, free: 15.64 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.873e-05/0.1291, allocations: 25.7 kB / 0.5472 GB, free: 15.61 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.631e-05/0.1291, allocations: 100.1 kB / 0.5473 GB, free: 15.51 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.646e-05/0.1292, allocations: 31.73 kB / 0.5473 GB, free: 15.48 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.93e-05/0.1292, allocations: 17.72 kB / 0.5473 GB, free: 15.46 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001576/0.1294, allocations: 326.8 kB / 0.5476 GB, free: 15.13 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.992e-05/0.1295, allocations: 31.98 kB / 0.5477 GB, free: 15.1 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.471e-05/0.1295, allocations: 31.97 kB / 0.5477 GB, free: 15.07 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001594/0.1297, allocations: 77 kB / 0.5478 GB, free: 14.99 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.1297, allocations: 0 / 0.5478 GB, free: 14.99 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002245/0.1299, allocations: 109.6 kB / 0.5479 GB, free: 14.88 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.1299, allocations: 11.98 kB / 0.5479 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.1299, allocations: 4 kB / 0.5479 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.1299, allocations: 0 / 0.5479 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.568e-05/0.13, allocations: 12 kB / 0.5479 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.099e-05/0.1301, allocations: 11.92 kB / 0.5479 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.763e-05/0.1301, allocations: 4 kB / 0.5479 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.987e-06/0.1301, allocations: 4 kB / 0.5479 GB, free: 14.83 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.0001126/0.1302, allocations: 125.8 kB / 0.548 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.536e-05/0.1303, allocations: 11.91 kB / 0.5481 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002807/0.1305, allocations: 134.3 kB / 0.5482 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-06/0.1305, allocations: 4 kB / 0.5482 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.1305, allocations: 3.938 kB / 0.5482 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.1305, allocations: 7.984 kB / 0.5482 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005411/0.1311, allocations: 411.3 kB / 0.5486 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.616e-06/0.1311, allocations: 3.938 kB / 0.5486 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.708e-05/0.1312, allocations: 24.02 kB / 0.5486 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.1312, allocations: 3.938 kB / 0.5486 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.093e-06/0.1312, allocations: 0 / 0.5486 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.1312, allocations: 0 / 0.5486 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/0.1312, allocations: 4 kB / 0.5486 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002624/0.1314, allocations: 204.3 kB / 0.5488 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.123e-05/0.1315, allocations: 92.98 kB / 0.5489 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.594e-05/0.1315, allocations: 0 / 0.5489 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.893e-05/0.1316, allocations: 8 kB / 0.5489 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.589e-05/0.1316, allocations: 7.984 kB / 0.5489 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.782e-06/0.1316, allocations: 4 kB / 0.5489 GB, free: 13.69 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001156/0.1318, allocations: 143.2 kB / 0.5491 GB, free: 13.55 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1318, allocations: 4 kB / 0.5491 GB, free: 13.54 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002475/0.132, allocations: 23.88 kB / 0.5491 GB, free: 13.52 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.00207/0.1341, allocations: 1.105 MB / 0.5502 GB, free: 12.59 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002279/0.1343, allocations: 71.88 kB / 0.5502 GB, free: 12.52 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1343, allocations: 0 / 0.5502 GB, free: 12.52 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.619e-05/0.1344, allocations: 43.91 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.0003929/0.1348, allocations: 23.89 kB / 0.5503 GB, free: 12.45 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001926/0.1367, allocations: 1.654 MB / 0.5519 GB, free: 10.71 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003387/0.1371, allocations: 0.7041 MB / 0.5526 GB, free: 9.977 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.552e-05/0.1371, allocations: 28.89 kB / 0.5526 GB, free: 9.945 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.67e-05/0.1372, allocations: 23.44 kB / 0.5527 GB, free: 9.922 MB / 414.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1372, allocations: 0 / 0.5527 GB, free: 9.922 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02447/0.1617, allocations: 3.048 MB / 0.5556 GB, free: 6.902 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.957/8.119, allocations: 11.09 kB / 0.5556 GB, free: 6.895 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test3_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test3.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.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.090141476597637]