Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.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.001255/0.001255, allocations: 112.5 kB / 18.5 MB, free: 4.543 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.001282/0.001282, allocations: 189.9 kB / 21.44 MB, free: 1.609 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.517/1.517, 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.2227/0.2227, 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.CombiTable2Dv.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test31",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001846/0.001846, allocations: 64.84 kB / 491.8 MB, free: 30.04 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1074, allocations: 64.27 MB / 0.543 GB, free: 4.09 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test31): time 0.00304/0.1105, allocations: 1.629 MB / 0.5446 GB, free: 2.445 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001528/0.112, allocations: 1.07 MB / 0.5457 GB, free: 1.367 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.776e-05/0.1121, allocations: 0 / 0.5457 GB, free: 1.367 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002159/0.1123, allocations: 23.84 kB / 0.5457 GB, free: 1.344 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002021/0.1125, allocations: 35.8 kB / 0.5457 GB, free: 1.309 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004405/0.1129, allocations: 178.8 kB / 0.5459 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001553/0.1131, allocations: 67.83 kB / 0.546 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001158/0.1132, allocations: 15.94 kB / 0.546 GB, free: 1.055 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.157e-05/0.1133, allocations: 27.84 kB / 0.546 GB, free: 1.027 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001492/0.1134, allocations: 35.84 kB / 0.546 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.1134, allocations: 8 kB / 0.546 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001203/0.1135, allocations: 51.97 kB / 0.5461 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.382e-05/0.1136, allocations: 19.92 kB / 0.5461 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.343e-05/0.1136, allocations: 23.81 kB / 0.5461 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002289/0.1139, allocations: 103.6 kB / 0.5462 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.1139, allocations: 3.938 kB / 0.5462 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.1139, allocations: 0 / 0.5462 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.321e-06/0.1139, allocations: 0 / 0.5462 GB, free: 0.7852 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.0006043/0.1145, allocations: 398.9 kB / 0.5466 GB, free: 356 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.1145, allocations: 16.03 kB / 0.5466 GB, free: 340 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.659e-05/0.1146, allocations: 34.73 kB / 0.5467 GB, free: 296 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.804e-05/0.1146, allocations: 8.891 kB / 0.5467 GB, free: 288 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002285/0.1148, allocations: 192.2 kB / 0.5469 GB, free: 56 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.1149, allocations: 4.375 kB / 0.5469 GB, free: 52 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.131e-05/0.1149, allocations: 4.328 kB / 0.5469 GB, free: 48 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002263/0.1151, allocations: 87.19 kB / 0.5469 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.1151, allocations: 0 / 0.5469 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.1151, allocations: 8 kB / 0.547 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.1151, allocations: 0 / 0.547 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001346/0.1153, allocations: 39.95 kB / 0.547 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004557/0.1157, allocations: 300.8 kB / 0.5473 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001392/0.1159, allocations: 50.5 kB / 0.5473 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.266e-05/0.1159, allocations: 28.92 kB / 0.5474 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.185e-05/0.116, allocations: 4 kB / 0.5474 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.545e-05/0.116, allocations: 38.56 kB / 0.5474 GB, free: 15.42 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.143e-06/0.116, allocations: 0 / 0.5474 GB, free: 15.42 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007736/0.1168, allocations: 225.5 kB / 0.5476 GB, free: 15.19 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.722e-05/0.1168, allocations: 89.05 kB / 0.5477 GB, free: 15.09 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001537/0.117, allocations: 147.5 kB / 0.5478 GB, free: 14.93 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.745e-05/0.117, allocations: 25.7 kB / 0.5479 GB, free: 14.9 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.357e-05/0.1171, allocations: 96.12 kB / 0.5479 GB, free: 14.8 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.068e-05/0.1171, allocations: 27.86 kB / 0.548 GB, free: 14.78 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.903e-05/0.1171, allocations: 21.72 kB / 0.548 GB, free: 14.75 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001336/0.1173, allocations: 322.8 kB / 0.5483 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001104/0.1174, allocations: 35.97 kB / 0.5483 GB, free: 14.39 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000139/0.1175, allocations: 57.73 kB / 0.5484 GB, free: 14.33 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002151/0.1177, allocations: 92.77 kB / 0.5485 GB, free: 14.23 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.1177, allocations: 0 / 0.5485 GB, free: 14.23 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002752/0.118, allocations: 121.6 kB / 0.5486 GB, free: 14.11 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.118, allocations: 8 kB / 0.5486 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.118, allocations: 0 / 0.5486 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.118, allocations: 0 / 0.5486 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001124/0.1182, allocations: 23.98 kB / 0.5486 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.1182, allocations: 3.938 kB / 0.5486 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.037e-05/0.1182, allocations: 7.984 kB / 0.5486 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.123e-05/0.1182, allocations: 4 kB / 0.5486 GB, free: 14.06 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 (7): * Single equations (assignments): 7 * 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.894e-05/0.1183, allocations: 113.8 kB / 0.5488 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.498e-05/0.1184, allocations: 11.89 kB / 0.5488 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003347/0.1187, allocations: 146.3 kB / 0.5489 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.1187, allocations: 0 / 0.5489 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.235e-06/0.1187, allocations: 7.938 kB / 0.5489 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.1187, allocations: 0 / 0.5489 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005701/0.1193, allocations: 406.4 kB / 0.5493 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1193, allocations: 0 / 0.5493 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.962e-05/0.1194, allocations: 23.98 kB / 0.5493 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/0.1194, allocations: 3.938 kB / 0.5493 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.664e-06/0.1194, allocations: 0 / 0.5493 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1194, allocations: 7.938 kB / 0.5493 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.1194, allocations: 0 / 0.5493 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003262/0.1197, allocations: 223.8 kB / 0.5495 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.837e-05/0.1198, allocations: 89.05 kB / 0.5496 GB, free: 12.94 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.5e-05/0.1198, allocations: 15.88 kB / 0.5496 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.702e-05/0.1199, allocations: 7.984 kB / 0.5497 GB, free: 12.92 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.358e-05/0.1199, allocations: 4 kB / 0.5497 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.678e-06/0.1199, allocations: 0 / 0.5497 GB, free: 12.91 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.264e-05/0.12, allocations: 117.1 kB / 0.5498 GB, free: 12.8 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.12, allocations: 0 / 0.5498 GB, free: 12.8 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002723/0.1203, allocations: 19.94 kB / 0.5498 GB, free: 12.78 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 (7): * Single equations (assignments): 7 * 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.002059/0.1223, allocations: 1.094 MB / 0.5509 GB, free: 11.85 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002965/0.1226, allocations: 91.86 kB / 0.5509 GB, free: 11.76 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1226, allocations: 0 / 0.5509 GB, free: 11.76 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001183/0.1228, allocations: 43.97 kB / 0.551 GB, free: 11.71 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003599/0.1231, allocations: 19.92 kB / 0.551 GB, free: 11.7 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001954/0.1251, allocations: 1.609 MB / 0.5526 GB, free: 10 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003352/0.1254, allocations: 0.7002 MB / 0.5533 GB, free: 9.277 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.231e-05/0.1255, allocations: 25.11 kB / 0.5533 GB, free: 9.254 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.498e-05/0.1256, allocations: 31.42 kB / 0.5533 GB, free: 9.223 MB / 414.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1256, allocations: 0 / 0.5533 GB, free: 9.223 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02587/0.1514, allocations: 3.161 MB / 0.5564 GB, free: 6.059 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.963/8.115, allocations: 9.797 kB / 0.5564 GB, free: 6.051 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test31_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test31.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.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.21662258123979]