Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test32.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.006013/0.006013, allocations: 109.7 kB / 21.98 MB, free: 5.184 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.001448/0.001448, allocations: 220.6 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.438/1.438, 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.2236/0.2236, allocations: 46.92 MB / 362.3 MB, free: 4.203 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.CombiTable1Ds.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test32") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test32") [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.002289/0.002289, allocations: 83.84 kB / 0.4982 GB, free: 7.242 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.315/0.3172, allocations: 66.08 MB / 0.5628 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test32): time 0.003076/0.3203, allocations: 1.636 MB / 0.5644 GB, free: 2.59 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001045/0.3214, allocations: 0.5499 MB / 0.5649 GB, free: 2.039 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.859e-05/0.3214, allocations: 3.938 kB / 0.5649 GB, free: 2.035 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003208/0.3217, allocations: 107.7 kB / 0.565 GB, free: 1.93 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003062/0.3221, allocations: 119.5 kB / 0.5651 GB, free: 1.812 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002634/0.3223, allocations: 95.64 kB / 0.5652 GB, free: 1.719 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001979/0.3225, allocations: 95.75 kB / 0.5653 GB, free: 1.625 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.3226, allocations: 15.64 kB / 0.5653 GB, free: 1.613 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.213e-05/0.3227, allocations: 39.89 kB / 0.5654 GB, free: 1.574 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001435/0.3228, allocations: 79.78 kB / 0.5654 GB, free: 1.496 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.452e-05/0.3229, allocations: 3.938 kB / 0.5654 GB, free: 1.492 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001001/0.323, allocations: 44 kB / 0.5655 GB, free: 1.449 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.205e-05/0.323, allocations: 31.83 kB / 0.5655 GB, free: 1.418 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.369e-05/0.3231, allocations: 35.69 kB / 0.5655 GB, free: 1.383 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002092/0.3233, allocations: 110.2 kB / 0.5656 GB, free: 1.277 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.3233, allocations: 0 / 0.5656 GB, free: 1.277 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.3233, allocations: 3.938 kB / 0.5656 GB, free: 1.273 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.155e-05/0.3233, allocations: 4 kB / 0.5656 GB, free: 1.27 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.0005486/0.3239, allocations: 357.5 kB / 0.566 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.3239, allocations: 8.031 kB / 0.566 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.903e-05/0.3239, allocations: 8.891 kB / 0.566 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000195/0.3241, allocations: 155.1 kB / 0.5662 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/0.3241, allocations: 4.375 kB / 0.5662 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.466e-05/0.3242, allocations: 4.375 kB / 0.5662 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001507/0.3243, allocations: 54.23 kB / 0.5662 GB, free: 0.625 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.3243, allocations: 8.141 kB / 0.5662 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.3243, allocations: 3.938 kB / 0.5662 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/0.3243, allocations: 4 kB / 0.5662 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.603e-05/0.3244, allocations: 23.97 kB / 0.5663 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003973/0.3248, allocations: 275.8 kB / 0.5665 GB, free: 280 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001088/0.3249, allocations: 34.56 kB / 0.5665 GB, free: 236 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.18e-05/0.325, allocations: 24.94 kB / 0.5666 GB, free: 208 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.007e-05/0.325, allocations: 0 / 0.5666 GB, free: 208 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.014e-05/0.325, allocations: 38.56 kB / 0.5666 GB, free: 160 kB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 8.11e-07/0.325, allocations: 0 / 0.5666 GB, free: 160 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008908/0.3259, allocations: 233.3 kB / 0.5668 GB, free: 15.92 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.362e-05/0.326, allocations: 55.34 kB / 0.5669 GB, free: 15.85 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002661/0.3262, allocations: 262.9 kB / 0.5671 GB, free: 15.58 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.66e-05/0.3263, allocations: 25.7 kB / 0.5672 GB, free: 15.55 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.771e-05/0.3263, allocations: 108.1 kB / 0.5673 GB, free: 15.44 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.117e-05/0.3264, allocations: 27.75 kB / 0.5673 GB, free: 15.41 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.3e-05/0.3264, allocations: 21.7 kB / 0.5673 GB, free: 15.39 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.3266, allocations: 338.8 kB / 0.5676 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.717e-05/0.3266, allocations: 19.98 kB / 0.5677 GB, free: 15.03 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.64e-05/0.3267, allocations: 31.92 kB / 0.5677 GB, free: 15 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001475/0.3269, allocations: 61.12 kB / 0.5677 GB, free: 14.93 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.3269, allocations: 4 kB / 0.5677 GB, free: 14.93 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002083/0.3271, allocations: 109.5 kB / 0.5678 GB, free: 14.82 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.3271, allocations: 10.19 kB / 0.5679 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.3271, allocations: 0 / 0.5679 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.3271, allocations: 0 / 0.5679 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001007/0.3272, allocations: 15.98 kB / 0.5679 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.7e-05/0.3272, allocations: 4 kB / 0.5679 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.316e-05/0.3273, allocations: 4 kB / 0.5679 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-06/0.3273, allocations: 4 kB / 0.5679 GB, free: 14.78 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 (8): * Single equations (assignments): 8 * 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.0001116/0.3274, allocations: 133.8 kB / 0.568 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.728e-05/0.3274, allocations: 19.91 kB / 0.568 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002805/0.3277, allocations: 115 kB / 0.5681 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.3277, allocations: 4 kB / 0.5681 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.3277, allocations: 0 / 0.5681 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.199e-06/0.3277, allocations: 4.406 kB / 0.5681 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005275/0.3282, allocations: 390.3 kB / 0.5685 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.3282, allocations: 0 / 0.5685 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.838e-05/0.3283, allocations: 15.98 kB / 0.5685 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.3283, allocations: 0 / 0.5685 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.099e-05/0.3283, allocations: 11.94 kB / 0.5685 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.3283, allocations: 0 / 0.5685 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.3283, allocations: 3.984 kB / 0.5686 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002566/0.3286, allocations: 212.2 kB / 0.5688 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.789e-05/0.3286, allocations: 7.953 kB / 0.5688 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.016e-05/0.3286, allocations: 7.938 kB / 0.5688 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.174e-05/0.3287, allocations: 8 kB / 0.5688 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.587e-05/0.3287, allocations: 11.92 kB / 0.5688 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.652e-06/0.3287, allocations: 4 kB / 0.5688 GB, free: 13.76 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001715/0.3289, allocations: 187.2 kB / 0.569 GB, free: 13.57 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3289, allocations: 0 / 0.569 GB, free: 13.57 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002493/0.3292, allocations: 31.92 kB / 0.569 GB, free: 13.54 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001643/0.3308, allocations: 430.8 kB / 0.5694 GB, free: 13.27 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002225/0.331, allocations: 79.88 kB / 0.5695 GB, free: 13.2 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.331, allocations: 0 / 0.5695 GB, free: 13.2 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.095e-05/0.3311, allocations: 39.91 kB / 0.5695 GB, free: 13.16 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003512/0.3315, allocations: 18.56 kB / 0.5695 GB, free: 13.14 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005645/0.332, allocations: 316.8 kB / 0.5698 GB, free: 12.8 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003388/0.3324, allocations: 0.7197 MB / 0.5705 GB, free: 12.05 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.044e-05/0.3324, allocations: 15.44 kB / 0.5706 GB, free: 12.04 MB / 414.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3324, allocations: 0 / 0.5706 GB, free: 12.04 MB / 414.1 MB Notification: Performance of Templates: time 0.003938/0.3364, allocations: 1.852 MB / 0.5724 GB, free: 10.18 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test32.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test32.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test32 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test32_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test32/Test32.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test32.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.683268513996154]