Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89.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.001685/0.001685, allocations: 83.75 kB / 21.19 MB, free: 3.375 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.001927/0.001927, allocations: 161 kB / 24.56 MB, free: 8 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.005/1.005, allocations: 177.1 MB / 205 MB, free: 5.625 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.2626/0.2626, allocations: 34.26 MB / 295.7 MB, free: 0.6875 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.CombiTimeTable.Test89,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89") translateModel(ModelicaTest.Tables.CombiTimeTable.Test89,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 378.1 MB, free: 2.551 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.616e-05/1.785e-05, allocations: 5.406 kB / 378.1 MB, free: 2.547 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test89): time 0.002067/0.002085, allocations: 1.766 MB / 379.9 MB, free: 0.7656 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001693/0.003778, allocations: 1.73 MB / 381.6 MB, free: 15.03 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001013/0.00388, allocations: 0 / 381.6 MB, free: 15.03 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002916/0.004171, allocations: 35.77 kB / 381.7 MB, free: 14.99 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003387/0.00451, allocations: 111.3 kB / 381.8 MB, free: 14.88 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001375/0.004647, allocations: 83.66 kB / 381.9 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001429/0.00479, allocations: 111.6 kB / 382 MB, free: 14.69 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.188e-05/0.004872, allocations: 7.984 kB / 382 MB, free: 14.68 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.674e-05/0.004949, allocations: 51.84 kB / 382 MB, free: 14.63 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.785e-05/0.005047, allocations: 35.89 kB / 382.1 MB, free: 14.6 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.608e-05/0.005063, allocations: 4 kB / 382.1 MB, free: 14.59 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001332/0.005196, allocations: 111.7 kB / 382.2 MB, free: 14.48 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.287e-05/0.005249, allocations: 19.88 kB / 382.2 MB, free: 14.46 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.95e-05/0.005288, allocations: 27.91 kB / 382.2 MB, free: 14.44 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000213/0.005501, allocations: 151.5 kB / 382.4 MB, free: 14.29 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.005503, allocations: 4 kB / 382.4 MB, free: 14.29 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.005504, allocations: 0 / 382.4 MB, free: 14.29 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.005509, allocations: 0 / 382.4 MB, free: 14.29 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004446/0.005954, allocations: 459.7 kB / 382.8 MB, free: 13.8 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.005995, allocations: 8.031 kB / 382.8 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.44e-05/0.006049, allocations: 12.89 kB / 382.8 MB, free: 13.78 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001793/0.006228, allocations: 149 kB / 383 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.681e-05/0.006245, allocations: 384 / 383 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.706e-05/0.006272, allocations: 4.375 kB / 383 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001577/0.00643, allocations: 107.4 kB / 383.1 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.006439, allocations: 11.89 kB / 383.1 MB, free: 13.46 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.006451, allocations: 7.984 kB / 383.1 MB, free: 13.46 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.00646, allocations: 4 kB / 383.1 MB, free: 13.45 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.175e-05/0.006492, allocations: 4 kB / 383.1 MB, free: 13.45 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000303/0.006795, allocations: 291.7 kB / 383.4 MB, free: 13.13 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001102/0.006905, allocations: 59.09 kB / 383.5 MB, free: 13.06 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.846e-05/0.006933, allocations: 15.69 kB / 383.5 MB, free: 13.04 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.414e-05/0.006948, allocations: 0 / 383.5 MB, free: 13.04 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.506e-05/0.007043, allocations: 69.05 kB / 383.5 MB, free: 12.96 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 9.42e-07/0.007044, allocations: 4 kB / 383.5 MB, free: 12.95 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003853/0.007429, allocations: 153.4 kB / 383.7 MB, free: 12.8 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.808e-05/0.007467, allocations: 81.09 kB / 383.8 MB, free: 12.7 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001286/0.007596, allocations: 216.8 kB / 384 MB, free: 12.47 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.321e-05/0.007609, allocations: 29.7 kB / 384 MB, free: 12.44 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.94e-05/0.007658, allocations: 142.9 kB / 384.2 MB, free: 12.29 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.703e-05/0.007685, allocations: 23.78 kB / 384.2 MB, free: 12.27 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.103e-05/0.007716, allocations: 27.38 kB / 384.2 MB, free: 12.23 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.00784, allocations: 0.5 MB / 384.7 MB, free: 11.72 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.481e-05/0.007865, allocations: 11.98 kB / 384.7 MB, free: 11.71 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.72e-05/0.007912, allocations: 76.69 kB / 384.8 MB, free: 11.62 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.76e-05/0.00797, allocations: 47.45 kB / 384.8 MB, free: 11.56 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.007971, allocations: 3.938 kB / 384.8 MB, free: 11.56 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001091/0.00808, allocations: 105.5 kB / 384.9 MB, free: 11.45 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.052e-05/0.00809, allocations: 8 kB / 385 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.008095, allocations: 0 / 385 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.91e-05/0.008114, allocations: 0 / 385 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.916e-05/0.008183, allocations: 12 kB / 385 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.008187, allocations: 4 kB / 385 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.02e-05/0.008218, allocations: 8.047 kB / 385 MB, free: 11.42 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.008224, allocations: 4 kB / 385 MB, free: 11.41 MB / 362.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 (10): * Single equations (assignments): 10 * 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 7.342e-05/0.008297, allocations: 168.5 kB / 385.1 MB, free: 11.24 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.665e-05/0.008314, allocations: 11.95 kB / 385.2 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000146/0.00846, allocations: 102.4 kB / 385.3 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.008462, allocations: 4 kB / 385.3 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.008466, allocations: 0 / 385.3 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.008469, allocations: 0 / 385.3 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002829/0.008752, allocations: 388.9 kB / 385.6 MB, free: 10.69 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.008754, allocations: 4.031 kB / 385.6 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.876e-05/0.008783, allocations: 15.98 kB / 385.7 MB, free: 10.67 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.008785, allocations: 0 / 385.7 MB, free: 10.67 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-06/0.008793, allocations: 4 kB / 385.7 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.008794, allocations: 0 / 385.7 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.008795, allocations: 4 kB / 385.7 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001378/0.008933, allocations: 255.4 kB / 385.9 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.16e-05/0.008945, allocations: 8.312 kB / 385.9 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.643e-05/0.008961, allocations: 4 kB / 385.9 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.752e-05/0.009009, allocations: 12 kB / 385.9 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.425e-05/0.009043, allocations: 11.92 kB / 386 MB, free: 10.35 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.624e-05/0.009059, allocations: 4 kB / 386 MB, free: 10.35 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.152e-05/0.009131, allocations: 161.6 kB / 386.1 MB, free: 10.19 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009131, allocations: 4 kB / 386.1 MB, free: 10.19 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001986/0.009329, allocations: 43.86 kB / 386.2 MB, free: 10.14 MB / 362.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: 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 (9): * Single equations (assignments): 7 * 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.001237/0.01057, allocations: 0.5484 MB / 386.7 MB, free: 9.797 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001288/0.0107, allocations: 47.67 kB / 386.8 MB, free: 9.746 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.0107, allocations: 0 / 386.8 MB, free: 9.746 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.985e-05/0.01074, allocations: 31.61 kB / 386.8 MB, free: 9.711 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000233/0.01097, allocations: 47.03 kB / 386.8 MB, free: 9.668 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003261/0.0113, allocations: 197.9 kB / 387 MB, free: 9.441 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.191e-05/0.01134, allocations: 67.34 kB / 387.1 MB, free: 9.355 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.145e-05/0.01138, allocations: 21.2 kB / 387.1 MB, free: 9.332 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.943e-05/0.01142, allocations: 28.48 kB / 387.1 MB, free: 9.305 MB / 362.7 MB Notification: Performance of SimCode: time 5.51e-07/0.01142, allocations: 0 / 387.1 MB, free: 9.305 MB / 362.7 MB Notification: Performance of Templates: time 0.004886/0.0163, allocations: 2.528 MB / 389.7 MB, free: 6.805 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test89/Test89.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.424851762596518]