Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.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.001433/0.001433, 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.001176/0.001176, allocations: 170.7 kB / 24.99 MB, free: 8.789 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.019/1.019, allocations: 177.1 MB / 205.3 MB, free: 5.617 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.2504/0.2504, allocations: 34.26 MB / 296 MB, free: 0.668 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.CombiTable1Dv.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 378 MB, free: 2.926 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.971e-05/2.116e-05, allocations: 2.312 kB / 378 MB, free: 2.922 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab): time 0.001955/0.001976, allocations: 1.637 MB / 379.7 MB, free: 1.273 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007122/0.002689, allocations: 0.5609 MB / 380.2 MB, free: 0.707 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.176e-05/0.00275, allocations: 4 kB / 380.2 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002131/0.002964, allocations: 19.8 kB / 380.3 MB, free: 0.6836 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002279/0.003192, allocations: 83.55 kB / 380.3 MB, free: 0.6016 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002069/0.003398, allocations: 115.6 kB / 380.5 MB, free: 500 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001328/0.003531, allocations: 71.77 kB / 380.5 MB, free: 428 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.345e-05/0.003625, allocations: 7.984 kB / 380.5 MB, free: 420 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.871e-05/0.003683, allocations: 47.84 kB / 380.6 MB, free: 372 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.687e-05/0.00375, allocations: 23.91 kB / 380.6 MB, free: 348 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.438e-05/0.003765, allocations: 4 kB / 380.6 MB, free: 344 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001205/0.003885, allocations: 95.81 kB / 380.7 MB, free: 248 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.211e-05/0.003927, allocations: 15.92 kB / 380.7 MB, free: 232 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.061e-05/0.003958, allocations: 8 kB / 380.7 MB, free: 224 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001994/0.004157, allocations: 143.5 kB / 380.9 MB, free: 80 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.00416, allocations: 4 kB / 380.9 MB, free: 76 kB / 346.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.004161, allocations: 0 / 380.9 MB, free: 76 kB / 346.7 MB Notification: Performance of Transformations before backend: time 3.737e-06/0.004164, allocations: 0 / 380.9 MB, free: 76 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004136/0.004578, allocations: 432.1 kB / 381.3 MB, free: 15.61 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.00462, allocations: 12.03 kB / 381.3 MB, free: 15.6 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.578e-05/0.004666, allocations: 8.891 kB / 381.3 MB, free: 15.59 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001572/0.004823, allocations: 140.5 kB / 381.4 MB, free: 15.43 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.036e-05/0.004833, allocations: 4.375 kB / 381.5 MB, free: 15.43 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.116e-05/0.004855, allocations: 8.312 kB / 381.5 MB, free: 15.42 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001304/0.004985, allocations: 104 kB / 381.6 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.004997, allocations: 192 / 381.6 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.005008, allocations: 4.125 kB / 381.6 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.005015, allocations: 0 / 381.6 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.761e-05/0.005043, allocations: 4 kB / 381.6 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003354/0.005378, allocations: 295.7 kB / 381.9 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.512e-05/0.005443, allocations: 39.05 kB / 381.9 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.56e-05/0.005469, allocations: 19.69 kB / 381.9 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.917e-05/0.005488, allocations: 0 / 381.9 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.877e-05/0.005517, allocations: 41.33 kB / 382 MB, free: 14.84 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.005518, allocations: 0 / 382 MB, free: 14.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003684/0.005886, allocations: 117.5 kB / 382.1 MB, free: 14.71 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.94e-05/0.005926, allocations: 81.11 kB / 382.1 MB, free: 14.62 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000129/0.006055, allocations: 195.9 kB / 382.3 MB, free: 14.41 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.113e-05/0.006066, allocations: 41.64 kB / 382.4 MB, free: 14.36 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.022e-05/0.006116, allocations: 138.9 kB / 382.5 MB, free: 14.22 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.818e-05/0.006134, allocations: 23.75 kB / 382.5 MB, free: 14.2 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.838e-05/0.006173, allocations: 31.38 kB / 382.6 MB, free: 14.16 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001474/0.00632, allocations: 0.4923 MB / 383.1 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.684e-05/0.006357, allocations: 11.97 kB / 383.1 MB, free: 13.64 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.44e-05/0.006411, allocations: 53.08 kB / 383.1 MB, free: 13.58 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.741e-05/0.006479, allocations: 35.89 kB / 383.2 MB, free: 13.54 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.00648, allocations: 0 / 383.2 MB, free: 13.54 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001268/0.006607, allocations: 73.58 kB / 383.2 MB, free: 13.46 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.00662, allocations: 4 kB / 383.2 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.006627, allocations: 11.97 kB / 383.2 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.00664, allocations: 0 / 383.2 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.401e-05/0.006714, allocations: 16.27 kB / 383.3 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.006718, allocations: 3.938 kB / 383.3 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.324e-05/0.006742, allocations: 4 kB / 383.3 MB, free: 13.42 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.006747, allocations: 4 kB / 383.3 MB, free: 13.42 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.819e-05/0.006816, allocations: 156.6 kB / 383.4 MB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.382e-05/0.006839, allocations: 15.89 kB / 383.4 MB, free: 13.24 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001187/0.006958, allocations: 82.36 kB / 383.5 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.00696, allocations: 4 kB / 383.5 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.006964, allocations: 0 / 383.5 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.636e-06/0.006967, allocations: 0 / 383.5 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002645/0.007232, allocations: 353.3 kB / 383.9 MB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.007233, allocations: 0 / 383.9 MB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.611e-05/0.007269, allocations: 15.98 kB / 383.9 MB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-06/0.00727, allocations: 0 / 383.9 MB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.592e-06/0.007277, allocations: 0 / 383.9 MB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.007278, allocations: 0 / 383.9 MB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.007279, allocations: 0 / 383.9 MB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001167/0.007396, allocations: 223.8 kB / 384.1 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.248e-06/0.007405, allocations: 11.95 kB / 384.1 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.379e-05/0.007419, allocations: 4 kB / 384.1 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.514e-05/0.007464, allocations: 4 kB / 384.1 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.164e-05/0.007495, allocations: 7.922 kB / 384.1 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.43e-06/0.007501, allocations: 4 kB / 384.1 MB, free: 12.47 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.806e-05/0.007569, allocations: 153.5 kB / 384.3 MB, free: 12.32 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007569, allocations: 0 / 384.3 MB, free: 12.32 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001907/0.00776, allocations: 39.88 kB / 384.3 MB, free: 12.29 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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 Backend phase and start with SimCode phase: time 0.0009725/0.008732, allocations: 0.4983 MB / 384.8 MB, free: 11.96 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001016/0.008834, allocations: 35.67 kB / 384.9 MB, free: 11.92 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.008835, allocations: 0 / 384.9 MB, free: 11.92 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.853e-05/0.008864, allocations: 27.77 kB / 384.9 MB, free: 11.89 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001996/0.009063, allocations: 35.81 kB / 384.9 MB, free: 11.86 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003003/0.009364, allocations: 190.3 kB / 385.1 MB, free: 11.64 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.391e-05/0.009408, allocations: 63.34 kB / 385.2 MB, free: 11.56 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.534e-05/0.009453, allocations: 12.72 kB / 385.2 MB, free: 11.55 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.083e-05/0.009484, allocations: 20.48 kB / 385.2 MB, free: 11.53 MB / 362.7 MB Notification: Performance of SimCode: time 4.91e-07/0.009484, allocations: 0 / 385.2 MB, free: 11.53 MB / 362.7 MB Notification: Performance of Templates: time 0.003477/0.01296, allocations: 2.032 MB / 387.2 MB, free: 9.504 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test25_usertab/Test25_usertab.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.2086543501354754]