Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.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.00129/0.00129, allocations: 117.6 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.001351/0.001351, 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.46/1.46, 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.228/0.228, allocations: 44.92 MB / 349.6 MB, free: 1.73 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.Test18,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test18",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test18,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test18",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001918/0.001918, allocations: 68.67 kB / 491.8 MB, free: 29.96 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1213, allocations: 64.25 MB / 0.543 GB, free: 4.098 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test18): time 0.003121/0.1244, allocations: 1.587 MB / 0.5446 GB, free: 2.492 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001553/0.1259, allocations: 1.039 MB / 0.5456 GB, free: 1.445 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.372e-05/0.126, allocations: 4 kB / 0.5456 GB, free: 1.441 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000212/0.1262, allocations: 23.84 kB / 0.5456 GB, free: 1.418 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001775/0.1264, allocations: 43.78 kB / 0.5457 GB, free: 1.375 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003196/0.1267, allocations: 115.3 kB / 0.5458 GB, free: 1.266 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00014/0.1268, allocations: 63.89 kB / 0.5458 GB, free: 1.203 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/0.1269, allocations: 28.05 kB / 0.5459 GB, free: 1.176 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.657e-05/0.127, allocations: 27.86 kB / 0.5459 GB, free: 1.148 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001315/0.1271, allocations: 31.84 kB / 0.5459 GB, free: 1.117 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.595e-05/0.1271, allocations: 8 kB / 0.5459 GB, free: 1.109 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001034/0.1272, allocations: 47.97 kB / 0.546 GB, free: 1.062 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.549e-05/0.1273, allocations: 15.88 kB / 0.546 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.43e-05/0.1273, allocations: 31.84 kB / 0.546 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002019/0.1275, allocations: 107.6 kB / 0.5461 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.1275, allocations: 0 / 0.5461 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1275, allocations: 0 / 0.5461 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.005e-06/0.1275, allocations: 4 kB / 0.5461 GB, free: 0.9062 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005287/0.1281, allocations: 387 kB / 0.5465 GB, free: 492 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.1281, allocations: 8.031 kB / 0.5465 GB, free: 484 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.392e-05/0.1282, allocations: 34.75 kB / 0.5465 GB, free: 440 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.721e-05/0.1282, allocations: 12.83 kB / 0.5465 GB, free: 428 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002177/0.1284, allocations: 192.2 kB / 0.5467 GB, free: 196 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.345e-05/0.1284, allocations: 8.375 kB / 0.5467 GB, free: 188 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.1284, allocations: 8.125 kB / 0.5467 GB, free: 180 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002056/0.1287, allocations: 79.38 kB / 0.5468 GB, free: 88 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.662e-05/0.1287, allocations: 3.938 kB / 0.5468 GB, free: 84 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-06/0.1287, allocations: 0 / 0.5468 GB, free: 84 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.1287, allocations: 0 / 0.5468 GB, free: 84 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001078/0.1288, allocations: 35.97 kB / 0.5468 GB, free: 48 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004647/0.1293, allocations: 308.7 kB / 0.5471 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001256/0.1294, allocations: 58.59 kB / 0.5472 GB, free: 15.63 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.193e-05/0.1294, allocations: 16.97 kB / 0.5472 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.431e-05/0.1295, allocations: 4 kB / 0.5472 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.029e-05/0.1295, allocations: 34.56 kB / 0.5473 GB, free: 15.56 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/0.1295, allocations: 8 kB / 0.5473 GB, free: 15.55 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006947/0.1302, allocations: 189.4 kB / 0.5474 GB, free: 15.36 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.988e-05/0.1302, allocations: 81.05 kB / 0.5475 GB, free: 15.27 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001471/0.1304, allocations: 143.8 kB / 0.5477 GB, free: 15.12 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.298e-05/0.1304, allocations: 25.7 kB / 0.5477 GB, free: 15.09 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.483e-05/0.1305, allocations: 104 kB / 0.5478 GB, free: 14.98 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.016e-05/0.1305, allocations: 31.75 kB / 0.5478 GB, free: 14.95 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.242e-05/0.1305, allocations: 21.7 kB / 0.5478 GB, free: 14.92 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001313/0.1307, allocations: 322.8 kB / 0.5481 GB, free: 14.6 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.179e-05/0.1308, allocations: 27.97 kB / 0.5482 GB, free: 14.57 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.912e-05/0.1309, allocations: 45.64 kB / 0.5482 GB, free: 14.52 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001613/0.131, allocations: 81.06 kB / 0.5483 GB, free: 14.44 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.131, allocations: 0 / 0.5483 GB, free: 14.44 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002134/0.1312, allocations: 105.6 kB / 0.5484 GB, free: 14.33 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.1312, allocations: 4 kB / 0.5484 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.1312, allocations: 0 / 0.5484 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.1313, allocations: 4 kB / 0.5484 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.553e-05/0.1314, allocations: 15.98 kB / 0.5484 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.657e-06/0.1314, allocations: 7.875 kB / 0.5484 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.173e-05/0.1314, allocations: 4 kB / 0.5484 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.321e-05/0.1314, allocations: 15.98 kB / 0.5484 GB, free: 14.28 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 8.807e-05/0.1315, allocations: 117.8 kB / 0.5485 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.457e-05/0.1315, allocations: 7.953 kB / 0.5486 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002757/0.1318, allocations: 118 kB / 0.5487 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.1318, allocations: 7.969 kB / 0.5487 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.1318, allocations: 7.938 kB / 0.5487 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.1318, allocations: 0 / 0.5487 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004976/0.1323, allocations: 398.5 kB / 0.5491 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1323, allocations: 0 / 0.5491 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.42e-05/0.1324, allocations: 19.92 kB / 0.5491 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.1324, allocations: 0 / 0.5491 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.287e-06/0.1324, allocations: 4 kB / 0.5491 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.1324, allocations: 0 / 0.5491 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.1324, allocations: 0 / 0.5491 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000272/0.1327, allocations: 215.6 kB / 0.5493 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.568e-05/0.1327, allocations: 88.98 kB / 0.5494 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.086e-05/0.1328, allocations: 8.375 kB / 0.5494 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.595e-05/0.1328, allocations: 0 / 0.5494 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.977e-05/0.1329, allocations: 7.984 kB / 0.5494 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.857e-06/0.1329, allocations: 8 kB / 0.5494 GB, free: 13.18 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.391e-05/0.133, allocations: 107.3 kB / 0.5495 GB, free: 13.07 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.133, allocations: 4 kB / 0.5495 GB, free: 13.07 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002558/0.1332, allocations: 31.92 kB / 0.5495 GB, free: 13.04 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 (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.002011/0.1352, allocations: 1.073 MB / 0.5506 GB, free: 12.13 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002285/0.1355, allocations: 67.94 kB / 0.5506 GB, free: 12.07 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.1355, allocations: 0 / 0.5506 GB, free: 12.07 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.035e-05/0.1356, allocations: 43.91 kB / 0.5507 GB, free: 12.02 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003357/0.1359, allocations: 15.98 kB / 0.5507 GB, free: 12.01 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001749/0.1376, allocations: 1.513 MB / 0.5522 GB, free: 10.41 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003313/0.138, allocations: 0.7 MB / 0.5529 GB, free: 9.688 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.305e-05/0.1381, allocations: 28.62 kB / 0.5529 GB, free: 9.656 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.979e-05/0.1381, allocations: 31.42 kB / 0.5529 GB, free: 9.625 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1381, allocations: 0 / 0.5529 GB, free: 9.625 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02596/0.1641, allocations: 3.01 MB / 0.5559 GB, free: 6.609 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.87/8.035, allocations: 9.734 kB / 0.5559 GB, free: 6.602 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test18_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test18.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test18/Test18.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.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.158696683123708]