Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test26.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.007113/0.007113, 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.001829/0.001829, 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.432/1.432, allocations: 230.5 MB / 258.9 MB, free: 8 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.2268/0.2268, allocations: 46.93 MB / 362.3 MB, free: 4.199 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.CombiTable1Dv.Test26,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.CombiTable1Dv.Test26") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test26,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.CombiTable1Dv.Test26") [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.002326/0.002326, allocations: 79.88 kB / 0.4982 GB, free: 7.25 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3187/0.321, allocations: 66.08 MB / 0.5628 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test26): time 0.003142/0.3242, allocations: 1.636 MB / 0.5644 GB, free: 2.582 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001043/0.3252, allocations: 0.5615 MB / 0.5649 GB, free: 2.02 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.821e-05/0.3253, allocations: 4 kB / 0.5649 GB, free: 2.016 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000254/0.3255, allocations: 75.77 kB / 0.565 GB, free: 1.941 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002836/0.3258, allocations: 103.6 kB / 0.5651 GB, free: 1.84 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003033/0.3261, allocations: 115.7 kB / 0.5652 GB, free: 1.727 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001737/0.3263, allocations: 87.75 kB / 0.5653 GB, free: 1.641 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.3264, allocations: 15.64 kB / 0.5653 GB, free: 1.629 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.445e-05/0.3265, allocations: 35.91 kB / 0.5653 GB, free: 1.594 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001208/0.3266, allocations: 71.73 kB / 0.5654 GB, free: 1.523 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.25e-05/0.3266, allocations: 0 / 0.5654 GB, free: 1.523 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.75e-05/0.3267, allocations: 44 kB / 0.5654 GB, free: 1.48 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.403e-05/0.3267, allocations: 23.91 kB / 0.5655 GB, free: 1.457 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.393e-05/0.3268, allocations: 35.67 kB / 0.5655 GB, free: 1.422 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001922/0.327, allocations: 106.2 kB / 0.5656 GB, free: 1.32 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.327, allocations: 0 / 0.5656 GB, free: 1.32 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.327, allocations: 0 / 0.5656 GB, free: 1.32 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.327, allocations: 0 / 0.5656 GB, free: 1.32 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.000496/0.3275, allocations: 349.6 kB / 0.5659 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.3275, allocations: 8.031 kB / 0.5659 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.78e-05/0.3276, allocations: 12.84 kB / 0.5659 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002172/0.3278, allocations: 143 kB / 0.5661 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/0.3278, allocations: 4.375 kB / 0.5661 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.527e-05/0.3278, allocations: 4.375 kB / 0.5661 GB, free: 0.75 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001556/0.328, allocations: 58.17 kB / 0.5661 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.328, allocations: 192 / 0.5661 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.28e-05/0.328, allocations: 7.938 kB / 0.5661 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.328, allocations: 0 / 0.5661 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001037/0.3281, allocations: 31.97 kB / 0.5662 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004178/0.3285, allocations: 271.8 kB / 0.5664 GB, free: 348 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001319/0.3287, allocations: 54.48 kB / 0.5665 GB, free: 284 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.396e-05/0.3287, allocations: 20.94 kB / 0.5665 GB, free: 260 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.969e-05/0.3287, allocations: 0 / 0.5665 GB, free: 260 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.696e-05/0.3288, allocations: 34.56 kB / 0.5665 GB, free: 216 kB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 8.41e-07/0.3288, allocations: 0 / 0.5665 GB, free: 216 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008829/0.3296, allocations: 241.3 kB / 0.5668 GB, free: 15.97 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.527e-05/0.3297, allocations: 55.41 kB / 0.5668 GB, free: 15.9 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002188/0.3299, allocations: 210.3 kB / 0.567 GB, free: 15.69 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.746e-05/0.3299, allocations: 25.7 kB / 0.5671 GB, free: 15.66 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.693e-05/0.33, allocations: 116 kB / 0.5672 GB, free: 15.54 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.041e-05/0.33, allocations: 27.73 kB / 0.5672 GB, free: 15.51 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.223e-05/0.3301, allocations: 21.72 kB / 0.5672 GB, free: 15.48 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001415/0.3302, allocations: 330.7 kB / 0.5675 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.614e-05/0.3303, allocations: 35.97 kB / 0.5676 GB, free: 15.12 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.342e-05/0.3304, allocations: 31.92 kB / 0.5676 GB, free: 15.09 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001597/0.3305, allocations: 69.05 kB / 0.5677 GB, free: 15.02 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.3305, allocations: 4 kB / 0.5677 GB, free: 15.01 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002233/0.3308, allocations: 109.6 kB / 0.5678 GB, free: 14.9 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.3308, allocations: 10.03 kB / 0.5678 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.3308, allocations: 0 / 0.5678 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.3308, allocations: 4 kB / 0.5678 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001008/0.3309, allocations: 19.92 kB / 0.5678 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.3309, allocations: 4 kB / 0.5678 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.067e-05/0.3309, allocations: 3.984 kB / 0.5678 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.896e-06/0.3309, allocations: 4 kB / 0.5678 GB, free: 14.86 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.0001065/0.3311, allocations: 137.7 kB / 0.5679 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.019e-05/0.3311, allocations: 11.91 kB / 0.568 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003026/0.3314, allocations: 139 kB / 0.5681 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.3314, allocations: 0 / 0.5681 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.3314, allocations: 0 / 0.5681 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.3314, allocations: 3.938 kB / 0.5681 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005556/0.332, allocations: 394.3 kB / 0.5685 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.332, allocations: 4 kB / 0.5685 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.891e-05/0.332, allocations: 16.02 kB / 0.5685 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.332, allocations: 4 kB / 0.5685 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.332, allocations: 7.938 kB / 0.5685 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.332, allocations: 0 / 0.5685 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.3321, allocations: 0 / 0.5685 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002899/0.3323, allocations: 212.2 kB / 0.5687 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.128e-05/0.3324, allocations: 19.91 kB / 0.5687 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.895e-05/0.3324, allocations: 3.938 kB / 0.5687 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.252e-05/0.3325, allocations: 7.984 kB / 0.5687 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.221e-05/0.3325, allocations: 4 kB / 0.5687 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.704e-06/0.3325, allocations: 4 kB / 0.5687 GB, free: 13.81 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001546/0.3326, allocations: 168.2 kB / 0.5689 GB, free: 13.64 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3326, allocations: 0 / 0.5689 GB, free: 13.64 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002451/0.3329, allocations: 20 kB / 0.5689 GB, free: 13.62 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.001656/0.3345, allocations: 464 kB / 0.5694 GB, free: 13.33 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002478/0.3348, allocations: 75.88 kB / 0.5694 GB, free: 13.26 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.3348, allocations: 4 kB / 0.5694 GB, free: 13.25 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.513e-05/0.3349, allocations: 35.97 kB / 0.5695 GB, free: 13.22 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003666/0.3353, allocations: 19.98 kB / 0.5695 GB, free: 13.2 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005712/0.3358, allocations: 296.3 kB / 0.5698 GB, free: 12.88 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003894/0.3362, allocations: 0.7158 MB / 0.5705 GB, free: 12.13 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.549e-05/0.3363, allocations: 15.44 kB / 0.5705 GB, free: 12.12 MB / 414.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3363, allocations: 0 / 0.5705 GB, free: 12.12 MB / 414.1 MB Notification: Performance of Templates: time 0.003817/0.3401, allocations: 1.821 MB / 0.5723 GB, free: 10.3 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test26.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test26.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test26 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test26_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test26/Test26.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test26.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.602619752055034]