Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.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.0008965/0.0008965, allocations: 80.8 kB / 21.5 MB, free: 2.992 MB / 18.57 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.0009779/0.0009779, allocations: 170 kB / 24.91 MB, free: 9.188 MB / 18.57 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 0.9706/0.9706, allocations: 177.1 MB / 205.3 MB, free: 5.465 MB / 186.7 MB " [Timeout remaining time 179] 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.2666/0.2666, allocations: 34.27 MB / 296.1 MB, free: 0.7227 MB / 266.7 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.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 325.3 MB, free: 7.617 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.221e-05/1.344e-05, allocations: 3.516 kB / 325.3 MB, free: 7.613 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab): time 0.002103/0.002116, allocations: 1.69 MB / 327 MB, free: 5.91 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007866/0.002903, allocations: 0.5569 MB / 327.6 MB, free: 5.348 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.428e-05/0.002967, allocations: 3.938 kB / 327.6 MB, free: 5.344 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002081/0.003175, allocations: 23.8 kB / 327.6 MB, free: 5.32 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002367/0.003412, allocations: 79.55 kB / 327.7 MB, free: 5.242 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000244/0.003656, allocations: 111.7 kB / 327.8 MB, free: 5.133 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001351/0.003791, allocations: 80.33 kB / 327.8 MB, free: 5.055 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.858e-05/0.00389, allocations: 7.984 kB / 327.9 MB, free: 5.047 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.444e-05/0.003964, allocations: 35.91 kB / 327.9 MB, free: 5.012 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.666e-05/0.004041, allocations: 27.91 kB / 327.9 MB, free: 4.984 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.368e-05/0.004054, allocations: 4 kB / 327.9 MB, free: 4.98 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001946/0.004249, allocations: 103.8 kB / 328 MB, free: 4.879 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.599e-05/0.004295, allocations: 15.92 kB / 328 MB, free: 4.863 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.967e-05/0.004325, allocations: 15.92 kB / 328.1 MB, free: 4.848 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002116/0.004536, allocations: 135.5 kB / 328.2 MB, free: 4.715 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.004539, allocations: 0 / 328.2 MB, free: 4.715 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.004539, allocations: 0 / 328.2 MB, free: 4.715 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.977e-06/0.004543, allocations: 0 / 328.2 MB, free: 4.715 MB / 298.7 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.0004321/0.004975, allocations: 317.5 kB / 328.5 MB, free: 4.383 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.194e-05/0.005007, allocations: 12.03 kB / 328.5 MB, free: 4.371 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.018e-05/0.005037, allocations: 8.922 kB / 328.5 MB, free: 4.363 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001333/0.005171, allocations: 124.2 kB / 328.6 MB, free: 4.219 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.137e-06/0.00518, allocations: 8.375 kB / 328.6 MB, free: 4.211 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.718e-05/0.005197, allocations: 4.375 kB / 328.6 MB, free: 4.207 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001039/0.005301, allocations: 94.36 kB / 328.7 MB, free: 4.094 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.005311, allocations: 4.141 kB / 328.7 MB, free: 4.09 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.845e-06/0.005319, allocations: 4.125 kB / 328.7 MB, free: 4.086 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.616e-06/0.005323, allocations: 0 / 328.7 MB, free: 4.086 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.135e-05/0.005344, allocations: 15.92 kB / 328.8 MB, free: 4.07 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002276/0.005572, allocations: 171.1 kB / 328.9 MB, free: 3.887 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.575e-05/0.005617, allocations: 33.39 kB / 329 MB, free: 3.844 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.774e-05/0.005635, allocations: 16.84 kB / 329 MB, free: 3.824 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.487e-05/0.00565, allocations: 4.094 kB / 329 MB, free: 3.82 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.119e-05/0.005671, allocations: 38.48 kB / 329 MB, free: 3.773 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.213e-06/0.005672, allocations: 0 / 329 MB, free: 3.773 MB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002819/0.005954, allocations: 97.98 kB / 329.1 MB, free: 3.672 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.857e-05/0.005993, allocations: 81.05 kB / 329.2 MB, free: 3.574 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.923e-05/0.006092, allocations: 148.3 kB / 329.3 MB, free: 3.414 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.182e-05/0.006104, allocations: 29.7 kB / 329.4 MB, free: 3.379 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.152e-05/0.006135, allocations: 88.12 kB / 329.5 MB, free: 3.289 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.147e-05/0.006157, allocations: 27.77 kB / 329.5 MB, free: 3.262 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.898e-05/0.006186, allocations: 21.72 kB / 329.5 MB, free: 3.234 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.615e-05/0.006262, allocations: 322.8 kB / 329.8 MB, free: 2.91 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.398e-05/0.006276, allocations: 6.828 kB / 329.8 MB, free: 2.902 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.117e-05/0.006307, allocations: 51.39 kB / 329.9 MB, free: 2.84 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.666e-05/0.006344, allocations: 30.5 kB / 329.9 MB, free: 2.805 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.006345, allocations: 0 / 329.9 MB, free: 2.805 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001487/0.006493, allocations: 64.39 kB / 330 MB, free: 2.734 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.118e-05/0.006505, allocations: 4 kB / 330 MB, free: 2.73 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.006509, allocations: 4 kB / 330 MB, free: 2.727 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.00652, allocations: 0 / 330 MB, free: 2.727 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.3e-05/0.006583, allocations: 24.02 kB / 330 MB, free: 2.703 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.266e-06/0.006586, allocations: 0 / 330 MB, free: 2.703 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.819e-05/0.006605, allocations: 0 / 330 MB, free: 2.703 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.574e-06/0.006612, allocations: 7.984 kB / 330 MB, free: 2.695 MB / 298.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 5.462e-05/0.006667, allocations: 116.7 kB / 330.1 MB, free: 2.57 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.065e-05/0.006687, allocations: 11.94 kB / 330.1 MB, free: 2.559 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001071/0.006795, allocations: 70.69 kB / 330.2 MB, free: 2.484 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.006797, allocations: 0 / 330.2 MB, free: 2.484 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-06/0.006798, allocations: 0 / 330.2 MB, free: 2.484 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.688e-06/0.006803, allocations: 3.984 kB / 330.2 MB, free: 2.48 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002184/0.007021, allocations: 286.5 kB / 330.5 MB, free: 2.176 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.007022, allocations: 0 / 330.5 MB, free: 2.176 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.294e-05/0.007055, allocations: 12 kB / 330.5 MB, free: 2.164 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.007057, allocations: 0 / 330.5 MB, free: 2.164 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.538e-06/0.007061, allocations: 0 / 330.5 MB, free: 2.164 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.007062, allocations: 0 / 330.5 MB, free: 2.164 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.007064, allocations: 0 / 330.5 MB, free: 2.164 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.996e-05/0.007144, allocations: 163.4 kB / 330.7 MB, free: 1.988 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.206e-06/0.007152, allocations: 7.953 kB / 330.7 MB, free: 1.98 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.127e-05/0.007163, allocations: 3.984 kB / 330.7 MB, free: 1.977 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.19e-05/0.007195, allocations: 4 kB / 330.7 MB, free: 1.973 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.107e-05/0.007216, allocations: 11.94 kB / 330.7 MB, free: 1.961 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.849e-06/0.007221, allocations: 7.984 kB / 330.7 MB, free: 1.953 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.122e-05/0.007252, allocations: 31.11 kB / 330.7 MB, free: 1.922 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.007252, allocations: 0 / 330.7 MB, free: 1.922 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001609/0.007413, allocations: 43.86 kB / 330.8 MB, free: 1.879 MB / 298.7 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 (7): * Single equations (assignments): 7 * 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.001259/0.008672, allocations: 0.6377 MB / 331.4 MB, free: 1.555 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.464e-05/0.008767, allocations: 32.77 kB / 331.4 MB, free: 1.52 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.008771, allocations: 4 kB / 331.4 MB, free: 1.516 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.828e-05/0.008789, allocations: 16.86 kB / 331.5 MB, free: 1.496 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001601/0.008949, allocations: 30.67 kB / 331.5 MB, free: 1.469 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002606/0.00921, allocations: 178.9 kB / 331.7 MB, free: 1.266 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.447e-05/0.009244, allocations: 63.34 kB / 331.7 MB, free: 1.184 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.82e-05/0.009283, allocations: 16.97 kB / 331.7 MB, free: 1.164 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.375e-05/0.009346, allocations: 71.34 kB / 331.8 MB, free: 1.094 MB / 298.7 MB Notification: Performance of SimCode: time 4.31e-07/0.009347, allocations: 4 kB / 331.8 MB, free: 1.09 MB / 298.7 MB Notification: Performance of Templates: time 0.003769/0.01312, allocations: 2.207 MB / 334 MB, free: 14.9 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test25_usertab/Test25_usertab.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: 2.849743664264679]