Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.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.001342/0.001342, allocations: 113 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.001457/0.001457, allocations: 217.4 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.545/1.545, allocations: 230.6 MB / 254.8 MB, free: 15.1 MB / 206.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.2346/0.2346, allocations: 44.9 MB / 355.8 MB, free: 12.33 MB / 286.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.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.CombiTable2Dv.Test24,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test24",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test24,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test24",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002188/0.002188, allocations: 67.89 kB / 0.4886 GB, free: 11.69 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.1367, allocations: 65.43 MB / 0.5525 GB, free: 10.14 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test24): time 0.003463/0.1402, allocations: 1.69 MB / 0.5541 GB, free: 8.438 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001155/0.1414, allocations: 0.5689 MB / 0.5547 GB, free: 7.863 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.328e-05/0.1414, allocations: 0 / 0.5547 GB, free: 7.863 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003117/0.1418, allocations: 59.73 kB / 0.5547 GB, free: 7.805 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000327/0.1421, allocations: 87.59 kB / 0.5548 GB, free: 7.719 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004828/0.1426, allocations: 186.7 kB / 0.555 GB, free: 7.539 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001893/0.1428, allocations: 87.81 kB / 0.5551 GB, free: 7.453 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.1429, allocations: 24.44 kB / 0.5551 GB, free: 7.426 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.988e-05/0.1429, allocations: 31.84 kB / 0.5551 GB, free: 7.395 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001144/0.143, allocations: 51.77 kB / 0.5552 GB, free: 7.344 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.525e-05/0.1431, allocations: 4 kB / 0.5552 GB, free: 7.34 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001111/0.1432, allocations: 55.92 kB / 0.5552 GB, free: 7.285 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.587e-05/0.1432, allocations: 23.91 kB / 0.5553 GB, free: 7.262 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.636e-05/0.1433, allocations: 39.73 kB / 0.5553 GB, free: 7.223 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002214/0.1435, allocations: 111.5 kB / 0.5554 GB, free: 7.113 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.1435, allocations: 0 / 0.5554 GB, free: 7.113 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1435, allocations: 0 / 0.5554 GB, free: 7.113 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.828e-06/0.1435, allocations: 0 / 0.5554 GB, free: 7.113 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005966/0.1441, allocations: 430.6 kB / 0.5558 GB, free: 6.645 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.1442, allocations: 11.97 kB / 0.5558 GB, free: 6.633 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.321e-05/0.1442, allocations: 4.188 kB / 0.5558 GB, free: 6.629 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.523e-05/0.1442, allocations: 42.75 kB / 0.5559 GB, free: 6.578 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.942e-05/0.1442, allocations: 12.84 kB / 0.5559 GB, free: 6.566 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002395/0.1445, allocations: 202.4 kB / 0.5561 GB, free: 6.332 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.1445, allocations: 8.375 kB / 0.5561 GB, free: 6.324 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.467e-05/0.1445, allocations: 4.125 kB / 0.5561 GB, free: 6.32 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001799/0.1447, allocations: 65.61 kB / 0.5562 GB, free: 6.25 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.1447, allocations: 0 / 0.5562 GB, free: 6.25 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.1447, allocations: 4 kB / 0.5562 GB, free: 6.246 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.293e-06/0.1447, allocations: 8 kB / 0.5562 GB, free: 6.238 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001575/0.1449, allocations: 39.95 kB / 0.5562 GB, free: 6.199 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000482/0.1454, allocations: 332.8 kB / 0.5565 GB, free: 5.824 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002577/0.1456, allocations: 62.48 kB / 0.5566 GB, free: 5.754 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.416e-05/0.1457, allocations: 28.95 kB / 0.5566 GB, free: 5.723 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.593e-05/0.1457, allocations: 0 / 0.5566 GB, free: 5.723 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.648e-05/0.1458, allocations: 34.56 kB / 0.5566 GB, free: 5.68 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 9.42e-07/0.1458, allocations: 0 / 0.5566 GB, free: 5.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.001579/0.1474, allocations: 432.9 kB / 0.5571 GB, free: 5.25 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.171e-05/0.1474, allocations: 59.34 kB / 0.5571 GB, free: 5.18 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000202/0.1476, allocations: 182.2 kB / 0.5573 GB, free: 4.988 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.975e-05/0.1476, allocations: 25.7 kB / 0.5573 GB, free: 4.957 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.117e-05/0.1477, allocations: 108.1 kB / 0.5574 GB, free: 4.848 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.108e-05/0.1477, allocations: 39.64 kB / 0.5574 GB, free: 4.809 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.809e-05/0.1478, allocations: 25.72 kB / 0.5575 GB, free: 4.777 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001498/0.1479, allocations: 326.8 kB / 0.5578 GB, free: 4.449 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001513/0.1481, allocations: 51.95 kB / 0.5578 GB, free: 4.398 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001484/0.1482, allocations: 55.95 kB / 0.5579 GB, free: 4.344 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002892/0.1485, allocations: 120.8 kB / 0.558 GB, free: 4.223 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.1485, allocations: 8.562 kB / 0.558 GB, free: 4.215 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003679/0.1489, allocations: 165.4 kB / 0.5582 GB, free: 4.047 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.1489, allocations: 8 kB / 0.5582 GB, free: 4.039 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.1489, allocations: 0 / 0.5582 GB, free: 4.039 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.1489, allocations: 3.938 kB / 0.5582 GB, free: 4.035 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001184/0.149, allocations: 27.98 kB / 0.5582 GB, free: 4.008 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.1491, allocations: 3.938 kB / 0.5582 GB, free: 4.004 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.392e-05/0.1491, allocations: 19.98 kB / 0.5582 GB, free: 3.984 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.326e-06/0.1491, allocations: 0 / 0.5582 GB, free: 3.984 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 (11): * Single equations (assignments): 11 * 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.0001272/0.1493, allocations: 129.8 kB / 0.5584 GB, free: 3.848 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.071e-05/0.1493, allocations: 11.91 kB / 0.5584 GB, free: 3.836 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004468/0.1498, allocations: 198.5 kB / 0.5586 GB, free: 3.637 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.1498, allocations: 8 kB / 0.5586 GB, free: 3.629 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.1498, allocations: 0 / 0.5586 GB, free: 3.629 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.1498, allocations: 0 / 0.5586 GB, free: 3.629 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007542/0.1505, allocations: 0.4999 MB / 0.559 GB, free: 3.066 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.1505, allocations: 0 / 0.559 GB, free: 3.066 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001143/0.1506, allocations: 36.05 kB / 0.5591 GB, free: 3.031 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.1506, allocations: 0 / 0.5591 GB, free: 3.031 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.1506, allocations: 0 / 0.5591 GB, free: 3.031 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.1506, allocations: 4 kB / 0.5591 GB, free: 3.027 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1506, allocations: 0 / 0.5591 GB, free: 3.027 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000418/0.1511, allocations: 273 kB / 0.5593 GB, free: 2.738 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.011e-05/0.1511, allocations: 93 kB / 0.5594 GB, free: 2.629 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.122e-05/0.1512, allocations: 7.938 kB / 0.5594 GB, free: 2.621 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/0.1513, allocations: 11.98 kB / 0.5595 GB, free: 2.609 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.495e-05/0.1513, allocations: 11.98 kB / 0.5595 GB, free: 2.598 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.026e-06/0.1513, allocations: 4 kB / 0.5595 GB, free: 2.594 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001304/0.1514, allocations: 135.2 kB / 0.5596 GB, free: 2.461 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1514, allocations: 4 kB / 0.5596 GB, free: 2.457 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002692/0.1517, allocations: 31.92 kB / 0.5596 GB, free: 2.426 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.002351/0.1541, allocations: 1.164 MB / 0.5608 GB, free: 1.418 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003789/0.1544, allocations: 127.8 kB / 0.5609 GB, free: 1.293 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.1544, allocations: 0 / 0.5609 GB, free: 1.293 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001618/0.1546, allocations: 63.89 kB / 0.561 GB, free: 1.23 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003837/0.155, allocations: 17.31 kB / 0.561 GB, free: 1.215 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00256/0.1576, allocations: 1.91 MB / 0.5628 GB, free: 15.22 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003637/0.1579, allocations: 0.7197 MB / 0.5635 GB, free: 14.47 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000101/0.158, allocations: 36.52 kB / 0.5636 GB, free: 14.44 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.097e-05/0.1581, allocations: 39.42 kB / 0.5636 GB, free: 14.4 MB / 430.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1581, allocations: 4 kB / 0.5636 GB, free: 14.39 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01888/0.177, allocations: 3.512 MB / 0.567 GB, free: 10.94 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.283/8.46, allocations: 16.11 kB / 0.5671 GB, free: 10.93 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test24_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test24.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.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.7910726449918]