Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21.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.00145/0.00145, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.001561/0.001561, allocations: 209.9 kB / 24.49 MB, free: 4.148 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.473/1.473, allocations: 230.6 MB / 258.3 MB, free: 7.957 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2378/0.2378, allocations: 46.94 MB / 361.6 MB, free: 4.215 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+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.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002238/0.002238, allocations: 63.91 kB / 0.4974 GB, free: 7.336 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3337/0.3359, allocations: 66.04 MB / 0.5619 GB, free: 4.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test21): time 0.003567/0.3395, allocations: 1.623 MB / 0.5635 GB, free: 2.707 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002195/0.3417, allocations: 1.263 MB / 0.5647 GB, free: 1.438 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.026e-05/0.3418, allocations: 4 kB / 0.5647 GB, free: 1.434 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003194/0.3421, allocations: 31.78 kB / 0.5647 GB, free: 1.402 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003495/0.3424, allocations: 75.69 kB / 0.5648 GB, free: 1.328 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003769/0.3428, allocations: 115.7 kB / 0.5649 GB, free: 1.215 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002047/0.343, allocations: 71.77 kB / 0.565 GB, free: 1.145 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001408/0.3432, allocations: 11.98 kB / 0.565 GB, free: 1.133 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.826e-05/0.3432, allocations: 27.92 kB / 0.565 GB, free: 1.105 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002071/0.3434, allocations: 39.78 kB / 0.5651 GB, free: 1.066 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.741e-05/0.3435, allocations: 4 kB / 0.5651 GB, free: 1.062 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001827/0.3436, allocations: 87.94 kB / 0.5652 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.77e-05/0.3437, allocations: 19.92 kB / 0.5652 GB, free: 0.957 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.753e-05/0.3437, allocations: 23.81 kB / 0.5652 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003027/0.344, allocations: 145.8 kB / 0.5653 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.665e-06/0.3441, allocations: 8 kB / 0.5653 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.3441, allocations: 0 / 0.5653 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.983e-06/0.3441, allocations: 0 / 0.5653 GB, free: 0.7891 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005755/0.3446, allocations: 325.7 kB / 0.5657 GB, free: 452 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.3447, allocations: 8.031 kB / 0.5657 GB, free: 444 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.046e-05/0.3447, allocations: 12.88 kB / 0.5657 GB, free: 432 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002276/0.345, allocations: 130.4 kB / 0.5658 GB, free: 276 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/0.345, allocations: 4.375 kB / 0.5658 GB, free: 272 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.801e-05/0.345, allocations: 384 / 0.5658 GB, free: 272 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001977/0.3452, allocations: 75.45 kB / 0.5659 GB, free: 184 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/0.3452, allocations: 4 kB / 0.5659 GB, free: 180 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.3452, allocations: 0 / 0.5659 GB, free: 180 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.3452, allocations: 0 / 0.5659 GB, free: 180 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001087/0.3453, allocations: 23.98 kB / 0.5659 GB, free: 156 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004877/0.3458, allocations: 255.9 kB / 0.5662 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002232/0.346, allocations: 50.59 kB / 0.5662 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.378e-05/0.3461, allocations: 20.84 kB / 0.5662 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.157e-05/0.3461, allocations: 0 / 0.5662 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.498e-05/0.3461, allocations: 30.56 kB / 0.5662 GB, free: 15.74 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 8.31e-07/0.3461, allocations: 0 / 0.5662 GB, free: 15.74 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005902/0.3467, allocations: 149.4 kB / 0.5664 GB, free: 15.59 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.626e-05/0.3468, allocations: 85.11 kB / 0.5665 GB, free: 15.48 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001632/0.347, allocations: 148.5 kB / 0.5666 GB, free: 15.33 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.952e-05/0.347, allocations: 29.7 kB / 0.5666 GB, free: 15.3 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.273e-05/0.347, allocations: 92.08 kB / 0.5667 GB, free: 15.2 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.685e-05/0.3471, allocations: 23.78 kB / 0.5668 GB, free: 15.18 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.216e-05/0.3471, allocations: 17.72 kB / 0.5668 GB, free: 15.16 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001392/0.3473, allocations: 326.8 kB / 0.5671 GB, free: 14.83 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.522e-05/0.3473, allocations: 23.98 kB / 0.5671 GB, free: 14.8 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.972e-05/0.3474, allocations: 41.64 kB / 0.5671 GB, free: 14.76 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001368/0.3475, allocations: 52.83 kB / 0.5672 GB, free: 14.7 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.3475, allocations: 0 / 0.5672 GB, free: 14.7 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001877/0.3477, allocations: 89.61 kB / 0.5673 GB, free: 14.61 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.3477, allocations: 4 kB / 0.5673 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.3477, allocations: 4.031 kB / 0.5673 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.3478, allocations: 0 / 0.5673 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.975e-05/0.3478, allocations: 15.98 kB / 0.5673 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.3478, allocations: 0 / 0.5673 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.377e-05/0.3479, allocations: 4 kB / 0.5673 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.989e-06/0.3479, allocations: 7.922 kB / 0.5673 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 (5): * Single equations (assignments): 5 * 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 9.292e-05/0.348, allocations: 117.8 kB / 0.5674 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.517e-05/0.348, allocations: 7.953 kB / 0.5674 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002571/0.3483, allocations: 102.3 kB / 0.5675 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.3483, allocations: 0 / 0.5675 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.3483, allocations: 0 / 0.5675 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/0.3483, allocations: 3.984 kB / 0.5675 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004598/0.3487, allocations: 329.5 kB / 0.5678 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.56e-06/0.3488, allocations: 4.297 kB / 0.5679 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.662e-05/0.3488, allocations: 12 kB / 0.5679 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.3488, allocations: 4 kB / 0.5679 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.957e-06/0.3488, allocations: 4 kB / 0.5679 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/0.3488, allocations: 3.938 kB / 0.5679 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.3488, allocations: 0 / 0.5679 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002381/0.3491, allocations: 183.4 kB / 0.5681 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.88e-05/0.3491, allocations: 11.94 kB / 0.5681 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.973e-05/0.3491, allocations: 8 kB / 0.5681 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.352e-05/0.3492, allocations: 7.938 kB / 0.5681 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.136e-05/0.3492, allocations: 3.984 kB / 0.5681 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.991e-06/0.3492, allocations: 4 kB / 0.5681 GB, free: 13.69 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.683e-05/0.3493, allocations: 107.3 kB / 0.5682 GB, free: 13.59 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3493, allocations: 4 kB / 0.5682 GB, free: 13.58 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002885/0.3496, allocations: 39.86 kB / 0.5682 GB, free: 13.54 MB / 414.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 (5): * Single equations (assignments): 5 * 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.001699/0.3513, allocations: 0.4942 MB / 0.5687 GB, free: 13.23 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002195/0.3515, allocations: 55.97 kB / 0.5688 GB, free: 13.18 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.3515, allocations: 0 / 0.5688 GB, free: 13.18 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.213e-05/0.3516, allocations: 31.91 kB / 0.5688 GB, free: 13.15 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003404/0.3519, allocations: 13.88 kB / 0.5688 GB, free: 13.14 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004752/0.3524, allocations: 203.2 kB / 0.569 GB, free: 12.91 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003229/0.3527, allocations: 0.6924 MB / 0.5697 GB, free: 12.19 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.732e-05/0.3528, allocations: 19.42 kB / 0.5697 GB, free: 12.17 MB / 414.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3528, allocations: 3.938 kB / 0.5697 GB, free: 12.17 MB / 414.1 MB Notification: Performance of Templates: time 0.004169/0.357, allocations: 1.977 MB / 0.5716 GB, free: 10.2 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21.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: 8.270785096101463]