Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001473/0.001473, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001437/0.001437, allocations: 211.5 kB / 24.48 MB, free: 3.938 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.531/1.531, allocations: 230.6 MB / 258.2 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2205/0.2205, allocations: 44.94 MB / 359.6 MB, free: 6.039 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test28,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.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test28,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.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002061/0.002061, allocations: 71.88 kB / 0.4943 GB, free: 9.996 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3321/0.3341, allocations: 65.46 MB / 0.5582 GB, free: 7.473 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test28): time 0.003308/0.3374, allocations: 1.605 MB / 0.5598 GB, free: 5.855 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001122/0.3386, allocations: 0.531 MB / 0.5603 GB, free: 5.32 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.875e-05/0.3386, allocations: 4 kB / 0.5603 GB, free: 5.316 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003487/0.339, allocations: 111.7 kB / 0.5604 GB, free: 5.207 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003372/0.3393, allocations: 123.5 kB / 0.5605 GB, free: 5.086 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003037/0.3396, allocations: 115.4 kB / 0.5606 GB, free: 4.977 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001849/0.3398, allocations: 91.73 kB / 0.5607 GB, free: 4.887 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.3399, allocations: 15.66 kB / 0.5607 GB, free: 4.875 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.553e-05/0.34, allocations: 47.89 kB / 0.5608 GB, free: 4.828 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001301/0.3401, allocations: 79.66 kB / 0.5609 GB, free: 4.75 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.769e-05/0.3401, allocations: 4 kB / 0.5609 GB, free: 4.746 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001041/0.3402, allocations: 43.98 kB / 0.5609 GB, free: 4.703 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.361e-05/0.3403, allocations: 23.92 kB / 0.5609 GB, free: 4.68 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.015e-05/0.3403, allocations: 23.81 kB / 0.5609 GB, free: 4.656 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002286/0.3406, allocations: 122.2 kB / 0.5611 GB, free: 4.539 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.3406, allocations: 0 / 0.5611 GB, free: 4.539 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3406, allocations: 3.938 kB / 0.5611 GB, free: 4.535 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.102e-06/0.3406, allocations: 3.938 kB / 0.5611 GB, free: 4.531 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.0005418/0.3411, allocations: 361.4 kB / 0.5614 GB, free: 4.148 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.3412, allocations: 16.03 kB / 0.5614 GB, free: 4.133 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.112e-05/0.3412, allocations: 8.891 kB / 0.5614 GB, free: 4.125 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002082/0.3414, allocations: 151.1 kB / 0.5616 GB, free: 3.949 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.026e-05/0.3414, allocations: 384 / 0.5616 GB, free: 3.949 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.382e-05/0.3414, allocations: 4.375 kB / 0.5616 GB, free: 3.945 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001674/0.3416, allocations: 57.8 kB / 0.5616 GB, free: 3.883 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.702e-05/0.3416, allocations: 7.938 kB / 0.5617 GB, free: 3.875 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.3416, allocations: 0 / 0.5617 GB, free: 3.875 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.3416, allocations: 4 kB / 0.5617 GB, free: 3.871 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001062/0.3418, allocations: 31.92 kB / 0.5617 GB, free: 3.84 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004336/0.3422, allocations: 252.5 kB / 0.5619 GB, free: 3.562 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001187/0.3423, allocations: 38.56 kB / 0.562 GB, free: 3.516 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.776e-05/0.3424, allocations: 24.88 kB / 0.562 GB, free: 3.488 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.51e-05/0.3424, allocations: 0 / 0.562 GB, free: 3.488 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.325e-05/0.3424, allocations: 30.56 kB / 0.562 GB, free: 3.449 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 7.31e-07/0.3424, allocations: 0 / 0.562 GB, free: 3.449 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009471/0.3434, allocations: 253.1 kB / 0.5623 GB, free: 3.195 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.092e-05/0.3434, allocations: 51.41 kB / 0.5623 GB, free: 3.133 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002733/0.3437, allocations: 259 kB / 0.5626 GB, free: 2.867 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.243e-05/0.3437, allocations: 33.64 kB / 0.5626 GB, free: 2.828 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.387e-05/0.3438, allocations: 108.1 kB / 0.5627 GB, free: 2.719 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.564e-05/0.3438, allocations: 27.81 kB / 0.5627 GB, free: 2.691 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.454e-05/0.3439, allocations: 29.7 kB / 0.5627 GB, free: 2.656 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001583/0.344, allocations: 330.8 kB / 0.5631 GB, free: 2.324 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.459e-05/0.3441, allocations: 27.98 kB / 0.5631 GB, free: 2.297 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.773e-05/0.3442, allocations: 32.03 kB / 0.5631 GB, free: 2.266 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001805/0.3444, allocations: 80.75 kB / 0.5632 GB, free: 2.184 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.3444, allocations: 0 / 0.5632 GB, free: 2.184 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002219/0.3446, allocations: 113.6 kB / 0.5633 GB, free: 2.066 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.3446, allocations: 6.5 kB / 0.5633 GB, free: 2.062 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.3446, allocations: 4 kB / 0.5633 GB, free: 2.059 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.3446, allocations: 0 / 0.5633 GB, free: 2.059 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001039/0.3447, allocations: 19.98 kB / 0.5633 GB, free: 2.039 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.3447, allocations: 0 / 0.5633 GB, free: 2.039 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.387e-05/0.3448, allocations: 4 kB / 0.5633 GB, free: 2.035 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.518e-06/0.3448, allocations: 3.938 kB / 0.5633 GB, free: 2.031 MB / 398.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.0001112/0.3449, allocations: 137.8 kB / 0.5635 GB, free: 1.887 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.456e-05/0.3449, allocations: 11.91 kB / 0.5635 GB, free: 1.875 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003013/0.3452, allocations: 143 kB / 0.5636 GB, free: 1.723 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.3452, allocations: 3.938 kB / 0.5636 GB, free: 1.719 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.3452, allocations: 0 / 0.5636 GB, free: 1.719 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.3452, allocations: 0 / 0.5636 GB, free: 1.719 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005202/0.3458, allocations: 366.9 kB / 0.564 GB, free: 1.32 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.3458, allocations: 8 kB / 0.564 GB, free: 1.312 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.851e-05/0.3458, allocations: 15.94 kB / 0.564 GB, free: 1.297 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.3458, allocations: 0 / 0.564 GB, free: 1.297 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.247e-05/0.3459, allocations: 12.02 kB / 0.564 GB, free: 1.285 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.648e-06/0.3459, allocations: 3.938 kB / 0.564 GB, free: 1.281 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.3459, allocations: 0 / 0.564 GB, free: 1.281 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002788/0.3461, allocations: 216.7 kB / 0.5642 GB, free: 1.051 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.804e-05/0.3462, allocations: 7.953 kB / 0.5642 GB, free: 1.043 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.739e-05/0.3462, allocations: 0 / 0.5642 GB, free: 1.043 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.891e-05/0.3463, allocations: 15.92 kB / 0.5642 GB, free: 1.027 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.785e-05/0.3463, allocations: 7.984 kB / 0.5642 GB, free: 1.02 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.24e-06/0.3463, allocations: 3.938 kB / 0.5642 GB, free: 1.016 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001705/0.3465, allocations: 195.2 kB / 0.5644 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3465, allocations: 4 kB / 0.5644 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002492/0.3467, allocations: 19.94 kB / 0.5645 GB, free: 0.8008 MB / 398.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.001823/0.3485, allocations: 484.7 kB / 0.5649 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002295/0.3488, allocations: 71.95 kB / 0.565 GB, free: 476 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3488, allocations: 0 / 0.565 GB, free: 476 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001025/0.3489, allocations: 43.91 kB / 0.565 GB, free: 432 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003648/0.3492, allocations: 23.55 kB / 0.5651 GB, free: 412 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005864/0.3498, allocations: 332.9 kB / 0.5654 GB, free: 44 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001274/0.35, allocations: 105.8 kB / 0.5655 GB, free: 15.92 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.392e-05/0.35, allocations: 23.36 kB / 0.5655 GB, free: 15.89 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.35, allocations: 3.938 kB / 0.5655 GB, free: 15.89 MB / 414.1 MB Notification: Performance of Templates: time 0.003892/0.3539, allocations: 1.936 MB / 0.5674 GB, free: 13.95 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test28/Test28.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.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.912982433103025]