Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.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.00142/0.00142, allocations: 117.6 kB / 18.5 MB, free: 4.582 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.001539/0.001539, allocations: 190.9 kB / 21.44 MB, free: 1.645 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.438/1.438, allocations: 225.6 MB / 249.8 MB, free: 3.645 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.2087/0.2087, allocations: 44.92 MB / 349.6 MB, free: 1.77 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.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001851/0.001851, allocations: 72.48 kB / 491.8 MB, free: 29.91 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.121, allocations: 64.26 MB / 0.543 GB, free: 4.027 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test2): time 0.002978/0.124, allocations: 1.57 MB / 0.5446 GB, free: 2.441 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007673/0.1248, allocations: 407.2 kB / 0.5449 GB, free: 2.039 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.417e-05/0.1248, allocations: 0 / 0.5449 GB, free: 2.039 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001873/0.125, allocations: 31.84 kB / 0.545 GB, free: 2.008 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001714/0.1252, allocations: 35.84 kB / 0.545 GB, free: 1.973 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002972/0.1255, allocations: 110.9 kB / 0.5451 GB, free: 1.867 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001285/0.1256, allocations: 51.91 kB / 0.5452 GB, free: 1.816 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.294e-05/0.1257, allocations: 19.91 kB / 0.5452 GB, free: 1.797 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.525e-05/0.1257, allocations: 27.8 kB / 0.5452 GB, free: 1.77 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.105e-05/0.1258, allocations: 11.94 kB / 0.5452 GB, free: 1.758 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.308e-05/0.1258, allocations: 4 kB / 0.5452 GB, free: 1.754 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.799e-05/0.1259, allocations: 35.98 kB / 0.5453 GB, free: 1.719 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.696e-05/0.1259, allocations: 19.91 kB / 0.5453 GB, free: 1.699 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.147e-05/0.1259, allocations: 15.88 kB / 0.5453 GB, free: 1.684 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000151/0.1261, allocations: 71.73 kB / 0.5454 GB, free: 1.613 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.1261, allocations: 0 / 0.5454 GB, free: 1.613 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1261, allocations: 3.938 kB / 0.5454 GB, free: 1.609 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.1261, allocations: 0 / 0.5454 GB, free: 1.609 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005113/0.1266, allocations: 383 kB / 0.5457 GB, free: 1.188 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.1267, allocations: 8.031 kB / 0.5457 GB, free: 1.18 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.914e-05/0.1267, allocations: 34.75 kB / 0.5458 GB, free: 1.137 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.909e-05/0.1267, allocations: 8.891 kB / 0.5458 GB, free: 1.129 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001908/0.1269, allocations: 180.3 kB / 0.5459 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.444e-06/0.1269, allocations: 4.359 kB / 0.546 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.097e-05/0.1269, allocations: 4.375 kB / 0.546 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001294/0.1271, allocations: 49.62 kB / 0.546 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.1271, allocations: 4 kB / 0.546 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.033e-06/0.1271, allocations: 0 / 0.546 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.1271, allocations: 0 / 0.546 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.872e-05/0.1272, allocations: 27.92 kB / 0.546 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003893/0.1276, allocations: 292.8 kB / 0.5463 GB, free: 496 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001895/0.1278, allocations: 38.56 kB / 0.5464 GB, free: 448 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.381e-05/0.1278, allocations: 20.94 kB / 0.5464 GB, free: 424 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.671e-05/0.1278, allocations: 0 / 0.5464 GB, free: 424 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.315e-05/0.1279, allocations: 38.5 kB / 0.5464 GB, free: 376 kB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 8.51e-07/0.1279, allocations: 0 / 0.5464 GB, free: 376 kB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005168/0.1284, allocations: 137.5 kB / 0.5465 GB, free: 232 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.819e-05/0.1284, allocations: 59.33 kB / 0.5466 GB, free: 160 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001408/0.1286, allocations: 144.2 kB / 0.5467 GB, free: 4 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.857e-05/0.1286, allocations: 33.75 kB / 0.5468 GB, free: 15.96 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.776e-05/0.1286, allocations: 92.09 kB / 0.5469 GB, free: 15.87 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.795e-05/0.1287, allocations: 23.72 kB / 0.5469 GB, free: 15.85 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.704e-05/0.1287, allocations: 17.72 kB / 0.5469 GB, free: 15.82 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001481/0.1288, allocations: 330.8 kB / 0.5472 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.657e-05/0.1289, allocations: 15.98 kB / 0.5472 GB, free: 15.48 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.041e-05/0.129, allocations: 28.05 kB / 0.5473 GB, free: 15.45 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001314/0.1291, allocations: 52.83 kB / 0.5473 GB, free: 15.39 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.62e-07/0.1291, allocations: 0 / 0.5473 GB, free: 15.39 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001897/0.1293, allocations: 89.55 kB / 0.5474 GB, free: 15.3 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.1293, allocations: 8 kB / 0.5474 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.1293, allocations: 0 / 0.5474 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.1293, allocations: 0 / 0.5474 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.582e-05/0.1294, allocations: 8.281 kB / 0.5474 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/0.1294, allocations: 7.984 kB / 0.5474 GB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.378e-05/0.1294, allocations: 4 kB / 0.5474 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.247e-06/0.1294, allocations: 7.938 kB / 0.5474 GB, free: 15.27 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 (5): * Single equations (assignments): 5 * 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.092e-05/0.1295, allocations: 113.8 kB / 0.5475 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.647e-05/0.1296, allocations: 7.953 kB / 0.5475 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002421/0.1298, allocations: 101.9 kB / 0.5476 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.1298, allocations: 0 / 0.5476 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.1298, allocations: 4 kB / 0.5476 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.1298, allocations: 4 kB / 0.5476 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004615/0.1303, allocations: 350.5 kB / 0.548 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.1303, allocations: 0 / 0.548 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.894e-05/0.1303, allocations: 8.312 kB / 0.548 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.1303, allocations: 0 / 0.548 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.1303, allocations: 7.984 kB / 0.548 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.428e-06/0.1303, allocations: 7.938 kB / 0.548 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.1303, allocations: 3.938 kB / 0.548 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002341/0.1306, allocations: 175.5 kB / 0.5482 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.565e-05/0.1306, allocations: 93.05 kB / 0.5483 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.413e-05/0.1306, allocations: 0 / 0.5483 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.482e-05/0.1307, allocations: 7.938 kB / 0.5483 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.737e-05/0.1308, allocations: 3.984 kB / 0.5483 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.45e-06/0.1308, allocations: 4 kB / 0.5483 GB, free: 14.28 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.644e-05/0.1308, allocations: 111.3 kB / 0.5484 GB, free: 14.17 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1308, allocations: 0 / 0.5484 GB, free: 14.17 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002324/0.1311, allocations: 19.88 kB / 0.5484 GB, free: 14.15 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 (5): * Single equations (assignments): 5 * 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.001864/0.1329, allocations: 1.021 MB / 0.5494 GB, free: 13.27 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000202/0.1331, allocations: 47.95 kB / 0.5494 GB, free: 13.23 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1331, allocations: 0 / 0.5494 GB, free: 13.23 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.535e-05/0.1332, allocations: 27.92 kB / 0.5495 GB, free: 13.2 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003748/0.1336, allocations: 26.02 kB / 0.5495 GB, free: 13.18 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001608/0.1352, allocations: 1.427 MB / 0.5509 GB, free: 11.67 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003286/0.1355, allocations: 0.6922 MB / 0.5516 GB, free: 10.95 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.574e-05/0.1356, allocations: 16.2 kB / 0.5516 GB, free: 10.93 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.59e-05/0.1356, allocations: 23.38 kB / 0.5516 GB, free: 10.91 MB / 414.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1356, allocations: 0 / 0.5516 GB, free: 10.91 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0227/0.1583, allocations: 2.519 MB / 0.5541 GB, free: 8.434 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.843/8.001, allocations: 10.02 kB / 0.5541 GB, free: 8.43 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test2_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test2.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.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: 10.988127176184207]