Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.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.001242/0.001242, allocations: 116.8 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.001277/0.001277, allocations: 189.2 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.395/1.395, allocations: 225.6 MB / 249.8 MB, free: 3.609 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.2545/0.2545, allocations: 44.92 MB / 349.6 MB, free: 1.707 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.Test34,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test34",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test34,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test34",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001997/0.001997, allocations: 69.66 kB / 491.8 MB, free: 30.35 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1232, allocations: 64.26 MB / 0.543 GB, free: 4.078 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test34): time 0.003116/0.1264, allocations: 1.583 MB / 0.5446 GB, free: 2.477 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008202/0.1272, allocations: 415.2 kB / 0.545 GB, free: 2.066 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.957e-05/0.1272, allocations: 0 / 0.545 GB, free: 2.066 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002516/0.1275, allocations: 75.77 kB / 0.545 GB, free: 1.992 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002376/0.1277, allocations: 75.73 kB / 0.5451 GB, free: 1.918 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002928/0.128, allocations: 103.2 kB / 0.5452 GB, free: 1.82 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001561/0.1282, allocations: 71.86 kB / 0.5453 GB, free: 1.75 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.646e-05/0.1283, allocations: 20.06 kB / 0.5453 GB, free: 1.73 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.842e-05/0.1283, allocations: 43.83 kB / 0.5453 GB, free: 1.688 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001017/0.1284, allocations: 51.83 kB / 0.5454 GB, free: 1.637 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.83e-05/0.1285, allocations: 4 kB / 0.5454 GB, free: 1.633 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.865e-05/0.1286, allocations: 51.91 kB / 0.5454 GB, free: 1.582 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.077e-05/0.1286, allocations: 23.92 kB / 0.5455 GB, free: 1.559 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.96e-05/0.1286, allocations: 23.8 kB / 0.5455 GB, free: 1.535 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001967/0.1288, allocations: 107.5 kB / 0.5456 GB, free: 1.43 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.1288, allocations: 0 / 0.5456 GB, free: 1.43 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.1288, allocations: 0 / 0.5456 GB, free: 1.43 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.908e-06/0.1289, allocations: 0 / 0.5456 GB, free: 1.43 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.0005502/0.1294, allocations: 410.8 kB / 0.546 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.1294, allocations: 8.031 kB / 0.546 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.143e-05/0.1295, allocations: 42.73 kB / 0.546 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.235e-05/0.1295, allocations: 8.891 kB / 0.546 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002185/0.1297, allocations: 196.2 kB / 0.5462 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.359e-05/0.1298, allocations: 4.375 kB / 0.5462 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.529e-05/0.1298, allocations: 8.125 kB / 0.5462 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001442/0.1299, allocations: 57.61 kB / 0.5463 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.603e-05/0.1299, allocations: 3.984 kB / 0.5463 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.063e-06/0.1299, allocations: 0 / 0.5463 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.1299, allocations: 0 / 0.5463 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.509e-05/0.13, allocations: 31.97 kB / 0.5463 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004431/0.1305, allocations: 296.8 kB / 0.5466 GB, free: 240 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001123/0.1306, allocations: 46.5 kB / 0.5467 GB, free: 184 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.093e-05/0.1306, allocations: 20.94 kB / 0.5467 GB, free: 160 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.874e-05/0.1307, allocations: 3.938 kB / 0.5467 GB, free: 156 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.846e-05/0.1307, allocations: 34.56 kB / 0.5467 GB, free: 112 kB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.1307, allocations: 0 / 0.5467 GB, free: 112 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008676/0.1316, allocations: 241.2 kB / 0.5469 GB, free: 15.87 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.329e-05/0.1316, allocations: 59.34 kB / 0.547 GB, free: 15.8 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002174/0.1318, allocations: 202.2 kB / 0.5472 GB, free: 15.59 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.8e-05/0.1319, allocations: 25.7 kB / 0.5472 GB, free: 15.55 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.164e-05/0.1319, allocations: 108.1 kB / 0.5473 GB, free: 15.45 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.422e-05/0.132, allocations: 31.73 kB / 0.5474 GB, free: 15.41 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.84e-05/0.132, allocations: 17.72 kB / 0.5474 GB, free: 15.39 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001505/0.1322, allocations: 322.8 kB / 0.5477 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.309e-05/0.1322, allocations: 27.98 kB / 0.5477 GB, free: 15.04 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.859e-05/0.1323, allocations: 39.97 kB / 0.5477 GB, free: 15 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001592/0.1325, allocations: 76.81 kB / 0.5478 GB, free: 14.92 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.1325, allocations: 4 kB / 0.5478 GB, free: 14.92 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002251/0.1327, allocations: 109.6 kB / 0.5479 GB, free: 14.8 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.1327, allocations: 8 kB / 0.5479 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.1327, allocations: 0 / 0.5479 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.1327, allocations: 0 / 0.5479 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001137/0.1329, allocations: 19.98 kB / 0.548 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.1329, allocations: 11.81 kB / 0.548 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.794e-05/0.1329, allocations: 4 kB / 0.548 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.356e-06/0.1329, allocations: 4 kB / 0.548 GB, free: 14.76 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 0.0001131/0.133, allocations: 125.8 kB / 0.5481 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.474e-05/0.1331, allocations: 15.91 kB / 0.5481 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002857/0.1333, allocations: 126.3 kB / 0.5482 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.1333, allocations: 4 kB / 0.5482 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.1334, allocations: 3.938 kB / 0.5482 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.1334, allocations: 0 / 0.5482 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005679/0.1339, allocations: 423.2 kB / 0.5486 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.1339, allocations: 3.938 kB / 0.5486 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.481e-05/0.134, allocations: 23.86 kB / 0.5487 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.134, allocations: 4.031 kB / 0.5487 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.224e-05/0.134, allocations: 4 kB / 0.5487 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.134, allocations: 0 / 0.5487 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.134, allocations: 0 / 0.5487 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002826/0.1343, allocations: 213.1 kB / 0.5489 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.718e-05/0.1344, allocations: 89 kB / 0.549 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.611e-05/0.1344, allocations: 7.938 kB / 0.549 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.226e-05/0.1344, allocations: 7.984 kB / 0.549 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.634e-05/0.1345, allocations: 11.98 kB / 0.549 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.093e-06/0.1345, allocations: 4 kB / 0.549 GB, free: 13.6 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001422/0.1346, allocations: 156.1 kB / 0.5491 GB, free: 13.45 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1346, allocations: 0 / 0.5491 GB, free: 13.45 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002444/0.1349, allocations: 16 kB / 0.5492 GB, free: 13.43 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.002199/0.1371, allocations: 1.105 MB / 0.5502 GB, free: 12.5 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000226/0.1373, allocations: 79.81 kB / 0.5503 GB, free: 12.42 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.644e-06/0.1373, allocations: 0 / 0.5503 GB, free: 12.42 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.406e-05/0.1374, allocations: 39.91 kB / 0.5503 GB, free: 12.38 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000363/0.1378, allocations: 19.91 kB / 0.5504 GB, free: 12.36 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002003/0.1398, allocations: 1.679 MB / 0.552 GB, free: 10.59 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003808/0.1402, allocations: 0.7078 MB / 0.5527 GB, free: 9.852 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.245e-05/0.1402, allocations: 24.95 kB / 0.5527 GB, free: 9.824 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.046e-05/0.1403, allocations: 31.42 kB / 0.5528 GB, free: 9.793 MB / 414.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1403, allocations: 0 / 0.5528 GB, free: 9.793 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02511/0.1654, allocations: 3.098 MB / 0.5558 GB, free: 6.727 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.054/8.219, allocations: 10.81 kB / 0.5558 GB, free: 6.719 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test34_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test34.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test34/Test34.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.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.251719319727272]