Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.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.001222/0.001222, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001764/0.002986, allocations: 447.8 kB / 10.35 MB, free: 348 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.001158/0.001158, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001477/0.002634, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9298/0.9298, allocations: 158.6 MB / 171 MB, free: 2.184 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1858/1.116, allocations: 49.5 MB / 220.5 MB, free: 5.266 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1347/0.1347, allocations: 32.34 MB / 253.6 MB, free: 4.168 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02377/0.1585, allocations: 12.3 MB / 265.9 MB, free: 7.836 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74") translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 267.3 MB, free: 6.453 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.408e-05/2.579e-05, allocations: 6.25 kB / 267.3 MB, free: 6.445 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.002673/0.002699, allocations: 1.898 MB / 269.2 MB, free: 4.527 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001231/0.003929, allocations: 0.9165 MB / 270.1 MB, free: 3.602 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.167e-05/0.004021, allocations: 0 / 270.1 MB, free: 3.602 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004588/0.00448, allocations: 295.2 kB / 270.4 MB, free: 3.312 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003328/0.004813, allocations: 211.2 kB / 270.6 MB, free: 3.105 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003055/0.005118, allocations: 143.5 kB / 270.8 MB, free: 2.965 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002945/0.005413, allocations: 243.3 kB / 271 MB, free: 2.727 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00013/0.005543, allocations: 14.47 kB / 271 MB, free: 2.715 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002389/0.005782, allocations: 196.2 kB / 271.2 MB, free: 2.523 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001717/0.005953, allocations: 143.7 kB / 271.3 MB, free: 2.383 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.777e-05/0.005981, allocations: 8 kB / 271.3 MB, free: 2.375 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.957e-05/0.006081, allocations: 43.92 kB / 271.4 MB, free: 2.332 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.143e-05/0.006152, allocations: 59.8 kB / 271.4 MB, free: 2.273 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.711e-05/0.006209, allocations: 43.73 kB / 271.5 MB, free: 2.23 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002175/0.006427, allocations: 171.3 kB / 271.7 MB, free: 2.062 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.987e-05/0.006447, allocations: 0 / 271.7 MB, free: 2.062 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.006448, allocations: 0 / 271.7 MB, free: 2.062 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.239e-05/0.006471, allocations: 0 / 271.7 MB, free: 2.062 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006935/0.007164, allocations: 0.4947 MB / 272.1 MB, free: 1.543 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.007207, allocations: 11.89 kB / 272.2 MB, free: 1.531 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.603e-05/0.007263, allocations: 24.91 kB / 272.2 MB, free: 1.508 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002677/0.007531, allocations: 217.7 kB / 272.4 MB, free: 1.27 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.092e-05/0.007552, allocations: 4.375 kB / 272.4 MB, free: 1.266 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.416e-05/0.007576, allocations: 4.375 kB / 272.4 MB, free: 1.262 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001889/0.007765, allocations: 111.4 kB / 272.5 MB, free: 1.137 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.007776, allocations: 3.938 kB / 272.5 MB, free: 1.133 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.757e-06/0.007785, allocations: 0 / 272.5 MB, free: 1.133 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.007791, allocations: 0 / 272.5 MB, free: 1.133 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.262e-05/0.007834, allocations: 21.64 kB / 272.5 MB, free: 1.109 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002926/0.008126, allocations: 288.9 kB / 272.8 MB, free: 0.8047 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001558/0.008282, allocations: 174.6 kB / 273 MB, free: 0.6133 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.088e-05/0.008313, allocations: 25.7 kB / 273 MB, free: 0.582 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.46e-05/0.008327, allocations: 4 kB / 273 MB, free: 0.5781 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001603/0.008488, allocations: 115.7 kB / 273.1 MB, free: 456 kB / 266.7 MB Notification: Performance of pre-optimization done (n=12): time 1.312e-06/0.008489, allocations: 4 kB / 273.1 MB, free: 452 kB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004594/0.008948, allocations: 207 kB / 273.3 MB, free: 236 kB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.986e-05/0.008998, allocations: 81.09 kB / 273.4 MB, free: 136 kB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002485/0.009247, allocations: 345.1 kB / 273.8 MB, free: 15.78 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.154e-05/0.009268, allocations: 33.7 kB / 273.8 MB, free: 15.74 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.189e-05/0.00932, allocations: 117.3 kB / 273.9 MB, free: 15.62 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.851e-05/0.009369, allocations: 59.52 kB / 274 MB, free: 15.57 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.057e-05/0.009419, allocations: 37.69 kB / 274 MB, free: 15.52 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.648e-05/0.009516, allocations: 342.8 kB / 274.3 MB, free: 15.18 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.009e-05/0.009546, allocations: 18.81 kB / 274.4 MB, free: 15.16 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.28e-05/0.009589, allocations: 55.36 kB / 274.4 MB, free: 15.09 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.444e-05/0.009673, allocations: 84.91 kB / 274.5 MB, free: 15 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.009675, allocations: 4 kB / 274.5 MB, free: 14.99 MB / 282.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001263/0.009801, allocations: 119.2 kB / 274.6 MB, free: 14.87 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.009817, allocations: 4 kB / 274.6 MB, free: 14.86 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.009823, allocations: 4 kB / 274.6 MB, free: 14.86 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.009834, allocations: 0 / 274.6 MB, free: 14.86 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.85e-05/0.009932, allocations: 31.98 kB / 274.6 MB, free: 14.83 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.009937, allocations: 7.938 kB / 274.7 MB, free: 14.82 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.39e-05/0.009981, allocations: 11.98 kB / 274.7 MB, free: 14.81 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.009989, allocations: 4 kB / 274.7 MB, free: 14.8 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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 8.337e-05/0.01007, allocations: 128.7 kB / 274.8 MB, free: 14.67 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.367e-05/0.0101, allocations: 23.97 kB / 274.8 MB, free: 14.64 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000168/0.01026, allocations: 136.6 kB / 275 MB, free: 14.51 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.01027, allocations: 0 / 275 MB, free: 14.51 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.01027, allocations: 0 / 275 MB, free: 14.51 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.01027, allocations: 4 kB / 275 MB, free: 14.5 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004003/0.01067, allocations: 0.4953 MB / 275.5 MB, free: 13.98 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.01068, allocations: 4 kB / 275.5 MB, free: 13.97 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.747e-05/0.01073, allocations: 24.73 kB / 275.5 MB, free: 13.95 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.437e-05/0.01076, allocations: 27.88 kB / 275.5 MB, free: 13.92 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.01076, allocations: 0 / 275.5 MB, free: 13.92 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.385e-05/0.01078, allocations: 11.98 kB / 275.5 MB, free: 13.91 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.01078, allocations: 0 / 275.5 MB, free: 13.91 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.01078, allocations: 4 kB / 275.5 MB, free: 13.91 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002051/0.01099, allocations: 379 kB / 275.9 MB, free: 13.51 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.756e-05/0.01101, allocations: 11.98 kB / 275.9 MB, free: 13.5 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.337e-05/0.01109, allocations: 8 kB / 275.9 MB, free: 13.49 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.061e-05/0.01113, allocations: 15.91 kB / 275.9 MB, free: 13.48 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.772e-05/0.01115, allocations: 8 kB / 275.9 MB, free: 13.47 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001098/0.01126, allocations: 155.6 kB / 276.1 MB, free: 13.32 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01126, allocations: 0 / 276.1 MB, free: 13.32 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001887/0.01144, allocations: 47.88 kB / 276.1 MB, free: 13.27 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001336/0.01278, allocations: 0.6441 MB / 276.8 MB, free: 12.61 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001263/0.01291, allocations: 72.91 kB / 276.8 MB, free: 12.54 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.074e-05/0.01292, allocations: 8 kB / 276.9 MB, free: 12.53 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.774e-05/0.01297, allocations: 52.84 kB / 276.9 MB, free: 12.48 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002945/0.01326, allocations: 77.39 kB / 277 MB, free: 12.4 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006876/0.01395, allocations: 456.7 kB / 277.4 MB, free: 11.92 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.406e-05/0.01401, allocations: 95.95 kB / 277.5 MB, free: 11.8 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.752e-05/0.01407, allocations: 29.94 kB / 277.6 MB, free: 11.77 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.876e-05/0.01416, allocations: 87.34 kB / 277.6 MB, free: 11.69 MB / 282.7 MB Notification: Performance of SimCode: time 1.333e-06/0.01416, allocations: 0 / 277.6 MB, free: 11.69 MB / 282.7 MB Notification: Performance of Templates: time 0.005304/0.01946, allocations: 3.248 MB / 280.9 MB, free: 8.438 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.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.9426109921187162]