Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.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.001678/0.001678, allocations: 119 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.001607/0.001607, 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.448/1.448, allocations: 225.6 MB / 249.8 MB, free: 3.754 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.2333/0.2333, allocations: 44.92 MB / 349.6 MB, free: 1.762 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.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test7",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002065/0.002065, allocations: 65.17 kB / 491.8 MB, free: 30.06 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1291/0.1312, allocations: 64.26 MB / 0.543 GB, free: 4.121 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test7): time 0.003198/0.1344, allocations: 1.575 MB / 0.5446 GB, free: 2.531 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008435/0.1352, allocations: 407.2 kB / 0.5449 GB, free: 2.129 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.122e-05/0.1353, allocations: 3.938 kB / 0.5449 GB, free: 2.125 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002178/0.1355, allocations: 27.84 kB / 0.545 GB, free: 2.098 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001898/0.1357, allocations: 39.78 kB / 0.545 GB, free: 2.059 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003133/0.136, allocations: 103.7 kB / 0.5451 GB, free: 1.957 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001494/0.1361, allocations: 59.83 kB / 0.5452 GB, free: 1.898 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.1362, allocations: 11.94 kB / 0.5452 GB, free: 1.887 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.663e-05/0.1363, allocations: 23.91 kB / 0.5452 GB, free: 1.863 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.733e-05/0.1363, allocations: 19.86 kB / 0.5452 GB, free: 1.844 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.652e-05/0.1364, allocations: 4 kB / 0.5452 GB, free: 1.84 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.749e-05/0.1364, allocations: 24 kB / 0.5452 GB, free: 1.816 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.983e-05/0.1365, allocations: 27.91 kB / 0.5453 GB, free: 1.789 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.84e-05/0.1365, allocations: 23.81 kB / 0.5453 GB, free: 1.766 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001683/0.1367, allocations: 71.67 kB / 0.5454 GB, free: 1.695 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.1367, allocations: 0 / 0.5454 GB, free: 1.695 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.1367, allocations: 4 kB / 0.5454 GB, free: 1.691 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.661e-06/0.1367, allocations: 0 / 0.5454 GB, free: 1.691 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.0006053/0.1373, allocations: 379 kB / 0.5457 GB, free: 1.273 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.1374, allocations: 8.031 kB / 0.5457 GB, free: 1.266 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.715e-05/0.1374, allocations: 30.75 kB / 0.5458 GB, free: 1.227 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.163e-05/0.1374, allocations: 12.89 kB / 0.5458 GB, free: 1.215 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002269/0.1377, allocations: 200.1 kB / 0.546 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.835e-06/0.1377, allocations: 4.375 kB / 0.546 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.166e-05/0.1377, allocations: 384 / 0.546 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001565/0.1378, allocations: 57.56 kB / 0.546 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.1379, allocations: 0 / 0.546 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-06/0.1379, allocations: 0 / 0.546 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.1379, allocations: 3.938 kB / 0.546 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.331e-05/0.138, allocations: 27.97 kB / 0.5461 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004058/0.1384, allocations: 276.9 kB / 0.5463 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002096/0.1386, allocations: 46.5 kB / 0.5464 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.146e-05/0.1386, allocations: 16.94 kB / 0.5464 GB, free: 500 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.873e-05/0.1386, allocations: 4 kB / 0.5464 GB, free: 496 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.739e-05/0.1387, allocations: 34.56 kB / 0.5464 GB, free: 452 kB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.1387, allocations: 0 / 0.5464 GB, free: 452 kB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005483/0.1392, allocations: 153.4 kB / 0.5466 GB, free: 292 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.003e-05/0.1393, allocations: 51.41 kB / 0.5466 GB, free: 228 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001564/0.1394, allocations: 159.5 kB / 0.5468 GB, free: 60 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.625e-05/0.1395, allocations: 25.7 kB / 0.5468 GB, free: 28 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001407/0.1396, allocations: 96.09 kB / 0.5469 GB, free: 15.93 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.557e-05/0.1396, allocations: 19.89 kB / 0.5469 GB, free: 15.91 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.008e-05/0.1397, allocations: 17.72 kB / 0.5469 GB, free: 15.89 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002272/0.1399, allocations: 322.8 kB / 0.5472 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.052e-05/0.14, allocations: 27.91 kB / 0.5473 GB, free: 15.54 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.502e-05/0.14, allocations: 24.05 kB / 0.5473 GB, free: 15.51 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001403/0.1402, allocations: 56.77 kB / 0.5473 GB, free: 15.45 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.1402, allocations: 4 kB / 0.5473 GB, free: 15.45 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001911/0.1404, allocations: 85.61 kB / 0.5474 GB, free: 15.36 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.1404, allocations: 8 kB / 0.5474 GB, free: 15.35 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.339e-06/0.1404, allocations: 0 / 0.5474 GB, free: 15.35 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.1404, allocations: 0 / 0.5474 GB, free: 15.35 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.155e-05/0.1405, allocations: 8 kB / 0.5474 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.229e-06/0.1405, allocations: 0 / 0.5474 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.277e-05/0.1405, allocations: 11.92 kB / 0.5474 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.476e-06/0.1405, allocations: 8 kB / 0.5475 GB, free: 15.32 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.0001708/0.1407, allocations: 113.8 kB / 0.5476 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.206e-05/0.1407, allocations: 7.953 kB / 0.5476 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002524/0.141, allocations: 101.9 kB / 0.5477 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.141, allocations: 0 / 0.5477 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.141, allocations: 0 / 0.5477 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.141, allocations: 3.938 kB / 0.5477 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004696/0.1415, allocations: 354.5 kB / 0.548 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.1415, allocations: 3.938 kB / 0.548 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.436e-05/0.1415, allocations: 16.3 kB / 0.548 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.1415, allocations: 0 / 0.548 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.103e-05/0.1415, allocations: 7.938 kB / 0.548 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.1415, allocations: 0 / 0.548 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1415, allocations: 0 / 0.548 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002462/0.1418, allocations: 187.5 kB / 0.5482 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.62e-05/0.1418, allocations: 81.06 kB / 0.5483 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.642e-05/0.1419, allocations: 3.938 kB / 0.5483 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.166e-05/0.1419, allocations: 4 kB / 0.5483 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.967e-05/0.142, allocations: 7.984 kB / 0.5483 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.887e-06/0.142, allocations: 0 / 0.5483 GB, free: 14.34 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.872e-05/0.1421, allocations: 129.1 kB / 0.5484 GB, free: 14.21 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1421, allocations: 4 kB / 0.5484 GB, free: 14.21 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002379/0.1423, allocations: 15.94 kB / 0.5484 GB, free: 14.19 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.001911/0.1442, allocations: 1.013 MB / 0.5494 GB, free: 13.32 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002073/0.1444, allocations: 59.84 kB / 0.5495 GB, free: 13.27 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1444, allocations: 0 / 0.5495 GB, free: 13.27 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.851e-05/0.1445, allocations: 27.92 kB / 0.5495 GB, free: 13.24 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003524/0.1449, allocations: 19.61 kB / 0.5495 GB, free: 13.22 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001736/0.1466, allocations: 1.459 MB / 0.551 GB, free: 11.68 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003462/0.1469, allocations: 0.7002 MB / 0.5516 GB, free: 10.96 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.6e-05/0.147, allocations: 8 kB / 0.5517 GB, free: 10.95 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.009e-05/0.147, allocations: 23.42 kB / 0.5517 GB, free: 10.93 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.147, allocations: 0 / 0.5517 GB, free: 10.93 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02437/0.1714, allocations: 2.565 MB / 0.5542 GB, free: 8.398 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.87/8.041, allocations: 9.156 kB / 0.5542 GB, free: 8.395 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test7_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test7.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.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.116693172138184]