Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.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.0009539/0.0009539, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.007718/0.008672, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001077/0.001077, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002471/0.003547, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.116/1.116, allocations: 177.2 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1227/1.239, allocations: 53.64 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] 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.3009/0.3009, allocations: 32.79 MB / 276.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03647/0.3374, allocations: 12.54 MB / 289.3 MB, free: 8.668 MB / 282.7 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.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.454e-06/2.454e-06, allocations: 0 / 290.6 MB, free: 7.637 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.811e-05/3.057e-05, allocations: 3.297 kB / 290.6 MB, free: 7.633 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test16): time 0.00361/0.00364, allocations: 1.697 MB / 292.3 MB, free: 6.266 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001181/0.004822, allocations: 0.5563 MB / 292.9 MB, free: 5.852 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.404e-05/0.004906, allocations: 0 / 292.9 MB, free: 5.852 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000275/0.005181, allocations: 82.94 kB / 293 MB, free: 5.805 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002931/0.005474, allocations: 105.9 kB / 293.1 MB, free: 5.738 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003846/0.005858, allocations: 118.6 kB / 293.2 MB, free: 5.66 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.00021/0.006069, allocations: 84.58 kB / 293.3 MB, free: 5.617 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.006171, allocations: 25.83 kB / 293.3 MB, free: 5.594 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001116/0.006282, allocations: 58.66 kB / 293.4 MB, free: 5.551 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000103/0.006385, allocations: 51.88 kB / 293.4 MB, free: 5.5 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.562e-05/0.006401, allocations: 0 / 293.4 MB, free: 5.5 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.034e-05/0.006491, allocations: 47.92 kB / 293.4 MB, free: 5.453 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.731e-05/0.006539, allocations: 15.92 kB / 293.5 MB, free: 5.438 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.117e-05/0.00657, allocations: 15.94 kB / 293.5 MB, free: 5.422 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000155/0.006725, allocations: 91.61 kB / 293.6 MB, free: 5.332 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.781e-05/0.006743, allocations: 0 / 293.6 MB, free: 5.332 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.006743, allocations: 0 / 293.6 MB, free: 5.332 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.91e-05/0.006762, allocations: 0 / 293.6 MB, free: 5.332 MB / 282.7 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.0004946/0.007257, allocations: 332.6 kB / 293.9 MB, free: 4.984 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.007298, allocations: 8.031 kB / 293.9 MB, free: 4.977 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.655e-05/0.007335, allocations: 4.938 kB / 293.9 MB, free: 4.973 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001564/0.007491, allocations: 154.1 kB / 294.1 MB, free: 4.793 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.07e-05/0.007502, allocations: 4.375 kB / 294.1 MB, free: 4.789 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.379e-05/0.007526, allocations: 4.375 kB / 294.1 MB, free: 4.785 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001133/0.007639, allocations: 54.94 kB / 294.1 MB, free: 4.723 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.007649, allocations: 192 / 294.1 MB, free: 4.723 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.818e-06/0.007659, allocations: 4.125 kB / 294.1 MB, free: 4.719 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.007665, allocations: 7.984 kB / 294.1 MB, free: 4.711 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.815e-05/0.007693, allocations: 12 kB / 294.1 MB, free: 4.699 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002548/0.007948, allocations: 171 kB / 294.3 MB, free: 4.516 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.957e-05/0.008008, allocations: 37.39 kB / 294.3 MB, free: 4.469 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.863e-05/0.008026, allocations: 16.8 kB / 294.4 MB, free: 4.449 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.473e-05/0.008051, allocations: 0 / 294.4 MB, free: 4.449 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.724e-05/0.008078, allocations: 42.58 kB / 294.4 MB, free: 4.398 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 5.41e-07/0.008079, allocations: 0 / 294.4 MB, free: 4.398 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004537/0.008532, allocations: 137.6 kB / 294.5 MB, free: 4.258 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.683e-05/0.008569, allocations: 55.34 kB / 294.6 MB, free: 4.191 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001161/0.008685, allocations: 180.7 kB / 294.8 MB, free: 4 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.323e-05/0.008699, allocations: 25.7 kB / 294.8 MB, free: 3.969 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.044e-05/0.008739, allocations: 108.8 kB / 294.9 MB, free: 3.859 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.927e-05/0.008768, allocations: 23.75 kB / 294.9 MB, free: 3.836 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.945e-05/0.008798, allocations: 21.7 kB / 294.9 MB, free: 3.809 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.455e-05/0.008892, allocations: 326.8 kB / 295.3 MB, free: 3.48 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.3e-05/0.008905, allocations: 4 kB / 295.3 MB, free: 3.477 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.368e-05/0.008919, allocations: 8.078 kB / 295.3 MB, free: 3.469 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.668e-05/0.008956, allocations: 35.78 kB / 295.3 MB, free: 3.43 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.12e-07/0.008956, allocations: 8 kB / 295.3 MB, free: 3.422 MB / 282.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.211e-05/0.009018, allocations: 61.56 kB / 295.4 MB, free: 3.355 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.099e-05/0.009029, allocations: 4 kB / 295.4 MB, free: 3.352 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.009035, allocations: 0 / 295.4 MB, free: 3.352 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.043e-05/0.009045, allocations: 4 kB / 295.4 MB, free: 3.348 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.113e-05/0.009116, allocations: 19.98 kB / 295.4 MB, free: 3.328 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.585e-06/0.009119, allocations: 0 / 295.4 MB, free: 3.328 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.922e-05/0.009138, allocations: 7.984 kB / 295.4 MB, free: 3.32 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.009e-06/0.009143, allocations: 0 / 295.4 MB, free: 3.32 MB / 282.7 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 6.191e-05/0.009205, allocations: 116.7 kB / 295.5 MB, free: 3.195 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.564e-05/0.009221, allocations: 11.94 kB / 295.5 MB, free: 3.184 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001072/0.009328, allocations: 75.06 kB / 295.6 MB, free: 3.105 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.055e-06/0.009331, allocations: 4 kB / 295.6 MB, free: 3.102 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.009333, allocations: 0 / 295.6 MB, free: 3.102 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.009336, allocations: 0 / 295.6 MB, free: 3.102 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002288/0.009565, allocations: 251.5 kB / 295.9 MB, free: 2.828 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.009566, allocations: 3.938 kB / 295.9 MB, free: 2.824 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.763e-05/0.009603, allocations: 16 kB / 295.9 MB, free: 2.809 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.227e-05/0.009616, allocations: 15.89 kB / 295.9 MB, free: 2.793 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.033e-06/0.009618, allocations: 32 / 295.9 MB, free: 2.793 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.009624, allocations: 8 kB / 295.9 MB, free: 2.785 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.009625, allocations: 0 / 295.9 MB, free: 2.785 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.009626, allocations: 4 kB / 295.9 MB, free: 2.781 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000102/0.009728, allocations: 164.2 kB / 296.1 MB, free: 2.602 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.544e-05/0.009743, allocations: 432 / 296.1 MB, free: 2.602 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.354e-05/0.009777, allocations: 8 kB / 296.1 MB, free: 2.594 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.467e-05/0.009802, allocations: 3.984 kB / 296.1 MB, free: 2.59 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.956e-06/0.009805, allocations: 4 kB / 296.1 MB, free: 2.586 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.105e-05/0.009846, allocations: 55.64 kB / 296.1 MB, free: 2.527 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009846, allocations: 0 / 296.1 MB, free: 2.527 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001339/0.00998, allocations: 27.94 kB / 296.2 MB, free: 2.5 MB / 282.7 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.001554/0.01153, allocations: 0.621 MB / 296.8 MB, free: 2.234 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.81e-05/0.01162, allocations: 44.72 kB / 296.8 MB, free: 2.188 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.01163, allocations: 4 kB / 296.8 MB, free: 2.184 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.686e-05/0.01165, allocations: 28.77 kB / 296.9 MB, free: 2.152 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000185/0.01184, allocations: 27.67 kB / 296.9 MB, free: 2.129 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004848/0.01232, allocations: 227.7 kB / 297.1 MB, free: 1.875 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.275e-05/0.01237, allocations: 67.34 kB / 297.2 MB, free: 1.789 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.729e-05/0.0124, allocations: 21.08 kB / 297.2 MB, free: 1.77 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.91e-05/0.01246, allocations: 63.36 kB / 297.3 MB, free: 1.707 MB / 282.7 MB Notification: Performance of SimCode: time 4.21e-07/0.01246, allocations: 0 / 297.3 MB, free: 1.707 MB / 282.7 MB Notification: Performance of Templates: time 0.003758/0.01622, allocations: 1.542 MB / 298.8 MB, free: 188 kB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test16/Test16.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.287658791989088]