Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45.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.001/0.001, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001011/0.001011, allocations: 165.5 kB / 24.99 MB, free: 8.871 MB / 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.033/1.033, allocations: 177.1 MB / 205.3 MB, free: 5.629 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.2847/0.2847, allocations: 34.27 MB / 296.1 MB, free: 0.7773 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.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45") translateModel(ModelicaTest.Tables.CombiTimeTable.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.863e-06/1.863e-06, allocations: 0 / 378.1 MB, free: 2.883 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.07e-05/3.256e-05, allocations: 2.312 kB / 378.1 MB, free: 2.879 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.002973/0.003005, allocations: 1.758 MB / 379.9 MB, free: 1.105 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001913/0.004918, allocations: 1.001 MB / 380.9 MB, free: 100 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001355/0.005053, allocations: 7.938 kB / 380.9 MB, free: 92 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00036/0.005413, allocations: 39.77 kB / 380.9 MB, free: 52 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004274/0.005841, allocations: 103.5 kB / 381 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003143/0.006155, allocations: 79.59 kB / 381.1 MB, free: 15.87 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002199/0.006375, allocations: 107.6 kB / 381.2 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001194/0.006494, allocations: 7.938 kB / 381.2 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001055/0.0066, allocations: 51.89 kB / 381.3 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.136e-05/0.006691, allocations: 31.91 kB / 381.3 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.151e-05/0.006713, allocations: 4 kB / 381.3 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001116/0.006824, allocations: 47.91 kB / 381.3 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.03e-05/0.006915, allocations: 23.86 kB / 381.4 MB, free: 15.6 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.197e-05/0.006987, allocations: 19.94 kB / 381.4 MB, free: 15.58 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002347/0.007221, allocations: 99.59 kB / 381.5 MB, free: 15.48 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.892e-06/0.007227, allocations: 0 / 381.5 MB, free: 15.48 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.007229, allocations: 0 / 381.5 MB, free: 15.48 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.171e-06/0.007235, allocations: 0 / 381.5 MB, free: 15.48 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.0005337/0.007769, allocations: 463.7 kB / 381.9 MB, free: 15 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.007813, allocations: 8.031 kB / 381.9 MB, free: 14.99 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.409e-05/0.007887, allocations: 20.88 kB / 382 MB, free: 14.97 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002574/0.008145, allocations: 152.9 kB / 382.1 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.673e-05/0.008171, allocations: 8.312 kB / 382.1 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.394e-05/0.008195, allocations: 4.375 kB / 382.1 MB, free: 14.78 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001965/0.008392, allocations: 62.94 kB / 382.2 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.623e-05/0.008408, allocations: 3.938 kB / 382.2 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.008419, allocations: 0 / 382.2 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.628e-06/0.008428, allocations: 0 / 382.2 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.854e-05/0.008477, allocations: 11.98 kB / 382.2 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003798/0.008857, allocations: 295.8 kB / 382.5 MB, free: 14.37 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001366/0.008993, allocations: 59.11 kB / 382.6 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.658e-05/0.00903, allocations: 19.62 kB / 382.6 MB, free: 14.28 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.422e-05/0.009044, allocations: 0 / 382.6 MB, free: 14.28 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001302/0.009174, allocations: 65.05 kB / 382.6 MB, free: 14.2 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.593e-06/0.009176, allocations: 4 kB / 382.6 MB, free: 14.2 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004334/0.009609, allocations: 157.3 kB / 382.8 MB, free: 14.04 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.891e-05/0.009648, allocations: 59.41 kB / 382.9 MB, free: 13.96 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001462/0.009794, allocations: 233.9 kB / 383.1 MB, free: 13.72 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.447e-05/0.009809, allocations: 29.7 kB / 383.1 MB, free: 13.68 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.184e-05/0.009881, allocations: 158.8 kB / 383.3 MB, free: 13.52 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.055e-05/0.009911, allocations: 23.8 kB / 383.3 MB, free: 13.5 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.776e-05/0.009949, allocations: 35.3 kB / 383.3 MB, free: 13.46 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001222/0.01007, allocations: 0.4962 MB / 383.8 MB, free: 12.95 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.761e-05/0.0101, allocations: 11.94 kB / 383.8 MB, free: 12.94 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.916e-05/0.01014, allocations: 35.36 kB / 383.9 MB, free: 12.89 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.959e-05/0.0102, allocations: 51.3 kB / 383.9 MB, free: 12.84 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.0102, allocations: 0 / 383.9 MB, free: 12.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001285/0.01033, allocations: 101.6 kB / 384 MB, free: 12.73 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.01034, allocations: 4 kB / 384 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.01035, allocations: 4 kB / 384 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.01036, allocations: 0 / 384 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.253e-05/0.01044, allocations: 15.98 kB / 384 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.01045, allocations: 3.938 kB / 384 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.364e-05/0.01048, allocations: 7.953 kB / 384 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.882e-06/0.01049, allocations: 4 kB / 384.1 MB, free: 12.69 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 8.527e-05/0.01057, allocations: 164.5 kB / 384.2 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.613e-05/0.01059, allocations: 11.95 kB / 384.2 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001614/0.01075, allocations: 111.1 kB / 384.3 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.01076, allocations: 0 / 384.3 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.01076, allocations: 4 kB / 384.3 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.01076, allocations: 0 / 384.3 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003525/0.01112, allocations: 396.9 kB / 384.7 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.01112, allocations: 0 / 384.7 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.225e-05/0.01115, allocations: 8.375 kB / 384.7 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.01116, allocations: 4 kB / 384.7 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.01117, allocations: 4 kB / 384.7 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.01117, allocations: 4 kB / 384.7 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.01117, allocations: 4.031 kB / 384.7 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000181/0.01135, allocations: 259.4 kB / 385 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.01e-05/0.01137, allocations: 15.89 kB / 385 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.904e-05/0.01139, allocations: 0 / 385 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.786e-05/0.01144, allocations: 8 kB / 385 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.234e-05/0.01148, allocations: 3.984 kB / 385 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.948e-05/0.0115, allocations: 4 kB / 385 MB, free: 11.62 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001126/0.01161, allocations: 184.1 kB / 385.2 MB, free: 11.45 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01161, allocations: 0 / 385.2 MB, free: 11.45 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002213/0.01184, allocations: 27.92 kB / 385.2 MB, free: 11.42 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.001042/0.01288, allocations: 437.2 kB / 385.7 MB, free: 11.15 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001496/0.01303, allocations: 55.58 kB / 385.7 MB, free: 11.09 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.01303, allocations: 4 kB / 385.7 MB, free: 11.09 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.432e-05/0.01308, allocations: 31.67 kB / 385.8 MB, free: 11.05 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002757/0.01335, allocations: 27.97 kB / 385.8 MB, free: 11.02 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004527/0.0138, allocations: 225.8 kB / 386 MB, free: 10.77 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.682e-05/0.01386, allocations: 75.45 kB / 386.1 MB, free: 10.68 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.279e-05/0.0139, allocations: 16.97 kB / 386.1 MB, free: 10.66 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.595e-05/0.01394, allocations: 16.5 kB / 386.1 MB, free: 10.64 MB / 362.7 MB Notification: Performance of SimCode: time 1.052e-06/0.01394, allocations: 0 / 386.1 MB, free: 10.64 MB / 362.7 MB Notification: Performance of Templates: time 0.004625/0.01857, allocations: 1.879 MB / 388 MB, free: 8.789 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test45/Test45.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.3738479521125555]