Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001744/0.001744, allocations: 114.5 kB / 21.17 MB, free: 0.6172 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00193/0.00193, allocations: 209.4 kB / 24.47 MB, free: 4.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.63/1.63, allocations: 230.2 MB / 257.8 MB, free: 8.504 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2469/0.2469, allocations: 46.89 MB / 361.1 MB, free: 4.711 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test4") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002421/0.002421, allocations: 83.86 kB / 0.4968 GB, free: 7.805 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3384/0.3408, allocations: 65.99 MB / 0.5612 GB, free: 4.996 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test4): time 0.003262/0.3441, allocations: 1.671 MB / 0.5629 GB, free: 3.316 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001544/0.3456, allocations: 0.5615 MB / 0.5634 GB, free: 2.754 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.359e-05/0.3457, allocations: 0 / 0.5634 GB, free: 2.754 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009524/0.3466, allocations: 455.1 kB / 0.5638 GB, free: 2.309 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007258/0.3474, allocations: 299.3 kB / 0.5641 GB, free: 2.016 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005577/0.3479, allocations: 130.9 kB / 0.5642 GB, free: 1.891 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003555/0.3483, allocations: 175.6 kB / 0.5644 GB, free: 1.719 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000121/0.3484, allocations: 10.81 kB / 0.5644 GB, free: 1.711 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001871/0.3486, allocations: 115.7 kB / 0.5645 GB, free: 1.598 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004218/0.349, allocations: 243.5 kB / 0.5648 GB, free: 1.359 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.535e-05/0.349, allocations: 4 kB / 0.5648 GB, free: 1.355 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001328/0.3492, allocations: 35.92 kB / 0.5648 GB, free: 1.32 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001742/0.3493, allocations: 83.69 kB / 0.5649 GB, free: 1.238 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001366/0.3495, allocations: 111 kB / 0.565 GB, free: 1.129 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005149/0.35, allocations: 254.6 kB / 0.5652 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.35, allocations: 0 / 0.5652 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.35, allocations: 0 / 0.5652 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.243e-06/0.35, allocations: 0 / 0.5652 GB, free: 0.8789 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.001173/0.3512, allocations: 0.6529 MB / 0.5659 GB, free: 176 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.871e-05/0.3512, allocations: 12.03 kB / 0.5659 GB, free: 164 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001061/0.3513, allocations: 40.66 kB / 0.5659 GB, free: 124 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005179/0.3519, allocations: 300.6 kB / 0.5662 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.436e-06/0.3519, allocations: 384 / 0.5662 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.326e-05/0.3519, allocations: 8.375 kB / 0.5662 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001957/0.3521, allocations: 58.22 kB / 0.5663 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.47e-05/0.3521, allocations: 192 / 0.5663 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.795e-05/0.3521, allocations: 3.938 kB / 0.5663 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.3521, allocations: 0 / 0.5663 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001541/0.3523, allocations: 31.91 kB / 0.5663 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007224/0.353, allocations: 388.6 kB / 0.5667 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002921/0.3533, allocations: 50.55 kB / 0.5667 GB, free: 15.19 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.655e-05/0.3534, allocations: 12.86 kB / 0.5667 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.901e-05/0.3534, allocations: 0 / 0.5667 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.759e-05/0.3534, allocations: 34.5 kB / 0.5668 GB, free: 15.13 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.342e-06/0.3534, allocations: 0 / 0.5668 GB, free: 15.13 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0009454/0.3544, allocations: 236.8 kB / 0.567 GB, free: 14.89 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.643e-05/0.3544, allocations: 59.34 kB / 0.5671 GB, free: 14.82 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001453/0.3559, allocations: 0.8614 MB / 0.5679 GB, free: 13.95 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.563e-05/0.3559, allocations: 29.7 kB / 0.5679 GB, free: 13.92 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002962/0.3562, allocations: 224 kB / 0.5681 GB, free: 13.7 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.002e-05/0.3562, allocations: 11.84 kB / 0.5681 GB, free: 13.68 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.939e-05/0.3563, allocations: 25.7 kB / 0.5682 GB, free: 13.65 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002682/0.3566, allocations: 366.7 kB / 0.5685 GB, free: 13.29 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001098/0.3567, allocations: 11.98 kB / 0.5685 GB, free: 13.27 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000105/0.3568, allocations: 24.05 kB / 0.5686 GB, free: 13.25 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002252/0.357, allocations: 48.83 kB / 0.5686 GB, free: 13.2 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.357, allocations: 0 / 0.5686 GB, free: 13.2 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003797/0.3574, allocations: 125.3 kB / 0.5687 GB, free: 13.07 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.3574, allocations: 4 kB / 0.5687 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.3574, allocations: 3.984 kB / 0.5687 GB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.3574, allocations: 0 / 0.5687 GB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001053/0.3576, allocations: 12 kB / 0.5687 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.3576, allocations: 0 / 0.5687 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.853e-05/0.3577, allocations: 11.98 kB / 0.5688 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.414e-06/0.3577, allocations: 0 / 0.5688 GB, free: 13.04 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 0.0003109/0.358, allocations: 213.7 kB / 0.569 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001012/0.3581, allocations: 43.72 kB / 0.569 GB, free: 12.78 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000423/0.3585, allocations: 137 kB / 0.5691 GB, free: 12.63 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.61e-06/0.3585, allocations: 4 kB / 0.5691 GB, free: 12.63 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.3585, allocations: 0 / 0.5691 GB, free: 12.63 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.3585, allocations: 0 / 0.5691 GB, free: 12.63 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008804/0.3594, allocations: 462.5 kB / 0.5696 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.3594, allocations: 4.312 kB / 0.5696 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.651e-05/0.3595, allocations: 11.94 kB / 0.5696 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.52e-06/0.3595, allocations: 4 kB / 0.5696 GB, free: 12.1 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.3595, allocations: 4 kB / 0.5696 GB, free: 12.1 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.751e-06/0.3595, allocations: 3.984 kB / 0.5696 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.671e-06/0.3595, allocations: 7.875 kB / 0.5696 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004099/0.3599, allocations: 211.2 kB / 0.5698 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000138/0.3601, allocations: 116.8 kB / 0.5699 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.708e-05/0.3601, allocations: 0 / 0.5699 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.038e-05/0.3602, allocations: 7.984 kB / 0.5699 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.356e-05/0.3602, allocations: 7.938 kB / 0.5699 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.839e-06/0.3602, allocations: 0 / 0.5699 GB, free: 11.71 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006868/0.3609, allocations: 0.6589 MB / 0.5706 GB, free: 11.06 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3609, allocations: 0 / 0.5706 GB, free: 11.06 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000275/0.3612, allocations: 19.94 kB / 0.5706 GB, free: 11.04 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.00147/0.3626, allocations: 413.7 kB / 0.571 GB, free: 10.77 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002083/0.3629, allocations: 47.91 kB / 0.571 GB, free: 10.73 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3629, allocations: 0 / 0.571 GB, free: 10.73 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.749e-05/0.3629, allocations: 23.98 kB / 0.5711 GB, free: 10.7 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003807/0.3633, allocations: 30.23 kB / 0.5711 GB, free: 10.67 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001166/0.3645, allocations: 0.81 MB / 0.5719 GB, free: 9.836 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005086/0.365, allocations: 0.826 MB / 0.5727 GB, free: 8.984 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.143e-05/0.365, allocations: 11.77 kB / 0.5727 GB, free: 8.973 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.693e-05/0.3651, allocations: 19.36 kB / 0.5727 GB, free: 8.957 MB / 414.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3651, allocations: 0 / 0.5727 GB, free: 8.957 MB / 414.1 MB Notification: Performance of Templates: time 0.005126/0.3702, allocations: 1.503 MB / 0.5742 GB, free: 7.457 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test4.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test4 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test4.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: 5.3497263211756945]