Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test6.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.001769/0.001769, allocations: 112.4 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.002098/0.002098, allocations: 204.1 kB / 24.46 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.45/1.45, allocations: 230.2 MB / 257.8 MB, free: 8.516 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.2368/0.2368, allocations: 46.9 MB / 361.1 MB, free: 4.73 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.CombiTable2Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test6") [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.002422/0.002422, allocations: 87.86 kB / 0.4968 GB, free: 8.348 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3165/0.319, allocations: 65.97 MB / 0.5612 GB, free: 34.55 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.002577/0.3215, allocations: 1.68 MB / 0.5628 GB, free: 33.41 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008515/0.3224, allocations: 0.6007 MB / 0.5634 GB, free: 33.03 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.7e-05/0.3224, allocations: 0 / 0.5634 GB, free: 33.03 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005024/0.3229, allocations: 456.9 kB / 0.5639 GB, free: 33 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003958/0.3233, allocations: 295.4 kB / 0.5642 GB, free: 32.96 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003808/0.3237, allocations: 172.2 kB / 0.5643 GB, free: 32.88 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000231/0.324, allocations: 176.3 kB / 0.5645 GB, free: 32.84 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001082/0.3241, allocations: 15.33 kB / 0.5645 GB, free: 32.84 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001318/0.3242, allocations: 120 kB / 0.5646 GB, free: 32.82 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002636/0.3245, allocations: 251.6 kB / 0.5649 GB, free: 32.8 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.812e-05/0.3245, allocations: 3.094 kB / 0.5649 GB, free: 32.8 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.975e-05/0.3246, allocations: 37.11 kB / 0.5649 GB, free: 32.79 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.805e-05/0.3246, allocations: 87.59 kB / 0.565 GB, free: 32.76 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.91e-05/0.3247, allocations: 102.1 kB / 0.5651 GB, free: 32.67 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002512/0.3249, allocations: 275.1 kB / 0.5653 GB, free: 32.55 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.3249, allocations: 0 / 0.5653 GB, free: 32.55 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.3249, allocations: 0 / 0.5653 GB, free: 32.55 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.239e-05/0.325, allocations: 0 / 0.5653 GB, free: 32.55 MB / 446.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.0005887/0.3255, allocations: 0.6634 MB / 0.566 GB, free: 31.96 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.066e-05/0.3256, allocations: 9.188 kB / 0.566 GB, free: 31.96 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.973e-05/0.3256, allocations: 43.66 kB / 0.566 GB, free: 31.94 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002128/0.3258, allocations: 306.1 kB / 0.5663 GB, free: 31.65 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.103e-05/0.3259, allocations: 1.594 kB / 0.5663 GB, free: 31.65 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.506e-05/0.3259, allocations: 7.406 kB / 0.5663 GB, free: 31.65 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001643/0.326, allocations: 68.28 kB / 0.5664 GB, free: 31.61 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.3261, allocations: 192 / 0.5664 GB, free: 31.61 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.978e-06/0.3261, allocations: 7.875 kB / 0.5664 GB, free: 31.6 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.3261, allocations: 0.5 kB / 0.5664 GB, free: 31.6 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001304/0.3262, allocations: 41.84 kB / 0.5664 GB, free: 31.59 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004291/0.3266, allocations: 404 kB / 0.5668 GB, free: 31.27 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001171/0.3267, allocations: 51.3 kB / 0.5669 GB, free: 31.23 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.58e-05/0.3268, allocations: 27.62 kB / 0.5669 GB, free: 31.22 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.178e-05/0.3268, allocations: 3.375 kB / 0.5669 GB, free: 31.22 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.538e-05/0.3268, allocations: 33.69 kB / 0.5669 GB, free: 31.18 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.083e-06/0.3268, allocations: 0 / 0.5669 GB, free: 31.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007876/0.3276, allocations: 323.2 kB / 0.5673 GB, free: 31.04 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.826e-05/0.3277, allocations: 54.72 kB / 0.5673 GB, free: 30.97 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006204/0.3283, allocations: 0.8592 MB / 0.5681 GB, free: 30.66 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.598e-06/0.3283, allocations: 25.7 kB / 0.5682 GB, free: 30.62 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000108/0.3284, allocations: 221.6 kB / 0.5684 GB, free: 30.45 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.1e-05/0.3284, allocations: 22.89 kB / 0.5684 GB, free: 30.43 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.461e-05/0.3285, allocations: 26.86 kB / 0.5684 GB, free: 30.41 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.293e-05/0.3285, allocations: 358.1 kB / 0.5688 GB, free: 30.07 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001134/0.3286, allocations: 42.09 kB / 0.5688 GB, free: 30.07 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001041/0.3287, allocations: 42.86 kB / 0.5688 GB, free: 30.05 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002115/0.3289, allocations: 93.06 kB / 0.5689 GB, free: 30.02 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.3289, allocations: 0 / 0.5689 GB, free: 30.02 MB / 446.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000279/0.3292, allocations: 162 kB / 0.5691 GB, free: 29.94 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.3292, allocations: 6.094 kB / 0.5691 GB, free: 29.94 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.3292, allocations: 0 / 0.5691 GB, free: 29.94 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.3293, allocations: 7.062 kB / 0.5691 GB, free: 29.94 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001178/0.3294, allocations: 18.62 kB / 0.5691 GB, free: 29.94 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.3294, allocations: 3.062 kB / 0.5691 GB, free: 29.94 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.384e-05/0.3295, allocations: 6.781 kB / 0.5691 GB, free: 29.94 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.895e-06/0.3295, allocations: 2.062 kB / 0.5691 GB, free: 29.94 MB / 446.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 (7): * Single equations (assignments): 7 * 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.0001533/0.3296, allocations: 224 kB / 0.5693 GB, free: 29.8 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.464e-05/0.3297, allocations: 41.97 kB / 0.5694 GB, free: 29.77 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003734/0.33, allocations: 185.3 kB / 0.5696 GB, free: 29.69 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.33, allocations: 0.9062 kB / 0.5696 GB, free: 29.69 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.3301, allocations: 0 / 0.5696 GB, free: 29.69 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.3301, allocations: 1.156 kB / 0.5696 GB, free: 29.69 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006228/0.3307, allocations: 0.5116 MB / 0.5701 GB, free: 29.31 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.3307, allocations: 4.719 kB / 0.5701 GB, free: 29.31 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001007/0.3308, allocations: 21.11 kB / 0.5701 GB, free: 29.31 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.3308, allocations: 1.156 kB / 0.5701 GB, free: 29.31 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.3308, allocations: 4.969 kB / 0.5701 GB, free: 29.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.3308, allocations: 0 / 0.5701 GB, free: 29.3 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.3308, allocations: 4.5 kB / 0.5701 GB, free: 29.3 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003654/0.3312, allocations: 266.5 kB / 0.5704 GB, free: 29.11 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.482e-05/0.3312, allocations: 110.5 kB / 0.5705 GB, free: 29 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.08e-05/0.3313, allocations: 4.031 kB / 0.5705 GB, free: 29 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001115/0.3314, allocations: 9.453 kB / 0.5705 GB, free: 29 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.54e-05/0.3314, allocations: 6.406 kB / 0.5705 GB, free: 28.99 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.466e-06/0.3314, allocations: 6.219 kB / 0.5705 GB, free: 28.99 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006432/0.3321, allocations: 0.6496 MB / 0.5711 GB, free: 28.75 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3321, allocations: 0 / 0.5711 GB, free: 28.75 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002742/0.3323, allocations: 31.12 kB / 0.5711 GB, free: 28.74 MB / 446.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 (7): * Single equations (assignments): 7 * 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.001443/0.3338, allocations: 409.1 kB / 0.5715 GB, free: 28.55 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003215/0.3341, allocations: 89.8 kB / 0.5716 GB, free: 28.53 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3341, allocations: 0 / 0.5716 GB, free: 28.53 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000135/0.3342, allocations: 49.39 kB / 0.5717 GB, free: 28.52 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004076/0.3347, allocations: 29.81 kB / 0.5717 GB, free: 28.51 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001128/0.3358, allocations: 0.8428 MB / 0.5725 GB, free: 28.14 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002884/0.3361, allocations: 0.8284 MB / 0.5733 GB, free: 27.43 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.666e-05/0.3361, allocations: 27.27 kB / 0.5734 GB, free: 27.41 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.69e-05/0.3362, allocations: 14.19 kB / 0.5734 GB, free: 27.41 MB / 446.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3362, allocations: 1.156 kB / 0.5734 GB, free: 27.41 MB / 446.1 MB Notification: Performance of Templates: time 0.005411/0.3416, allocations: 1.66 MB / 0.575 GB, free: 27.2 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test6.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test6 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test6.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: 4.944736294914037]