Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.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.001117/0.001117, allocations: 88.2 kB / 20.94 MB, free: 3.609 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.001152/0.001152, allocations: 169 kB / 24.24 MB, free: 316 kB / 18.57 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 1.233/1.233, allocations: 158.6 MB / 186 MB, free: 2.488 MB / 170.7 MB " [Timeout remaining time 178] 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.1929/0.1929, allocations: 32.36 MB / 270.7 MB, free: 14.76 MB / 266.7 MB " [Timeout remaining time 179] 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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5022,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6") translateModel(ModelicaTest.Tables.CombiTimeTable.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5022,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 347.7 MB, free: 9.703 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.362e-05/2.527e-05, allocations: 2.312 kB / 347.7 MB, free: 9.699 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.002133/0.002158, allocations: 1.738 MB / 349.5 MB, free: 7.949 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008606/0.003019, allocations: 0.7843 MB / 350.3 MB, free: 7.156 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.196e-05/0.003101, allocations: 3.938 kB / 350.3 MB, free: 7.152 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000308/0.003409, allocations: 63.69 kB / 350.3 MB, free: 7.09 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002046/0.003613, allocations: 55.75 kB / 350.4 MB, free: 7.035 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001922/0.003805, allocations: 87.69 kB / 350.5 MB, free: 6.949 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001416/0.003947, allocations: 95.64 kB / 350.6 MB, free: 6.855 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.809e-05/0.004045, allocations: 8.219 kB / 350.6 MB, free: 6.848 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.38e-05/0.004119, allocations: 55.83 kB / 350.6 MB, free: 6.793 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.885e-05/0.004188, allocations: 27.92 kB / 350.7 MB, free: 6.766 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.869e-05/0.004206, allocations: 4 kB / 350.7 MB, free: 6.762 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.713e-05/0.004284, allocations: 43.91 kB / 350.7 MB, free: 6.719 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.297e-05/0.004336, allocations: 31.86 kB / 350.7 MB, free: 6.688 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.049e-05/0.004377, allocations: 19.92 kB / 350.8 MB, free: 6.668 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001885/0.004566, allocations: 119.5 kB / 350.9 MB, free: 6.551 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.004568, allocations: 0 / 350.9 MB, free: 6.551 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.004569, allocations: 0 / 350.9 MB, free: 6.551 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.004575, allocations: 0 / 350.9 MB, free: 6.551 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003958/0.004971, allocations: 467.7 kB / 351.3 MB, free: 6.059 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.005008, allocations: 16.02 kB / 351.3 MB, free: 6.043 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.849e-05/0.005056, allocations: 24.84 kB / 351.4 MB, free: 6.02 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001528/0.005209, allocations: 169.1 kB / 351.5 MB, free: 5.824 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.827e-05/0.005227, allocations: 4.375 kB / 351.5 MB, free: 5.82 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.845e-05/0.005246, allocations: 384 / 351.5 MB, free: 5.82 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001173/0.005363, allocations: 62.94 kB / 351.6 MB, free: 5.75 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.005374, allocations: 3.938 kB / 351.6 MB, free: 5.746 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.296e-06/0.005382, allocations: 0 / 351.6 MB, free: 5.746 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.714e-06/0.00539, allocations: 0 / 351.6 MB, free: 5.746 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.094e-05/0.005431, allocations: 15.98 kB / 351.6 MB, free: 5.73 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002974/0.005728, allocations: 295.8 kB / 351.9 MB, free: 5.406 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001043/0.005833, allocations: 63.11 kB / 352 MB, free: 5.332 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.857e-05/0.005861, allocations: 19.61 kB / 352 MB, free: 5.309 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.49e-05/0.005876, allocations: 4 kB / 352 MB, free: 5.305 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001047/0.005981, allocations: 68.98 kB / 352.1 MB, free: 5.223 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.353e-06/0.005982, allocations: 0 / 352.1 MB, free: 5.223 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004254/0.006408, allocations: 157.3 kB / 352.2 MB, free: 5.062 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.244e-05/0.00644, allocations: 55.41 kB / 352.3 MB, free: 4.996 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001492/0.006589, allocations: 274.8 kB / 352.5 MB, free: 4.711 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.238e-05/0.006602, allocations: 29.7 kB / 352.6 MB, free: 4.676 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.855e-05/0.00665, allocations: 170.8 kB / 352.7 MB, free: 4.504 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.416e-05/0.006674, allocations: 27.73 kB / 352.8 MB, free: 4.477 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.893e-05/0.006703, allocations: 27.38 kB / 352.8 MB, free: 4.441 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.246e-05/0.006756, allocations: 0.5079 MB / 353.3 MB, free: 3.922 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.481e-05/0.00678, allocations: 8.375 kB / 353.3 MB, free: 3.914 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.155e-05/0.006812, allocations: 35.36 kB / 353.3 MB, free: 3.871 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.135e-05/0.006863, allocations: 51.3 kB / 353.4 MB, free: 3.812 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.006865, allocations: 4 kB / 353.4 MB, free: 3.809 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001044/0.006969, allocations: 101.5 kB / 353.5 MB, free: 3.703 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.006983, allocations: 8 kB / 353.5 MB, free: 3.695 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.88e-06/0.006988, allocations: 0 / 353.5 MB, free: 3.695 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.007003, allocations: 0 / 353.5 MB, free: 3.695 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.566e-05/0.007079, allocations: 19.92 kB / 353.5 MB, free: 3.676 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.007085, allocations: 0 / 353.5 MB, free: 3.676 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.08e-05/0.007116, allocations: 4 kB / 353.5 MB, free: 3.672 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.181e-06/0.007122, allocations: 4 kB / 353.5 MB, free: 3.668 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 (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 6.073e-05/0.007183, allocations: 168.5 kB / 353.7 MB, free: 3.492 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.574e-05/0.007199, allocations: 15.91 kB / 353.7 MB, free: 3.477 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000162/0.007361, allocations: 115.2 kB / 353.8 MB, free: 3.355 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.007364, allocations: 0 / 353.8 MB, free: 3.355 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.007369, allocations: 0 / 353.8 MB, free: 3.355 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.007375, allocations: 3.984 kB / 353.8 MB, free: 3.352 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002687/0.007644, allocations: 408.9 kB / 354.2 MB, free: 2.906 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.007646, allocations: 0 / 354.2 MB, free: 2.906 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.718e-05/0.007673, allocations: 11.98 kB / 354.2 MB, free: 2.895 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.007676, allocations: 4 kB / 354.2 MB, free: 2.891 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.007688, allocations: 4 kB / 354.2 MB, free: 2.887 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.007689, allocations: 0 / 354.2 MB, free: 2.887 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.007691, allocations: 4.031 kB / 354.2 MB, free: 2.883 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001321/0.007823, allocations: 263.4 kB / 354.5 MB, free: 2.602 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.481e-05/0.007838, allocations: 15.84 kB / 354.5 MB, free: 2.586 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.206e-05/0.00786, allocations: 0 / 354.5 MB, free: 2.586 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.324e-05/0.007903, allocations: 11.98 kB / 354.5 MB, free: 2.574 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.355e-05/0.007946, allocations: 4 kB / 354.5 MB, free: 2.57 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.016e-05/0.007967, allocations: 11.92 kB / 354.5 MB, free: 2.559 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.602e-05/0.008043, allocations: 201.3 kB / 354.7 MB, free: 2.363 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008043, allocations: 0 / 354.7 MB, free: 2.363 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001844/0.008227, allocations: 23.94 kB / 354.8 MB, free: 2.34 MB / 282.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.001025/0.009252, allocations: 444.8 kB / 355.2 MB, free: 1.996 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001596/0.009412, allocations: 59.53 kB / 355.3 MB, free: 1.934 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.009415, allocations: 0 / 355.3 MB, free: 1.934 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.527e-05/0.00946, allocations: 31.67 kB / 355.3 MB, free: 1.898 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002807/0.009741, allocations: 28.16 kB / 355.3 MB, free: 1.871 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004525/0.01019, allocations: 269.7 kB / 355.6 MB, free: 1.578 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.211e-05/0.01025, allocations: 71.33 kB / 355.6 MB, free: 1.488 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.934e-05/0.01028, allocations: 16.47 kB / 355.7 MB, free: 1.473 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.399e-05/0.01032, allocations: 20.5 kB / 355.7 MB, free: 1.449 MB / 282.7 MB Notification: Performance of SimCode: time 2.174e-06/0.01032, allocations: 0 / 355.7 MB, free: 1.449 MB / 282.7 MB Notification: Performance of Templates: time 0.004076/0.0144, allocations: 1.865 MB / 357.5 MB, free: 15.61 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test6/Test6.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.7387972809374332]