Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.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.001001/0.001001, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001987/0.002988, 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.0009388/0.0009388, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00131/0.002249, 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.098/1.098, allocations: 177.2 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1058/1.204, allocations: 53.65 MB / 243.3 MB, free: 15.57 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.3272/0.3272, allocations: 32.8 MB / 276.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02772/0.3549, allocations: 12.53 MB / 289.3 MB, free: 8.66 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.CombiTimeTable.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35") translateModel(ModelicaTest.Tables.CombiTimeTable.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.913e-06/1.913e-06, allocations: 0 / 290.7 MB, free: 7.559 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.7e-05/2.891e-05, allocations: 3.297 kB / 290.7 MB, free: 7.555 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.003699/0.003728, allocations: 1.818 MB / 292.5 MB, free: 6.082 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001512/0.005241, allocations: 1.03 MB / 293.6 MB, free: 5.309 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000102/0.005343, allocations: 4 kB / 293.6 MB, free: 5.305 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002909/0.005634, allocations: 90.41 kB / 293.6 MB, free: 5.23 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003046/0.005938, allocations: 119.4 kB / 293.8 MB, free: 5.113 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002294/0.006167, allocations: 91.53 kB / 293.9 MB, free: 5.023 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000382/0.00655, allocations: 119.7 kB / 294 MB, free: 4.906 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.006659, allocations: 15.97 kB / 294 MB, free: 4.891 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001546/0.006813, allocations: 95.73 kB / 294.1 MB, free: 4.797 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001203/0.006933, allocations: 55.88 kB / 294.1 MB, free: 4.742 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.713e-05/0.006951, allocations: 4 kB / 294.1 MB, free: 4.738 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001798/0.00713, allocations: 67.91 kB / 294.2 MB, free: 4.672 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.62e-05/0.007177, allocations: 19.88 kB / 294.2 MB, free: 4.652 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.124e-05/0.007218, allocations: 15.94 kB / 294.2 MB, free: 4.637 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001887/0.007406, allocations: 127.5 kB / 294.4 MB, free: 4.512 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.801e-05/0.007424, allocations: 0 / 294.4 MB, free: 4.512 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.007426, allocations: 0 / 294.4 MB, free: 4.512 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.592e-05/0.007442, allocations: 0 / 294.4 MB, free: 4.512 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004779/0.00792, allocations: 356.3 kB / 294.7 MB, free: 4.141 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.007954, allocations: 12.03 kB / 294.7 MB, free: 4.129 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.465e-05/0.007989, allocations: 8.938 kB / 294.7 MB, free: 4.121 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001647/0.008154, allocations: 154.4 kB / 294.9 MB, free: 3.941 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.628e-05/0.00817, allocations: 8.375 kB / 294.9 MB, free: 3.934 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.27e-05/0.008193, allocations: 4.375 kB / 294.9 MB, free: 3.93 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001183/0.008311, allocations: 69.7 kB / 295 MB, free: 3.852 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.008322, allocations: 3.938 kB / 295 MB, free: 3.848 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.885e-06/0.00833, allocations: 3.938 kB / 295 MB, free: 3.844 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.371e-06/0.008335, allocations: 0 / 295 MB, free: 3.844 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.066e-05/0.008366, allocations: 11.98 kB / 295 MB, free: 3.832 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002347/0.008601, allocations: 177.9 kB / 295.2 MB, free: 3.641 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001564/0.008757, allocations: 93.3 kB / 295.2 MB, free: 3.539 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.09e-05/0.008778, allocations: 16.84 kB / 295.3 MB, free: 3.52 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.337e-05/0.008791, allocations: 4 kB / 295.3 MB, free: 3.516 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001036/0.008895, allocations: 66.28 kB / 295.3 MB, free: 3.438 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.008896, allocations: 0 / 295.3 MB, free: 3.438 MB / 282.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005677/0.009464, allocations: 170.8 kB / 295.5 MB, free: 3.266 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.247e-05/0.009506, allocations: 55.41 kB / 295.6 MB, free: 3.199 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001191/0.009625, allocations: 197.6 kB / 295.7 MB, free: 2.992 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.429e-05/0.00964, allocations: 29.64 kB / 295.8 MB, free: 2.957 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.508e-05/0.009675, allocations: 104.1 kB / 295.9 MB, free: 2.852 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001874/0.009862, allocations: 35.69 kB / 295.9 MB, free: 2.816 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.283e-05/0.009895, allocations: 25.7 kB / 295.9 MB, free: 2.785 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.422e-05/0.009969, allocations: 330.8 kB / 296.3 MB, free: 2.453 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.709e-05/0.009986, allocations: 10.83 kB / 296.3 MB, free: 2.441 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.864e-05/0.01001, allocations: 27.2 kB / 296.3 MB, free: 2.41 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.283e-05/0.01007, allocations: 65.25 kB / 296.4 MB, free: 2.34 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/0.01007, allocations: 0 / 296.4 MB, free: 2.34 MB / 282.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 9.689e-05/0.01017, allocations: 82.19 kB / 296.4 MB, free: 2.254 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.13e-05/0.01018, allocations: 8.031 kB / 296.4 MB, free: 2.246 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.01018, allocations: 0 / 296.4 MB, free: 2.246 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.388e-06/0.01019, allocations: 4 kB / 296.5 MB, free: 2.242 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.193e-05/0.01025, allocations: 27.92 kB / 296.5 MB, free: 2.215 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.316e-06/0.01026, allocations: 0 / 296.5 MB, free: 2.215 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.659e-05/0.01028, allocations: 4 kB / 296.5 MB, free: 2.211 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.041e-06/0.01029, allocations: 4 kB / 296.5 MB, free: 2.207 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.294e-05/0.01035, allocations: 124.6 kB / 296.6 MB, free: 2.074 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.203e-05/0.01036, allocations: 11.98 kB / 296.6 MB, free: 2.062 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001139/0.01048, allocations: 94.94 kB / 296.7 MB, free: 1.965 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.01048, allocations: 8 kB / 296.7 MB, free: 1.957 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.01048, allocations: 0 / 296.7 MB, free: 1.957 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.01049, allocations: 0 / 296.7 MB, free: 1.957 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002394/0.01073, allocations: 332.2 kB / 297 MB, free: 1.602 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.01073, allocations: 0 / 297 MB, free: 1.602 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.282e-05/0.01076, allocations: 19.94 kB / 297.1 MB, free: 1.582 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.367e-05/0.01077, allocations: 15.89 kB / 297.1 MB, free: 1.566 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.01078, allocations: 4 kB / 297.1 MB, free: 1.562 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.891e-06/0.01078, allocations: 0 / 297.1 MB, free: 1.562 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.01079, allocations: 4.062 kB / 297.1 MB, free: 1.559 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.01079, allocations: 7.984 kB / 297.1 MB, free: 1.551 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001124/0.0109, allocations: 231.9 kB / 297.3 MB, free: 1.301 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.809e-05/0.01092, allocations: 11.94 kB / 297.3 MB, free: 1.289 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.646e-05/0.01095, allocations: 0 / 297.3 MB, free: 1.289 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.542e-05/0.01098, allocations: 7.984 kB / 297.3 MB, free: 1.281 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.334e-05/0.01099, allocations: 7.938 kB / 297.4 MB, free: 1.273 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.557e-05/0.01105, allocations: 69.34 kB / 297.4 MB, free: 1.203 MB / 282.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01105, allocations: 0 / 297.4 MB, free: 1.203 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001501/0.0112, allocations: 31.94 kB / 297.4 MB, free: 1.172 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001646/0.01284, allocations: 0.7233 MB / 298.2 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001219/0.01297, allocations: 48.78 kB / 298.2 MB, free: 0.8008 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 9.658e-06/0.01298, allocations: 4 kB / 298.2 MB, free: 0.7969 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.895e-05/0.01304, allocations: 32.77 kB / 298.3 MB, free: 0.7617 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001953/0.01323, allocations: 39.97 kB / 298.3 MB, free: 0.7227 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005302/0.01376, allocations: 268.8 kB / 298.6 MB, free: 436 kB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.995e-05/0.01381, allocations: 76.27 kB / 298.6 MB, free: 340 kB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.93e-05/0.01385, allocations: 16.62 kB / 298.6 MB, free: 324 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.002e-05/0.01392, allocations: 75.36 kB / 298.7 MB, free: 248 kB / 282.7 MB Notification: Performance of SimCode: time 5.31e-07/0.01392, allocations: 0 / 298.7 MB, free: 248 kB / 282.7 MB Notification: Performance of Templates: time 0.003978/0.0179, allocations: 2.322 MB / 301 MB, free: 13.96 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.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.325110485777259]