Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test21.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.00679/0.00679, allocations: 111.2 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.001708/0.001708, allocations: 220.3 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.46/1.46, 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.2188/0.2188, allocations: 46.94 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.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-beta.om_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-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test21") [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.002354/0.002354, allocations: 83.86 kB / 0.4982 GB, free: 7.242 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3415/0.3438, allocations: 66.07 MB / 0.5627 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test21): time 0.003526/0.3474, allocations: 1.621 MB / 0.5643 GB, free: 2.621 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002375/0.3497, allocations: 1.266 MB / 0.5656 GB, free: 1.352 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.451e-05/0.3498, allocations: 4 kB / 0.5656 GB, free: 1.348 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002714/0.3501, allocations: 23.84 kB / 0.5656 GB, free: 1.324 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003351/0.3504, allocations: 83.61 kB / 0.5657 GB, free: 1.242 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003616/0.3508, allocations: 111.7 kB / 0.5658 GB, free: 1.133 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001696/0.351, allocations: 71.78 kB / 0.5658 GB, free: 1.062 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001165/0.3511, allocations: 11.94 kB / 0.5659 GB, free: 1.051 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.911e-05/0.3511, allocations: 27.91 kB / 0.5659 GB, free: 1.023 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001873/0.3513, allocations: 35.78 kB / 0.5659 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.762e-05/0.3514, allocations: 4 kB / 0.5659 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000225/0.3516, allocations: 99.88 kB / 0.566 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.234e-05/0.3516, allocations: 15.92 kB / 0.566 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.069e-05/0.3517, allocations: 23.86 kB / 0.5661 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003086/0.352, allocations: 145.9 kB / 0.5662 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.352, allocations: 0 / 0.5662 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.415e-06/0.352, allocations: 4 kB / 0.5662 GB, free: 0.707 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.254e-06/0.352, allocations: 4 kB / 0.5662 GB, free: 0.7031 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.0005834/0.3526, allocations: 325.6 kB / 0.5665 GB, free: 360 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.3526, allocations: 8.031 kB / 0.5665 GB, free: 352 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.517e-05/0.3527, allocations: 8.891 kB / 0.5665 GB, free: 344 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002312/0.3529, allocations: 145.9 kB / 0.5667 GB, free: 176 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.027e-05/0.3529, allocations: 384 / 0.5667 GB, free: 176 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.485e-05/0.3529, allocations: 384 / 0.5667 GB, free: 176 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001721/0.3531, allocations: 71.95 kB / 0.5667 GB, free: 92 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.3531, allocations: 192 / 0.5667 GB, free: 92 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.391e-05/0.3531, allocations: 3.938 kB / 0.5667 GB, free: 88 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.092e-05/0.3532, allocations: 3.984 kB / 0.5667 GB, free: 84 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001035/0.3533, allocations: 23.92 kB / 0.5668 GB, free: 60 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004636/0.3537, allocations: 256 kB / 0.567 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002416/0.354, allocations: 50.5 kB / 0.5671 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.538e-05/0.354, allocations: 12.94 kB / 0.5671 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.206e-05/0.354, allocations: 8 kB / 0.5671 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.146e-05/0.3541, allocations: 34.5 kB / 0.5671 GB, free: 15.64 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.513e-06/0.3541, allocations: 0 / 0.5671 GB, free: 15.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006335/0.3547, allocations: 145.5 kB / 0.5673 GB, free: 15.49 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.001e-05/0.3548, allocations: 85.05 kB / 0.5673 GB, free: 15.39 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001944/0.355, allocations: 144.3 kB / 0.5675 GB, free: 15.24 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.864e-05/0.355, allocations: 33.69 kB / 0.5675 GB, free: 15.2 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.637e-05/0.3551, allocations: 88.14 kB / 0.5676 GB, free: 15.11 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.205e-05/0.3551, allocations: 19.8 kB / 0.5676 GB, free: 15.09 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.643e-05/0.3552, allocations: 21.7 kB / 0.5676 GB, free: 15.07 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000208/0.3554, allocations: 326.8 kB / 0.5679 GB, free: 14.74 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.037e-05/0.3555, allocations: 23.97 kB / 0.568 GB, free: 14.71 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.663e-05/0.3556, allocations: 29.7 kB / 0.568 GB, free: 14.68 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001488/0.3557, allocations: 53.02 kB / 0.568 GB, free: 14.62 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.3557, allocations: 4 kB / 0.568 GB, free: 14.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002026/0.3559, allocations: 93.58 kB / 0.5681 GB, free: 14.52 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.3559, allocations: 8 kB / 0.5681 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.523e-06/0.3559, allocations: 0 / 0.5681 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.052e-05/0.356, allocations: 0 / 0.5681 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.747e-05/0.356, allocations: 15.92 kB / 0.5682 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/0.356, allocations: 7.938 kB / 0.5682 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.394e-05/0.3561, allocations: 0 / 0.5682 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.829e-06/0.3561, allocations: 4 kB / 0.5682 GB, free: 14.49 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 0.0001287/0.3562, allocations: 125.8 kB / 0.5683 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.604e-05/0.3562, allocations: 7.953 kB / 0.5683 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002812/0.3565, allocations: 94 kB / 0.5684 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.3565, allocations: 4 kB / 0.5684 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.3565, allocations: 0 / 0.5684 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.3565, allocations: 0 / 0.5684 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000522/0.3571, allocations: 333.5 kB / 0.5687 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.3571, allocations: 4 kB / 0.5687 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.809e-05/0.3571, allocations: 15.98 kB / 0.5687 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.3571, allocations: 0 / 0.5687 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-06/0.3571, allocations: 0 / 0.5687 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.3571, allocations: 3.938 kB / 0.5687 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.475e-05/0.3572, allocations: 3.938 kB / 0.5687 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002757/0.3574, allocations: 187.7 kB / 0.5689 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.09e-05/0.3575, allocations: 11.95 kB / 0.5689 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.144e-05/0.3575, allocations: 3.984 kB / 0.5689 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.242e-05/0.3575, allocations: 4 kB / 0.5689 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.023e-05/0.3576, allocations: 3.938 kB / 0.5689 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.786e-06/0.3576, allocations: 7.984 kB / 0.5689 GB, free: 13.6 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001153/0.3577, allocations: 109.6 kB / 0.569 GB, free: 13.5 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3577, allocations: 0 / 0.569 GB, free: 13.5 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003047/0.358, allocations: 39.86 kB / 0.5691 GB, free: 13.46 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.001828/0.3598, allocations: 0.4905 MB / 0.5696 GB, free: 13.12 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002198/0.3601, allocations: 47.91 kB / 0.5696 GB, free: 13.07 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.3601, allocations: 0 / 0.5696 GB, free: 13.07 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.322e-05/0.3601, allocations: 23.98 kB / 0.5696 GB, free: 13.05 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003657/0.3605, allocations: 15.98 kB / 0.5696 GB, free: 13.04 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004788/0.361, allocations: 203.2 kB / 0.5698 GB, free: 12.8 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003248/0.3613, allocations: 0.7001 MB / 0.5705 GB, free: 12.08 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.126e-05/0.3614, allocations: 15.44 kB / 0.5705 GB, free: 12.07 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3614, allocations: 0 / 0.5705 GB, free: 12.07 MB / 414.1 MB Notification: Performance of Templates: time 0.004252/0.3656, allocations: 1.974 MB / 0.5725 GB, free: 10.09 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test21.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test21.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_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-beta.om_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: 7.760490691056475]