Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.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.001294/0.001294, 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.001409/0.001409, 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.458/1.458, allocations: 225.6 MB / 249.8 MB, free: 3.582 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.2248/0.2248, allocations: 44.92 MB / 349.6 MB, free: 1.699 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.CombiTable2Ds.Test9,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test9,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test9",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001916/0.001916, allocations: 65.44 kB / 491.8 MB, free: 30.06 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.1178, allocations: 64.26 MB / 0.543 GB, free: 4.199 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test9): time 0.003096/0.1209, allocations: 1.588 MB / 0.5446 GB, free: 2.594 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008003/0.1217, allocations: 411.2 kB / 0.545 GB, free: 2.188 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.132e-05/0.1217, allocations: 0 / 0.545 GB, free: 2.188 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006242/0.1224, allocations: 459.1 kB / 0.5454 GB, free: 1.738 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003957/0.1227, allocations: 251.4 kB / 0.5456 GB, free: 1.492 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003766/0.1231, allocations: 123.7 kB / 0.5458 GB, free: 1.371 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002495/0.1234, allocations: 163.6 kB / 0.5459 GB, free: 1.211 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.1235, allocations: 8 kB / 0.5459 GB, free: 1.203 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001247/0.1236, allocations: 111.8 kB / 0.546 GB, free: 1.094 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002731/0.1239, allocations: 239.5 kB / 0.5463 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.085e-05/0.1239, allocations: 4 kB / 0.5463 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.002e-05/0.124, allocations: 27.92 kB / 0.5463 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001189/0.1241, allocations: 71.7 kB / 0.5464 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.434e-05/0.1242, allocations: 111 kB / 0.5465 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003512/0.1245, allocations: 250.9 kB / 0.5467 GB, free: 412 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.436e-06/0.1246, allocations: 4 kB / 0.5467 GB, free: 408 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.1246, allocations: 0 / 0.5467 GB, free: 408 kB / 398.1 MB Notification: Performance of Transformations before backend: time 7.114e-06/0.1246, allocations: 4 kB / 0.5467 GB, free: 404 kB / 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.000855/0.1254, allocations: 0.6452 MB / 0.5473 GB, free: 15.7 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.1255, allocations: 12.03 kB / 0.5473 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.832e-05/0.1255, allocations: 34.75 kB / 0.5474 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.194e-05/0.1256, allocations: 40.66 kB / 0.5474 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003419/0.1259, allocations: 312.5 kB / 0.5477 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.147e-05/0.1259, allocations: 384 / 0.5477 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.808e-06/0.1259, allocations: 384 / 0.5477 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001705/0.1261, allocations: 57.61 kB / 0.5478 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.1261, allocations: 0 / 0.5478 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.1261, allocations: 7.938 kB / 0.5478 GB, free: 15.19 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.1261, allocations: 0 / 0.5478 GB, free: 15.19 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001233/0.1263, allocations: 31.97 kB / 0.5478 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005227/0.1268, allocations: 380.8 kB / 0.5482 GB, free: 14.74 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001307/0.1269, allocations: 34.56 kB / 0.5482 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.069e-05/0.127, allocations: 24.94 kB / 0.5482 GB, free: 14.67 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.72e-05/0.127, allocations: 0 / 0.5482 GB, free: 14.67 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.491e-05/0.127, allocations: 34.56 kB / 0.5483 GB, free: 14.62 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 8.31e-07/0.127, allocations: 0 / 0.5483 GB, free: 14.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003435/0.1274, allocations: 121.5 kB / 0.5484 GB, free: 14.5 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.493e-05/0.1274, allocations: 51.41 kB / 0.5484 GB, free: 14.44 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008879/0.1283, allocations: 0.8574 MB / 0.5493 GB, free: 13.57 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.689e-05/0.1283, allocations: 25.7 kB / 0.5493 GB, free: 13.54 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001686/0.1285, allocations: 212.1 kB / 0.5495 GB, free: 13.32 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.245e-05/0.1285, allocations: 19.89 kB / 0.5495 GB, free: 13.3 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.574e-05/0.1286, allocations: 13.72 kB / 0.5495 GB, free: 13.29 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001712/0.1287, allocations: 358.7 kB / 0.5499 GB, free: 12.93 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.14e-05/0.1288, allocations: 19.98 kB / 0.5499 GB, free: 12.91 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.937e-05/0.1288, allocations: 19.91 kB / 0.5499 GB, free: 12.89 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001102/0.129, allocations: 40.83 kB / 0.5499 GB, free: 12.84 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.129, allocations: 4 kB / 0.5499 GB, free: 12.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001792/0.1291, allocations: 101.3 kB / 0.55 GB, free: 12.73 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.1292, allocations: 8 kB / 0.5501 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.1292, allocations: 0 / 0.5501 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.1292, allocations: 0 / 0.5501 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.455e-05/0.1293, allocations: 11.98 kB / 0.5501 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.1293, allocations: 0 / 0.5501 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.519e-05/0.1293, allocations: 4 kB / 0.5501 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.742e-06/0.1293, allocations: 0 / 0.5501 GB, free: 12.71 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 (3): * Single equations (assignments): 3 * 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.0001942/0.1295, allocations: 221.7 kB / 0.5503 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.491e-05/0.1296, allocations: 39.72 kB / 0.5503 GB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002377/0.1298, allocations: 124.9 kB / 0.5504 GB, free: 12.31 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-06/0.1298, allocations: 0 / 0.5504 GB, free: 12.31 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.1298, allocations: 0 / 0.5504 GB, free: 12.31 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.1298, allocations: 3.984 kB / 0.5504 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002946/0.1301, allocations: 293.5 kB / 0.5507 GB, free: 11.97 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.1301, allocations: 0 / 0.5507 GB, free: 11.97 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.53e-05/0.1302, allocations: 12 kB / 0.5507 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.1302, allocations: 0 / 0.5507 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-06/0.1302, allocations: 0 / 0.5507 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.1302, allocations: 0 / 0.5507 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1302, allocations: 0 / 0.5507 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002474/0.1304, allocations: 207.1 kB / 0.5509 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001042/0.1305, allocations: 116.8 kB / 0.551 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.523e-05/0.1306, allocations: 3.984 kB / 0.551 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.321e-05/0.1306, allocations: 4 kB / 0.551 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.791e-05/0.1307, allocations: 7.938 kB / 0.5511 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.785e-06/0.1307, allocations: 0 / 0.5511 GB, free: 11.59 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006633/0.1313, allocations: 0.6511 MB / 0.5517 GB, free: 10.94 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1313, allocations: 0 / 0.5517 GB, free: 10.94 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002486/0.1316, allocations: 16 kB / 0.5517 GB, free: 10.93 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 (3): * Single equations (assignments): 3 * 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.001689/0.1333, allocations: 0.9982 MB / 0.5527 GB, free: 10.05 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001791/0.1335, allocations: 39.91 kB / 0.5527 GB, free: 10.01 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.1335, allocations: 0 / 0.5527 GB, free: 10.01 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.955e-05/0.1335, allocations: 15.98 kB / 0.5527 GB, free: 9.996 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003967/0.1339, allocations: 25.95 kB / 0.5528 GB, free: 9.973 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003792/0.1377, allocations: 3.135 MB / 0.5558 GB, free: 6.742 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004995/0.1382, allocations: 0.8219 MB / 0.5566 GB, free: 5.895 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.882e-05/0.1383, allocations: 16.05 kB / 0.5566 GB, free: 5.879 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001334/0.1384, allocations: 103.4 kB / 0.5567 GB, free: 5.781 MB / 414.1 MB Notification: Performance of SimCode: time 7.11e-07/0.1384, allocations: 4 kB / 0.5567 GB, free: 5.777 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02861/0.167, allocations: 5.8 MB / 0.5624 GB, free: 12 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.392/8.559, allocations: 11.11 kB / 0.5624 GB, free: 4 kB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test9_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test9.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test9/Test9.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.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.62570661213249]