Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test24.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.005191/0.005191, allocations: 106.4 kB / 21.98 MB, free: 5.223 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.001458/0.001458, allocations: 211.9 kB / 25.29 MB, free: 3.203 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.44/1.44, allocations: 230.5 MB / 258.9 MB, free: 8.02 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.2323/0.2323, allocations: 46.94 MB / 362.3 MB, free: 4.176 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-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.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test24") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test24") [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.002336/0.002336, allocations: 87.84 kB / 0.4982 GB, free: 7.211 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3489/0.3512, allocations: 66.08 MB / 0.5628 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test24): time 0.003216/0.3544, allocations: 1.691 MB / 0.5644 GB, free: 2.531 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001059/0.3555, allocations: 0.5732 MB / 0.565 GB, free: 1.957 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.285e-05/0.3555, allocations: 4 kB / 0.565 GB, free: 1.953 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000221/0.3557, allocations: 47.75 kB / 0.565 GB, free: 1.906 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002775/0.356, allocations: 95.59 kB / 0.5651 GB, free: 1.812 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003238/0.3563, allocations: 127.2 kB / 0.5652 GB, free: 1.691 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000165/0.3565, allocations: 91.69 kB / 0.5653 GB, free: 1.602 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.3566, allocations: 20.22 kB / 0.5653 GB, free: 1.578 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.777e-05/0.3567, allocations: 35.86 kB / 0.5654 GB, free: 1.543 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001077/0.3568, allocations: 43.81 kB / 0.5654 GB, free: 1.5 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.405e-05/0.3568, allocations: 4 kB / 0.5654 GB, free: 1.496 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001056/0.3569, allocations: 47.98 kB / 0.5655 GB, free: 1.449 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.681e-05/0.357, allocations: 27.91 kB / 0.5655 GB, free: 1.422 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.003e-05/0.357, allocations: 31.75 kB / 0.5655 GB, free: 1.391 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002029/0.3572, allocations: 109.9 kB / 0.5656 GB, free: 1.289 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.3572, allocations: 0 / 0.5656 GB, free: 1.289 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.3572, allocations: 0 / 0.5656 GB, free: 1.289 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.792e-06/0.3572, allocations: 4 kB / 0.5656 GB, free: 1.285 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005483/0.3578, allocations: 341.6 kB / 0.566 GB, free: 0.918 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.3578, allocations: 8.031 kB / 0.566 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.26e-05/0.3579, allocations: 8.891 kB / 0.566 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002587/0.3581, allocations: 150.2 kB / 0.5661 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.867e-06/0.3581, allocations: 4.375 kB / 0.5661 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.96e-05/0.3582, allocations: 4.375 kB / 0.5661 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001814/0.3583, allocations: 65.8 kB / 0.5662 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.3584, allocations: 0 / 0.5662 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.425e-05/0.3584, allocations: 11.94 kB / 0.5662 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.3584, allocations: 0 / 0.5662 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001353/0.3585, allocations: 39.95 kB / 0.5662 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000421/0.3589, allocations: 271.8 kB / 0.5665 GB, free: 304 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002466/0.3592, allocations: 54.55 kB / 0.5665 GB, free: 240 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.016e-05/0.3593, allocations: 25.06 kB / 0.5666 GB, free: 212 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.848e-05/0.3593, allocations: 7.875 kB / 0.5666 GB, free: 204 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.153e-05/0.3593, allocations: 34.56 kB / 0.5666 GB, free: 160 kB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.373e-06/0.3593, allocations: 0 / 0.5666 GB, free: 160 kB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001465/0.3608, allocations: 393 kB / 0.567 GB, free: 15.77 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.171e-05/0.3609, allocations: 55.34 kB / 0.567 GB, free: 15.7 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002068/0.3611, allocations: 174.5 kB / 0.5672 GB, free: 15.52 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.108e-05/0.3611, allocations: 25.7 kB / 0.5672 GB, free: 15.48 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.745e-05/0.3612, allocations: 96.14 kB / 0.5673 GB, free: 15.39 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.682e-05/0.3612, allocations: 43.61 kB / 0.5674 GB, free: 15.34 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.203e-05/0.3613, allocations: 33.7 kB / 0.5674 GB, free: 15.3 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001655/0.3614, allocations: 322.8 kB / 0.5677 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001225/0.3615, allocations: 39.97 kB / 0.5677 GB, free: 14.94 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001176/0.3617, allocations: 47.91 kB / 0.5678 GB, free: 14.89 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002411/0.3619, allocations: 105.3 kB / 0.5679 GB, free: 14.79 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.3619, allocations: 0 / 0.5679 GB, free: 14.79 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003087/0.3622, allocations: 141.5 kB / 0.568 GB, free: 14.64 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.3622, allocations: 4 kB / 0.568 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.074e-06/0.3622, allocations: 3.984 kB / 0.568 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.208e-05/0.3623, allocations: 4 kB / 0.568 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001172/0.3624, allocations: 35.86 kB / 0.5681 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.3624, allocations: 7.938 kB / 0.5681 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.833e-05/0.3624, allocations: 7.984 kB / 0.5681 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.248e-05/0.3625, allocations: 8 kB / 0.5681 GB, free: 14.57 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.0001126/0.3626, allocations: 121.8 kB / 0.5682 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.717e-05/0.3626, allocations: 11.95 kB / 0.5682 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004052/0.363, allocations: 162.7 kB / 0.5684 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.161e-06/0.363, allocations: 7.938 kB / 0.5684 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.363, allocations: 0 / 0.5684 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.363, allocations: 0 / 0.5684 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007526/0.3638, allocations: 431.1 kB / 0.5688 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.3638, allocations: 8.062 kB / 0.5688 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001127/0.3639, allocations: 35.89 kB / 0.5688 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.3639, allocations: 0 / 0.5688 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.349e-05/0.3639, allocations: 8 kB / 0.5688 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.3639, allocations: 3.938 kB / 0.5688 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3639, allocations: 0 / 0.5688 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004238/0.3643, allocations: 261.1 kB / 0.5691 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.78e-05/0.3643, allocations: 11.95 kB / 0.5691 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.761e-05/0.3644, allocations: 3.938 kB / 0.5691 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.497e-05/0.3645, allocations: 11.98 kB / 0.5691 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.209e-05/0.3645, allocations: 11.98 kB / 0.5691 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.012e-06/0.3645, allocations: 0 / 0.5691 GB, free: 13.41 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001188/0.3646, allocations: 139.9 kB / 0.5693 GB, free: 13.27 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3646, allocations: 0 / 0.5693 GB, free: 13.27 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002694/0.3649, allocations: 27.92 kB / 0.5693 GB, free: 13.25 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.001706/0.3666, allocations: 455.9 kB / 0.5697 GB, free: 12.96 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003619/0.367, allocations: 99.88 kB / 0.5698 GB, free: 12.86 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.367, allocations: 0 / 0.5698 GB, free: 12.86 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001488/0.3671, allocations: 55.89 kB / 0.5699 GB, free: 12.8 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003574/0.3675, allocations: 32.05 kB / 0.5699 GB, free: 12.77 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006427/0.3681, allocations: 301 kB / 0.5702 GB, free: 12.44 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003412/0.3685, allocations: 0.7041 MB / 0.5709 GB, free: 11.71 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.045e-05/0.3685, allocations: 23.44 kB / 0.5709 GB, free: 11.69 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3685, allocations: 0 / 0.5709 GB, free: 11.69 MB / 414.1 MB Notification: Performance of Templates: time 0.004015/0.3725, allocations: 1.909 MB / 0.5728 GB, free: 9.781 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test24.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test24.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.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: 7.617732117883861]