Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test28.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001314/0.001314, allocations: 112.2 kB / 18.49 MB, free: 4.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002312/0.002312, allocations: 219 kB / 21.46 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.535/1.535, allocations: 230.6 MB / 254.8 MB, free: 15.07 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2416/0.2416, allocations: 46.92 MB / 357.8 MB, free: 10.3 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test28,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test28",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test28,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test28",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002069/0.002069, allocations: 71.89 kB / 0.4916 GB, free: 7.902 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1313/0.1334, allocations: 65.99 MB / 0.5561 GB, free: 5.789 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test28): time 0.002983/0.1364, allocations: 1.626 MB / 0.5577 GB, free: 4.152 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001045/0.1374, allocations: 0.5533 MB / 0.5582 GB, free: 3.594 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.212e-05/0.1375, allocations: 0 / 0.5582 GB, free: 3.594 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002956/0.1378, allocations: 111.7 kB / 0.5583 GB, free: 3.484 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003143/0.1381, allocations: 119.6 kB / 0.5584 GB, free: 3.367 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003147/0.1384, allocations: 111.3 kB / 0.5585 GB, free: 3.262 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001849/0.1386, allocations: 95.73 kB / 0.5586 GB, free: 3.168 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.1387, allocations: 11.98 kB / 0.5586 GB, free: 3.156 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.085e-05/0.1388, allocations: 47.83 kB / 0.5587 GB, free: 3.109 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001411/0.1389, allocations: 71.8 kB / 0.5588 GB, free: 3.039 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.52e-05/0.1389, allocations: 4 kB / 0.5588 GB, free: 3.035 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001004/0.139, allocations: 43.98 kB / 0.5588 GB, free: 2.992 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.773e-05/0.1391, allocations: 31.91 kB / 0.5588 GB, free: 2.961 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.949e-05/0.1391, allocations: 39.61 kB / 0.5589 GB, free: 2.922 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002311/0.1394, allocations: 119.4 kB / 0.559 GB, free: 2.805 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.1394, allocations: 0 / 0.559 GB, free: 2.805 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1394, allocations: 0 / 0.559 GB, free: 2.805 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.898e-06/0.1394, allocations: 0 / 0.559 GB, free: 2.805 MB / 414.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.0005469/0.1399, allocations: 426.6 kB / 0.5594 GB, free: 2.34 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.14, allocations: 12.03 kB / 0.5594 GB, free: 2.328 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.444e-05/0.14, allocations: 4.172 kB / 0.5594 GB, free: 2.324 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.161e-05/0.14, allocations: 38.75 kB / 0.5594 GB, free: 2.277 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.465e-05/0.14, allocations: 12.89 kB / 0.5595 GB, free: 2.266 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002297/0.1403, allocations: 212.9 kB / 0.5597 GB, free: 2.016 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.073e-05/0.1403, allocations: 384 / 0.5597 GB, free: 2.016 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.722e-05/0.1403, allocations: 8.125 kB / 0.5597 GB, free: 2.008 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001505/0.1405, allocations: 53.67 kB / 0.5597 GB, free: 1.949 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.1405, allocations: 3.953 kB / 0.5597 GB, free: 1.945 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.1405, allocations: 7.984 kB / 0.5597 GB, free: 1.938 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.348e-06/0.1405, allocations: 0 / 0.5597 GB, free: 1.938 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001178/0.1406, allocations: 31.98 kB / 0.5598 GB, free: 1.906 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004296/0.141, allocations: 300.8 kB / 0.56 GB, free: 1.562 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001206/0.1412, allocations: 50.48 kB / 0.5601 GB, free: 1.504 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.733e-05/0.1412, allocations: 20.8 kB / 0.5601 GB, free: 1.48 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.612e-05/0.1413, allocations: 8.062 kB / 0.5601 GB, free: 1.473 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.709e-05/0.1413, allocations: 38.64 kB / 0.5602 GB, free: 1.426 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.1413, allocations: 0 / 0.5602 GB, free: 1.426 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009269/0.1422, allocations: 245.1 kB / 0.5604 GB, free: 1.18 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.117e-05/0.1423, allocations: 63.34 kB / 0.5605 GB, free: 1.105 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002481/0.1425, allocations: 250.1 kB / 0.5607 GB, free: 0.8516 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.874e-05/0.1425, allocations: 29.7 kB / 0.5607 GB, free: 0.8164 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.183e-05/0.1426, allocations: 104.1 kB / 0.5608 GB, free: 0.7109 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.247e-05/0.1426, allocations: 31.73 kB / 0.5609 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.425e-05/0.1427, allocations: 21.72 kB / 0.5609 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001406/0.1428, allocations: 326.8 kB / 0.5612 GB, free: 332 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.341e-05/0.1429, allocations: 27.97 kB / 0.5612 GB, free: 304 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.778e-05/0.143, allocations: 35.98 kB / 0.5612 GB, free: 268 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000196/0.1432, allocations: 77.05 kB / 0.5613 GB, free: 188 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.1432, allocations: 0 / 0.5613 GB, free: 188 kB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002626/0.1435, allocations: 125.5 kB / 0.5614 GB, free: 56 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.1435, allocations: 4 kB / 0.5614 GB, free: 52 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.1435, allocations: 0 / 0.5614 GB, free: 52 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.1435, allocations: 4 kB / 0.5614 GB, free: 48 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001078/0.1436, allocations: 19.98 kB / 0.5615 GB, free: 28 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.1436, allocations: 3.938 kB / 0.5615 GB, free: 24 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.688e-05/0.1437, allocations: 7.984 kB / 0.5615 GB, free: 16 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-06/0.1437, allocations: 0 / 0.5615 GB, free: 16 kB / 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.0001289/0.1438, allocations: 136 kB / 0.5616 GB, free: 15.88 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.084e-05/0.1438, allocations: 11.91 kB / 0.5616 GB, free: 15.86 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003372/0.1442, allocations: 135 kB / 0.5617 GB, free: 15.72 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.806e-06/0.1442, allocations: 4 kB / 0.5618 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.1442, allocations: 3.938 kB / 0.5618 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.706e-06/0.1442, allocations: 0 / 0.5618 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005956/0.1448, allocations: 431.2 kB / 0.5622 GB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.1448, allocations: 3.938 kB / 0.5622 GB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.747e-05/0.1449, allocations: 15.98 kB / 0.5622 GB, free: 15.21 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.1449, allocations: 8.031 kB / 0.5622 GB, free: 15.2 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.699e-06/0.1449, allocations: 4 kB / 0.5622 GB, free: 15.2 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.1449, allocations: 0 / 0.5622 GB, free: 15.2 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.1449, allocations: 0 / 0.5622 GB, free: 15.2 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003034/0.1452, allocations: 220.2 kB / 0.5624 GB, free: 14.96 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.662e-05/0.1452, allocations: 89.42 kB / 0.5625 GB, free: 14.86 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.646e-05/0.1452, allocations: 4 kB / 0.5625 GB, free: 14.86 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.936e-05/0.1453, allocations: 7.984 kB / 0.5625 GB, free: 14.85 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.185e-05/0.1454, allocations: 4 kB / 0.5625 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.684e-06/0.1454, allocations: 7.938 kB / 0.5625 GB, free: 14.84 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000175/0.1455, allocations: 188.4 kB / 0.5627 GB, free: 14.65 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1455, allocations: 0 / 0.5627 GB, free: 14.65 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002597/0.1458, allocations: 27.92 kB / 0.5627 GB, free: 14.62 MB / 430.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.002211/0.148, allocations: 1.122 MB / 0.5638 GB, free: 13.66 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002474/0.1483, allocations: 67.95 kB / 0.5639 GB, free: 13.59 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1483, allocations: 3.938 kB / 0.5639 GB, free: 13.59 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001027/0.1484, allocations: 39.97 kB / 0.5639 GB, free: 13.55 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003659/0.1487, allocations: 19.73 kB / 0.5639 GB, free: 13.53 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002244/0.151, allocations: 1.807 MB / 0.5657 GB, free: 11.63 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003728/0.1513, allocations: 0.7119 MB / 0.5664 GB, free: 10.89 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.059e-05/0.1514, allocations: 20.97 kB / 0.5664 GB, free: 10.87 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.423e-05/0.1515, allocations: 39.42 kB / 0.5665 GB, free: 10.83 MB / 430.1 MB Notification: Performance of SimCode: time 4.5e-07/0.1515, allocations: 0 / 0.5665 GB, free: 10.83 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01832/0.1698, allocations: 3.389 MB / 0.5698 GB, free: 7.508 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.579/8.749, allocations: 8.062 kB / 0.5698 GB, free: 7.504 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test28.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test28_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test28_fmu --startTime=7.99 --stopTime=20 --stepSize=0.00240104 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test28.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test28/Test28.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test28.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: 12.006690414971672]