Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.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.002013/0.002013, allocations: 119 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.002042/0.002042, 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.483/1.483, allocations: 225.6 MB / 249.8 MB, free: 3.629 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.2386/0.2386, allocations: 44.91 MB / 349.6 MB, free: 1.742 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.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test8",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001994/0.001994, allocations: 63.77 kB / 491.8 MB, free: 30.3 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1339/0.1359, allocations: 64.26 MB / 0.543 GB, free: 4.113 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test8): time 0.003111/0.139, allocations: 1.571 MB / 0.5445 GB, free: 2.527 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008175/0.1398, allocations: 411.2 kB / 0.5449 GB, free: 2.121 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.661e-05/0.1399, allocations: 0 / 0.5449 GB, free: 2.121 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000209/0.1401, allocations: 27.84 kB / 0.545 GB, free: 2.094 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001884/0.1403, allocations: 43.77 kB / 0.545 GB, free: 2.051 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003169/0.1406, allocations: 107.1 kB / 0.5451 GB, free: 1.949 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001456/0.1408, allocations: 55.84 kB / 0.5452 GB, free: 1.895 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/0.1409, allocations: 15.92 kB / 0.5452 GB, free: 1.879 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.668e-05/0.1409, allocations: 19.92 kB / 0.5452 GB, free: 1.859 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.776e-05/0.141, allocations: 19.81 kB / 0.5452 GB, free: 1.84 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.982e-05/0.141, allocations: 7.984 kB / 0.5452 GB, free: 1.832 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.635e-05/0.1411, allocations: 31.98 kB / 0.5453 GB, free: 1.801 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.208e-05/0.1411, allocations: 19.92 kB / 0.5453 GB, free: 1.781 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.507e-05/0.1412, allocations: 19.81 kB / 0.5453 GB, free: 1.762 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001797/0.1413, allocations: 79.66 kB / 0.5454 GB, free: 1.684 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1413, allocations: 0 / 0.5454 GB, free: 1.684 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.1413, allocations: 0 / 0.5454 GB, free: 1.684 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.1413, allocations: 0 / 0.5454 GB, free: 1.684 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.0005476/0.1419, allocations: 379 kB / 0.5457 GB, free: 1.266 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.1419, allocations: 8.031 kB / 0.5457 GB, free: 1.258 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.611e-05/0.142, allocations: 38.75 kB / 0.5458 GB, free: 1.211 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.879e-05/0.142, allocations: 4.891 kB / 0.5458 GB, free: 1.207 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002215/0.1422, allocations: 200.1 kB / 0.546 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.661e-06/0.1422, allocations: 4.375 kB / 0.546 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.949e-05/0.1423, allocations: 384 / 0.546 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001365/0.1424, allocations: 57.56 kB / 0.546 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.1424, allocations: 0 / 0.546 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.634e-06/0.1424, allocations: 0 / 0.546 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.1424, allocations: 3.938 kB / 0.546 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.063e-05/0.1425, allocations: 27.97 kB / 0.5461 GB, free: 0.875 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000403/0.1429, allocations: 280.9 kB / 0.5463 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002/0.1431, allocations: 46.5 kB / 0.5464 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.736e-05/0.1432, allocations: 12.94 kB / 0.5464 GB, free: 492 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.012e-05/0.1432, allocations: 8 kB / 0.5464 GB, free: 484 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.452e-05/0.1432, allocations: 30.56 kB / 0.5464 GB, free: 444 kB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.1432, allocations: 4 kB / 0.5464 GB, free: 440 kB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005345/0.1437, allocations: 145.7 kB / 0.5466 GB, free: 288 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.534e-05/0.1438, allocations: 55.41 kB / 0.5466 GB, free: 220 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001566/0.1439, allocations: 151.8 kB / 0.5468 GB, free: 60 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.799e-05/0.144, allocations: 25.7 kB / 0.5468 GB, free: 28 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.009e-05/0.144, allocations: 100.1 kB / 0.5469 GB, free: 15.93 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.633e-05/0.1441, allocations: 23.89 kB / 0.5469 GB, free: 15.9 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.958e-05/0.1441, allocations: 21.7 kB / 0.5469 GB, free: 15.88 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001519/0.1443, allocations: 318.8 kB / 0.5472 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7e-05/0.1443, allocations: 19.98 kB / 0.5473 GB, free: 15.54 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.18e-05/0.1444, allocations: 23.97 kB / 0.5473 GB, free: 15.51 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001271/0.1445, allocations: 52.83 kB / 0.5473 GB, free: 15.46 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.1445, allocations: 4 kB / 0.5473 GB, free: 15.45 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001917/0.1447, allocations: 89.55 kB / 0.5474 GB, free: 15.36 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.1447, allocations: 8 kB / 0.5474 GB, free: 15.35 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.1447, allocations: 0 / 0.5474 GB, free: 15.35 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.916e-05/0.1448, allocations: 7.922 kB / 0.5474 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.812e-05/0.1448, allocations: 8 kB / 0.5474 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.796e-06/0.1448, allocations: 4 kB / 0.5474 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.75e-05/0.1449, allocations: 7.922 kB / 0.5474 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.306e-06/0.1449, allocations: 8 kB / 0.5475 GB, free: 15.32 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 9e-05/0.145, allocations: 117.8 kB / 0.5476 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.067e-05/0.145, allocations: 7.953 kB / 0.5476 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002608/0.1452, allocations: 102.1 kB / 0.5477 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.1453, allocations: 64 / 0.5477 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.1453, allocations: 4 kB / 0.5477 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.359e-06/0.1453, allocations: 3.938 kB / 0.5477 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004517/0.1457, allocations: 350.6 kB / 0.548 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.1457, allocations: 7.875 kB / 0.548 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.1e-05/0.1458, allocations: 12 kB / 0.548 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.1458, allocations: 0 / 0.548 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.338e-06/0.1458, allocations: 3.938 kB / 0.548 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/0.1458, allocations: 3.984 kB / 0.548 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1458, allocations: 0 / 0.548 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002354/0.146, allocations: 179.5 kB / 0.5482 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.12e-05/0.1461, allocations: 85.05 kB / 0.5483 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.915e-05/0.1461, allocations: 7.938 kB / 0.5483 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.385e-05/0.1462, allocations: 4 kB / 0.5483 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.851e-05/0.1462, allocations: 7.984 kB / 0.5483 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.567e-06/0.1462, allocations: 0 / 0.5483 GB, free: 14.32 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001012/0.1463, allocations: 117 kB / 0.5484 GB, free: 14.21 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1463, allocations: 4 kB / 0.5484 GB, free: 14.21 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002341/0.1465, allocations: 23.86 kB / 0.5484 GB, free: 14.18 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.001869/0.1484, allocations: 1.005 MB / 0.5494 GB, free: 13.32 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002126/0.1486, allocations: 63.83 kB / 0.5495 GB, free: 13.26 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1486, allocations: 0 / 0.5495 GB, free: 13.26 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.672e-05/0.1487, allocations: 27.92 kB / 0.5495 GB, free: 13.23 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003539/0.149, allocations: 15.98 kB / 0.5495 GB, free: 13.22 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001679/0.1507, allocations: 1.455 MB / 0.551 GB, free: 11.68 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003482/0.1511, allocations: 0.7001 MB / 0.5516 GB, free: 10.96 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.75e-05/0.1511, allocations: 16.05 kB / 0.5517 GB, free: 10.94 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.214e-05/0.1512, allocations: 27.42 kB / 0.5517 GB, free: 10.92 MB / 414.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1512, allocations: 0 / 0.5517 GB, free: 10.92 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02484/0.176, allocations: 2.564 MB / 0.5542 GB, free: 8.395 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.741/7.917, allocations: 12.59 kB / 0.5542 GB, free: 8.387 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test8_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test8.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.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.093427170999348]