Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.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.001256/0.001256, allocations: 119 kB / 18.5 MB, free: 4.566 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.001182/0.001182, allocations: 190.9 kB / 21.44 MB, free: 1.633 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.388/1.388, 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.2122/0.2122, 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.CombiTable1Ds.Test25_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001843/0.001843, allocations: 68.5 kB / 491.8 MB, free: 30.11 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.1128, allocations: 64.25 MB / 0.543 GB, free: 4.105 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab): time 0.003232/0.116, allocations: 1.583 MB / 0.5446 GB, free: 2.504 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008109/0.1168, allocations: 419.2 kB / 0.545 GB, free: 2.09 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.061e-05/0.1169, allocations: 0 / 0.545 GB, free: 2.09 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002279/0.1171, allocations: 27.84 kB / 0.545 GB, free: 2.062 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001848/0.1173, allocations: 43.77 kB / 0.545 GB, free: 2.02 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002561/0.1175, allocations: 83.34 kB / 0.5451 GB, free: 1.941 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001547/0.1177, allocations: 67.88 kB / 0.5452 GB, free: 1.875 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.91e-05/0.1178, allocations: 12.12 kB / 0.5452 GB, free: 1.863 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.892e-05/0.1178, allocations: 23.86 kB / 0.5452 GB, free: 1.84 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.185e-05/0.1179, allocations: 27.89 kB / 0.5452 GB, free: 1.812 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.584e-05/0.1179, allocations: 8 kB / 0.5452 GB, free: 1.805 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001173/0.118, allocations: 55.92 kB / 0.5453 GB, free: 1.75 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.549e-05/0.1181, allocations: 15.92 kB / 0.5453 GB, free: 1.734 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.671e-05/0.1181, allocations: 31.73 kB / 0.5453 GB, free: 1.703 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002224/0.1184, allocations: 99.62 kB / 0.5454 GB, free: 1.605 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1184, allocations: 0 / 0.5454 GB, free: 1.605 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.1184, allocations: 0 / 0.5454 GB, free: 1.605 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.127e-05/0.1184, allocations: 0 / 0.5454 GB, free: 1.605 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005176/0.1189, allocations: 390.9 kB / 0.5458 GB, free: 1.176 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.1189, allocations: 12.03 kB / 0.5458 GB, free: 1.164 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.784e-05/0.119, allocations: 38.69 kB / 0.5459 GB, free: 1.117 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.685e-05/0.119, allocations: 8.891 kB / 0.5459 GB, free: 1.109 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002328/0.1193, allocations: 186 kB / 0.546 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.1193, allocations: 384 / 0.546 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.384e-05/0.1193, allocations: 8.125 kB / 0.5461 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001638/0.1195, allocations: 67.39 kB / 0.5461 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.1195, allocations: 0 / 0.5461 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.1195, allocations: 4 kB / 0.5461 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.1195, allocations: 4 kB / 0.5461 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.803e-05/0.1196, allocations: 27.92 kB / 0.5462 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004523/0.12, allocations: 292.8 kB / 0.5464 GB, free: 444 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001737/0.1202, allocations: 54.56 kB / 0.5465 GB, free: 380 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.147e-05/0.1203, allocations: 28.97 kB / 0.5465 GB, free: 348 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.42e-05/0.1203, allocations: 3.938 kB / 0.5465 GB, free: 344 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.043e-05/0.1203, allocations: 30.56 kB / 0.5465 GB, free: 304 kB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 9.62e-07/0.1203, allocations: 0 / 0.5465 GB, free: 304 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006386/0.121, allocations: 185.4 kB / 0.5467 GB, free: 112 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.483e-05/0.121, allocations: 77.11 kB / 0.5468 GB, free: 16 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002319/0.1213, allocations: 152.3 kB / 0.5469 GB, free: 15.86 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.053e-05/0.1213, allocations: 29.7 kB / 0.547 GB, free: 15.82 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.559e-05/0.1213, allocations: 88.14 kB / 0.5471 GB, free: 15.73 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.165e-05/0.1214, allocations: 31.73 kB / 0.5471 GB, free: 15.7 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.145e-05/0.1214, allocations: 17.72 kB / 0.5471 GB, free: 15.68 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.1216, allocations: 326.8 kB / 0.5474 GB, free: 15.35 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.247e-05/0.1216, allocations: 27.98 kB / 0.5474 GB, free: 15.32 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001067/0.1218, allocations: 57.69 kB / 0.5475 GB, free: 15.26 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001671/0.1219, allocations: 76.88 kB / 0.5476 GB, free: 15.18 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.1219, allocations: 0 / 0.5476 GB, free: 15.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002143/0.1221, allocations: 105.6 kB / 0.5477 GB, free: 15.07 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.1222, allocations: 11.94 kB / 0.5477 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.1222, allocations: 0 / 0.5477 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.1222, allocations: 7.969 kB / 0.5477 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001093/0.1223, allocations: 20.36 kB / 0.5477 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.531e-06/0.1223, allocations: 0 / 0.5477 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.151e-05/0.1223, allocations: 11.94 kB / 0.5477 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.647e-06/0.1223, allocations: 4 kB / 0.5477 GB, free: 15.02 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 (9): * Single equations (assignments): 9 * 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 9.93e-05/0.1224, allocations: 121.8 kB / 0.5478 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.29e-05/0.1225, allocations: 3.953 kB / 0.5478 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002742/0.1228, allocations: 122.2 kB / 0.548 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.1228, allocations: 4 kB / 0.548 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.1228, allocations: 3.984 kB / 0.548 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.1228, allocations: 3.938 kB / 0.548 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000518/0.1233, allocations: 390.5 kB / 0.5483 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.1233, allocations: 0 / 0.5483 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.506e-05/0.1234, allocations: 15.98 kB / 0.5484 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.1234, allocations: 7.938 kB / 0.5484 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.165e-06/0.1234, allocations: 0 / 0.5484 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.1234, allocations: 4 kB / 0.5484 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1234, allocations: 0 / 0.5484 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002812/0.1236, allocations: 211.6 kB / 0.5486 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.6e-05/0.1237, allocations: 77.11 kB / 0.5486 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.873e-05/0.1237, allocations: 3.938 kB / 0.5486 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.827e-05/0.1238, allocations: 11.98 kB / 0.5487 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.714e-05/0.1238, allocations: 4 kB / 0.5487 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.171e-06/0.1238, allocations: 4 kB / 0.5487 GB, free: 13.94 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.443e-05/0.1239, allocations: 111.2 kB / 0.5488 GB, free: 13.83 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1239, allocations: 0 / 0.5488 GB, free: 13.83 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002543/0.1242, allocations: 27.98 kB / 0.5488 GB, free: 13.8 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.002121/0.1263, allocations: 1.079 MB / 0.5499 GB, free: 12.89 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002402/0.1265, allocations: 75.89 kB / 0.5499 GB, free: 12.81 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1265, allocations: 0 / 0.5499 GB, free: 12.81 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.403e-05/0.1266, allocations: 31.92 kB / 0.55 GB, free: 12.78 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003828/0.127, allocations: 23.89 kB / 0.55 GB, free: 12.76 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001711/0.1287, allocations: 1.515 MB / 0.5515 GB, free: 11.16 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003264/0.129, allocations: 0.6963 MB / 0.5521 GB, free: 10.44 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.784e-05/0.1291, allocations: 24.92 kB / 0.5522 GB, free: 10.41 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.78e-05/0.1292, allocations: 23.44 kB / 0.5522 GB, free: 10.39 MB / 414.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1292, allocations: 0 / 0.5522 GB, free: 10.39 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02365/0.1528, allocations: 3.113 MB / 0.5552 GB, free: 7.273 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.098/8.251, allocations: 9.797 kB / 0.5552 GB, free: 7.266 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.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.142120305914432]