Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.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.001216/0.001216, allocations: 83.58 kB / 21.18 MB, free: 3.383 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.002172/0.002172, allocations: 161 kB / 24.56 MB, free: 16 kB / 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 1.038/1.038, allocations: 177.1 MB / 205 MB, free: 5.637 MB / 186.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.2713/0.2713, allocations: 32.81 MB / 294.3 MB, free: 1.277 MB / 266.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.Test77,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|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77") translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,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|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.325e-06/2.325e-06, allocations: 0 / 376.1 MB, free: 4.57 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.145e-05/3.377e-05, allocations: 2.312 kB / 376.1 MB, free: 4.566 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.002732/0.002766, allocations: 1.952 MB / 378.1 MB, free: 2.602 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00162/0.004386, allocations: 1.107 MB / 379.2 MB, free: 1.488 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000132/0.004518, allocations: 0 / 379.2 MB, free: 1.488 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004993/0.005017, allocations: 167.3 kB / 379.3 MB, free: 1.324 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004335/0.005451, allocations: 183.2 kB / 379.5 MB, free: 1.145 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002654/0.005716, allocations: 123.5 kB / 379.6 MB, free: 1.023 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002836/0.006, allocations: 251.2 kB / 379.9 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001208/0.006121, allocations: 17.95 kB / 379.9 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001615/0.006282, allocations: 143.5 kB / 380 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001497/0.006432, allocations: 127.7 kB / 380.2 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.516e-05/0.006457, allocations: 8 kB / 380.2 MB, free: 500 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001173/0.006574, allocations: 67.91 kB / 380.2 MB, free: 432 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.629e-05/0.006651, allocations: 55.77 kB / 380.3 MB, free: 376 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.023e-05/0.006711, allocations: 43.8 kB / 380.3 MB, free: 332 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002537/0.006965, allocations: 179.3 kB / 380.5 MB, free: 152 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.006968, allocations: 0 / 380.5 MB, free: 152 kB / 346.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.006969, allocations: 4 kB / 380.5 MB, free: 148 kB / 346.7 MB Notification: Performance of Transformations before backend: time 5.491e-06/0.006975, allocations: 0 / 380.5 MB, free: 148 kB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006563/0.007631, allocations: 0.5668 MB / 381.1 MB, free: 15.54 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.007673, allocations: 8.031 kB / 381.1 MB, free: 15.54 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.262e-05/0.007746, allocations: 36.75 kB / 381.1 MB, free: 15.5 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003741/0.00812, allocations: 216.6 kB / 381.3 MB, free: 15.25 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.075e-05/0.008151, allocations: 8.375 kB / 381.3 MB, free: 15.25 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.327e-05/0.008194, allocations: 12.3 kB / 381.4 MB, free: 15.23 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002353/0.008429, allocations: 116.7 kB / 381.5 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.67e-05/0.008446, allocations: 3.953 kB / 381.5 MB, free: 15.1 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.481e-05/0.008461, allocations: 7.984 kB / 381.5 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.006e-05/0.008471, allocations: 3.938 kB / 381.5 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.5e-05/0.008536, allocations: 31.97 kB / 381.5 MB, free: 15.06 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004789/0.009015, allocations: 0.4906 MB / 382 MB, free: 14.53 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002474/0.009262, allocations: 118.2 kB / 382.1 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.064e-05/0.009313, allocations: 39.47 kB / 382.2 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.502e-05/0.009328, allocations: 7.938 kB / 382.2 MB, free: 14.33 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001369/0.009465, allocations: 108.4 kB / 382.3 MB, free: 14.2 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.483e-06/0.009466, allocations: 0 / 382.3 MB, free: 14.2 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.0007811/0.01025, allocations: 473.3 kB / 382.7 MB, free: 13.73 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.935e-05/0.01029, allocations: 81.11 kB / 382.8 MB, free: 13.64 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000232/0.01052, allocations: 354.3 kB / 383.2 MB, free: 13.28 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.192e-05/0.01054, allocations: 33.7 kB / 383.2 MB, free: 13.24 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.796e-05/0.01063, allocations: 199.3 kB / 383.4 MB, free: 13.04 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.849e-05/0.01069, allocations: 75.42 kB / 383.5 MB, free: 12.96 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.39e-05/0.01074, allocations: 51.36 kB / 383.5 MB, free: 12.9 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.01088, allocations: 0.5157 MB / 384 MB, free: 12.38 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.64e-05/0.01094, allocations: 35.97 kB / 384.1 MB, free: 12.34 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.015e-05/0.01102, allocations: 74.72 kB / 384.1 MB, free: 12.25 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001463/0.01117, allocations: 134.8 kB / 384.3 MB, free: 12.1 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.01117, allocations: 0 / 384.3 MB, free: 12.1 MB / 362.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002234/0.01139, allocations: 205.2 kB / 384.5 MB, free: 11.89 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.0114, allocations: 4 kB / 384.5 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.087e-06/0.01141, allocations: 0 / 384.5 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.01143, allocations: 4 kB / 384.5 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.489e-05/0.01152, allocations: 43.91 kB / 384.5 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.01153, allocations: 4 kB / 384.5 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.627e-05/0.01157, allocations: 16 kB / 384.5 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.226e-05/0.01158, allocations: 8 kB / 384.5 MB, free: 11.82 MB / 362.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 (26): * Single equations (assignments): 26 * 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 9.963e-05/0.01168, allocations: 176.5 kB / 384.7 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.725e-05/0.01172, allocations: 43.75 kB / 384.8 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002766/0.012, allocations: 219.9 kB / 385 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.012, allocations: 0 / 385 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.012, allocations: 0 / 385 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.01201, allocations: 4 kB / 385 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000724/0.01273, allocations: 0.7488 MB / 385.7 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.01274, allocations: 0 / 385.7 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.388e-05/0.0128, allocations: 35.92 kB / 385.8 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.0128, allocations: 0 / 385.8 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.239e-05/0.01281, allocations: 8 kB / 385.8 MB, free: 10.51 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.01282, allocations: 4 kB / 385.8 MB, free: 10.51 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.01282, allocations: 7.984 kB / 385.8 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003239/0.01315, allocations: 0.5043 MB / 386.3 MB, free: 9.961 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.606e-05/0.01317, allocations: 27.94 kB / 386.3 MB, free: 9.934 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.758e-05/0.0132, allocations: 12 kB / 386.3 MB, free: 9.922 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.889e-05/0.01328, allocations: 11.98 kB / 386.3 MB, free: 9.91 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.283e-05/0.01332, allocations: 19.91 kB / 386.4 MB, free: 9.891 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.224e-05/0.01334, allocations: 12 kB / 386.4 MB, free: 9.879 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001544/0.0135, allocations: 251 kB / 386.6 MB, free: 9.633 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.0135, allocations: 0 / 386.6 MB, free: 9.633 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002451/0.01374, allocations: 47.94 kB / 386.7 MB, free: 9.586 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (24): * Single equations (assignments): 20 * 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.001039/0.01478, allocations: 0.4933 MB / 387.2 MB, free: 9.281 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002128/0.01499, allocations: 132 kB / 387.3 MB, free: 9.148 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.015, allocations: 0 / 387.3 MB, free: 9.148 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.385e-05/0.01509, allocations: 75.53 kB / 387.4 MB, free: 9.07 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003496/0.01544, allocations: 65.36 kB / 387.4 MB, free: 9.008 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005663/0.01601, allocations: 473.5 kB / 387.9 MB, free: 8.496 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.495e-05/0.01607, allocations: 92.3 kB / 388 MB, free: 8.387 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.212e-05/0.01614, allocations: 41.92 kB / 388 MB, free: 8.348 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.257e-05/0.0162, allocations: 32.48 kB / 388 MB, free: 8.316 MB / 362.7 MB Notification: Performance of SimCode: time 4.71e-07/0.0162, allocations: 0 / 388 MB, free: 8.316 MB / 362.7 MB Notification: Performance of Templates: time 0.005248/0.02144, allocations: 3.329 MB / 391.4 MB, free: 5.035 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.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.351747954264283]