Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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.001356/0.001356, allocations: 120.1 kB / 18.49 MB, free: 4.586 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.001887/0.001887, allocations: 215 kB / 21.45 MB, free: 1.641 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.719/1.719, allocations: 230.6 MB / 254.8 MB, free: 15.09 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.2415/0.2415, 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.CombiTable1Ds.Test24,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test24",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test24,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_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.002027/0.002027, allocations: 71.91 kB / 0.4886 GB, free: 11.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.127/0.129, allocations: 65.42 MB / 0.5525 GB, free: 10.13 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test24): time 0.003449/0.1324, allocations: 1.608 MB / 0.554 GB, free: 8.516 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002009/0.1345, allocations: 1.171 MB / 0.5552 GB, free: 7.336 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.012e-05/0.1345, allocations: 0 / 0.5552 GB, free: 7.336 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002425/0.1348, allocations: 19.84 kB / 0.5552 GB, free: 7.316 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000319/0.1351, allocations: 87.62 kB / 0.5553 GB, free: 7.23 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002941/0.1354, allocations: 95.64 kB / 0.5554 GB, free: 7.137 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001665/0.1355, allocations: 71.77 kB / 0.5554 GB, free: 7.066 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001059/0.1357, allocations: 11.92 kB / 0.5554 GB, free: 7.055 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.362e-05/0.1357, allocations: 23.92 kB / 0.5555 GB, free: 7.031 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001575/0.1359, allocations: 35.83 kB / 0.5555 GB, free: 6.996 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.827e-05/0.1359, allocations: 4 kB / 0.5555 GB, free: 6.992 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002024/0.1361, allocations: 99.89 kB / 0.5556 GB, free: 6.895 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.065e-05/0.1361, allocations: 19.91 kB / 0.5556 GB, free: 6.875 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.187e-05/0.1362, allocations: 23.88 kB / 0.5556 GB, free: 6.852 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003312/0.1365, allocations: 143.5 kB / 0.5558 GB, free: 6.711 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.1365, allocations: 0 / 0.5558 GB, free: 6.711 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.1365, allocations: 0 / 0.5558 GB, free: 6.711 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.1365, allocations: 0 / 0.5558 GB, free: 6.711 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0007093/0.1372, allocations: 398.8 kB / 0.5562 GB, free: 6.273 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/0.1373, allocations: 12.02 kB / 0.5562 GB, free: 6.262 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.665e-05/0.1373, allocations: 4.188 kB / 0.5562 GB, free: 6.258 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.275e-05/0.1373, allocations: 38.69 kB / 0.5562 GB, free: 6.211 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.898e-05/0.1374, allocations: 12.89 kB / 0.5562 GB, free: 6.199 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00025/0.1376, allocations: 192.2 kB / 0.5564 GB, free: 5.973 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.849e-06/0.1377, allocations: 384 / 0.5564 GB, free: 5.973 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.538e-05/0.1377, allocations: 8.125 kB / 0.5564 GB, free: 5.965 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001765/0.1379, allocations: 63.34 kB / 0.5565 GB, free: 5.891 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.1379, allocations: 0 / 0.5565 GB, free: 5.891 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.1379, allocations: 0 / 0.5565 GB, free: 5.891 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.1379, allocations: 3.984 kB / 0.5565 GB, free: 5.887 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.647e-05/0.138, allocations: 27.98 kB / 0.5565 GB, free: 5.859 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004334/0.1384, allocations: 272.9 kB / 0.5568 GB, free: 5.543 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002446/0.1387, allocations: 42.5 kB / 0.5568 GB, free: 5.492 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.764e-05/0.1387, allocations: 20.92 kB / 0.5568 GB, free: 5.469 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.165e-05/0.1387, allocations: 0 / 0.5568 GB, free: 5.469 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.718e-05/0.1388, allocations: 34.56 kB / 0.5569 GB, free: 5.426 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.1388, allocations: 0 / 0.5569 GB, free: 5.426 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006305/0.1394, allocations: 153.3 kB / 0.557 GB, free: 5.27 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.508e-05/0.1395, allocations: 81.11 kB / 0.5571 GB, free: 5.172 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001682/0.1396, allocations: 148 kB / 0.5572 GB, free: 5.02 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.77e-05/0.1397, allocations: 29.7 kB / 0.5572 GB, free: 4.984 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.219e-05/0.1397, allocations: 96.12 kB / 0.5573 GB, free: 4.887 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.416e-05/0.1398, allocations: 15.84 kB / 0.5574 GB, free: 4.871 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.285e-05/0.1398, allocations: 17.72 kB / 0.5574 GB, free: 4.848 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001474/0.1399, allocations: 322.8 kB / 0.5577 GB, free: 4.523 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.595e-05/0.14, allocations: 15.98 kB / 0.5577 GB, free: 4.508 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.509e-05/0.1401, allocations: 33.7 kB / 0.5577 GB, free: 4.469 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000143/0.1402, allocations: 52.8 kB / 0.5578 GB, free: 4.414 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.1402, allocations: 0 / 0.5578 GB, free: 4.414 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002063/0.1405, allocations: 77.62 kB / 0.5579 GB, free: 4.332 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.1405, allocations: 11.94 kB / 0.5579 GB, free: 4.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.1405, allocations: 0 / 0.5579 GB, free: 4.32 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.1405, allocations: 0 / 0.5579 GB, free: 4.32 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.009e-05/0.1406, allocations: 11.98 kB / 0.5579 GB, free: 4.309 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.1406, allocations: 4 kB / 0.5579 GB, free: 4.305 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.323e-05/0.1406, allocations: 15.86 kB / 0.5579 GB, free: 4.289 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.618e-06/0.1406, allocations: 4 kB / 0.5579 GB, free: 4.285 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.418e-05/0.1407, allocations: 120 kB / 0.558 GB, free: 4.16 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.812e-05/0.1408, allocations: 7.953 kB / 0.558 GB, free: 4.152 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000245/0.141, allocations: 85.97 kB / 0.5581 GB, free: 4.059 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.389e-06/0.141, allocations: 4 kB / 0.5581 GB, free: 4.055 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.141, allocations: 4 kB / 0.5581 GB, free: 4.051 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.141, allocations: 3.938 kB / 0.5581 GB, free: 4.047 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000467/0.1415, allocations: 354.7 kB / 0.5585 GB, free: 3.645 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.1415, allocations: 64 / 0.5585 GB, free: 3.645 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.15e-05/0.1416, allocations: 15.98 kB / 0.5585 GB, free: 3.629 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.1416, allocations: 0 / 0.5585 GB, free: 3.629 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.405e-05/0.1416, allocations: 7.938 kB / 0.5585 GB, free: 3.621 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.1416, allocations: 0 / 0.5585 GB, free: 3.621 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1416, allocations: 4 kB / 0.5585 GB, free: 3.617 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002466/0.1418, allocations: 171.5 kB / 0.5586 GB, free: 3.434 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.495e-05/0.1419, allocations: 85.05 kB / 0.5587 GB, free: 3.332 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.153e-05/0.1419, allocations: 7.938 kB / 0.5587 GB, free: 3.324 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.97e-05/0.142, allocations: 11.94 kB / 0.5587 GB, free: 3.312 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.568e-05/0.142, allocations: 3.984 kB / 0.5587 GB, free: 3.309 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.309e-06/0.142, allocations: 4 kB / 0.5587 GB, free: 3.305 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001086/0.1421, allocations: 113.8 kB / 0.5589 GB, free: 3.195 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1421, allocations: 0 / 0.5589 GB, free: 3.195 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003206/0.1425, allocations: 39.86 kB / 0.5589 GB, free: 3.156 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.002254/0.1447, allocations: 1.104 MB / 0.56 GB, free: 2.219 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002398/0.1449, allocations: 51.89 kB / 0.56 GB, free: 2.168 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.1449, allocations: 0 / 0.56 GB, free: 2.168 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.518e-05/0.145, allocations: 19.98 kB / 0.56 GB, free: 2.148 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003864/0.1454, allocations: 15.98 kB / 0.5601 GB, free: 2.133 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00187/0.1473, allocations: 1.436 MB / 0.5615 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003613/0.1477, allocations: 0.6885 MB / 0.5621 GB, free: 15.9 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.79e-05/0.1477, allocations: 15.77 kB / 0.5621 GB, free: 15.89 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.42e-05/0.1478, allocations: 31.42 kB / 0.5622 GB, free: 15.86 MB / 430.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1478, allocations: 0 / 0.5622 GB, free: 15.86 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02136/0.1692, allocations: 3.284 MB / 0.5654 GB, free: 12.59 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.379/8.548, allocations: 8.938 kB / 0.5654 GB, free: 12.59 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test24_fmu --startTime=0 --stopTime=100 --stepSize=0.019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test24.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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: 12.079640352982096]