Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.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.001041/0.001041, allocations: 83.58 kB / 21.19 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.001006/0.001006, 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.028/1.028, 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.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.2685/0.2685, allocations: 34.25 MB / 295.7 MB, free: 0.6953 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.CombiTable1Ds.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.CombiTable1Ds.Test25_usertab") translateModel(ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test25_usertab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.734e-06/1.734e-06, allocations: 0 / 378.1 MB, free: 2.637 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.235e-05/3.409e-05, allocations: 6.25 kB / 378.1 MB, free: 2.629 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab): time 0.006383/0.006417, allocations: 1.638 MB / 379.7 MB, free: 0.9766 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001199/0.007616, allocations: 0.5531 MB / 380.2 MB, free: 428 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.734e-05/0.007703, allocations: 0 / 380.2 MB, free: 428 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003484/0.008052, allocations: 15.86 kB / 380.3 MB, free: 412 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004251/0.008477, allocations: 87.55 kB / 380.3 MB, free: 324 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003635/0.008841, allocations: 99.62 kB / 380.4 MB, free: 224 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002245/0.009065, allocations: 67.83 kB / 380.5 MB, free: 156 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00013/0.009195, allocations: 15.88 kB / 380.5 MB, free: 140 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001093/0.009304, allocations: 39.89 kB / 380.6 MB, free: 100 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000103/0.009407, allocations: 27.91 kB / 380.6 MB, free: 72 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.227e-05/0.00943, allocations: 4 kB / 380.6 MB, free: 68 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002278/0.009657, allocations: 87.88 kB / 380.7 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.807e-05/0.009716, allocations: 19.92 kB / 380.7 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.348e-05/0.009759, allocations: 23.92 kB / 380.7 MB, free: 15.94 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003253/0.01008, allocations: 143.4 kB / 380.9 MB, free: 15.8 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.01009, allocations: 0 / 380.9 MB, free: 15.8 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.01009, allocations: 0 / 380.9 MB, free: 15.8 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.0101, allocations: 0 / 380.9 MB, free: 15.8 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.0006965/0.0108, allocations: 436 kB / 381.3 MB, free: 15.34 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.172e-05/0.01085, allocations: 8.031 kB / 381.3 MB, free: 15.33 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.469e-05/0.01092, allocations: 16.83 kB / 381.3 MB, free: 15.31 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002493/0.01117, allocations: 144.4 kB / 381.5 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.602e-05/0.01119, allocations: 4.375 kB / 381.5 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.214e-05/0.01122, allocations: 384 / 381.5 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002339/0.01145, allocations: 104 kB / 381.6 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/0.01147, allocations: 192 / 381.6 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.057e-05/0.01149, allocations: 16.11 kB / 381.6 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.086e-05/0.0115, allocations: 0 / 381.6 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.218e-05/0.01155, allocations: 8 kB / 381.6 MB, free: 14.99 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005167/0.01207, allocations: 287.8 kB / 381.9 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001177/0.01219, allocations: 51.03 kB / 381.9 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.244e-05/0.01223, allocations: 19.81 kB / 381.9 MB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.748e-05/0.01226, allocations: 0 / 381.9 MB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.919e-05/0.01229, allocations: 45.33 kB / 382 MB, free: 14.54 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.703e-06/0.0123, allocations: 0 / 382 MB, free: 14.54 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006365/0.01293, allocations: 129.6 kB / 382.1 MB, free: 14.4 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.921e-05/0.01299, allocations: 85.05 kB / 382.2 MB, free: 14.3 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002129/0.01321, allocations: 204.6 kB / 382.4 MB, free: 14.09 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.845e-05/0.01322, allocations: 25.7 kB / 382.4 MB, free: 14.05 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.919e-05/0.0133, allocations: 142.9 kB / 382.6 MB, free: 13.91 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.63e-05/0.01334, allocations: 31.72 kB / 382.6 MB, free: 13.88 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.052e-05/0.0134, allocations: 31.38 kB / 382.6 MB, free: 13.84 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001822/0.01358, allocations: 0.4923 MB / 383.1 MB, free: 13.34 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.148e-05/0.01363, allocations: 8.109 kB / 383.1 MB, free: 13.33 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.829e-05/0.01371, allocations: 65.08 kB / 383.2 MB, free: 13.25 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.264e-05/0.01379, allocations: 39.61 kB / 383.2 MB, free: 13.21 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.0138, allocations: 0 / 383.2 MB, free: 13.21 MB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001553/0.01395, allocations: 77.58 kB / 383.3 MB, free: 13.12 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.01397, allocations: 8 kB / 383.3 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.01398, allocations: 0 / 383.3 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.01399, allocations: 0 / 383.3 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001263/0.01412, allocations: 19.92 kB / 383.3 MB, free: 13.1 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.315e-06/0.01413, allocations: 4 kB / 383.3 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.063e-05/0.01417, allocations: 0 / 383.3 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.122e-05/0.01418, allocations: 11.97 kB / 383.3 MB, free: 13.08 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 (9): * Single equations (assignments): 9 * 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.82e-05/0.01427, allocations: 156.6 kB / 383.5 MB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.749e-05/0.01432, allocations: 23.83 kB / 383.5 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000229/0.01454, allocations: 86.52 kB / 383.6 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.01455, allocations: 3.938 kB / 383.6 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.01456, allocations: 0 / 383.6 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.01456, allocations: 0 / 383.6 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004191/0.01498, allocations: 353.4 kB / 383.9 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.01498, allocations: 0 / 383.9 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.313e-05/0.01505, allocations: 23.92 kB / 384 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.01506, allocations: 0 / 384 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.398e-06/0.01507, allocations: 0 / 384 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.01507, allocations: 0 / 384 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.01507, allocations: 0 / 384 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000189/0.01526, allocations: 223.8 kB / 384.2 MB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.728e-05/0.01528, allocations: 7.953 kB / 384.2 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.094e-05/0.0153, allocations: 4 kB / 384.2 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.861e-05/0.01537, allocations: 4 kB / 384.2 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.245e-05/0.01541, allocations: 7.922 kB / 384.2 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.466e-06/0.01542, allocations: 4 kB / 384.2 MB, free: 12.12 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001086/0.01553, allocations: 163.1 kB / 384.4 MB, free: 11.96 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.01553, allocations: 0 / 384.4 MB, free: 11.96 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003116/0.01584, allocations: 43.86 kB / 384.4 MB, free: 11.92 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 (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 Backend phase and start with SimCode phase: time 0.001354/0.01719, allocations: 0.4989 MB / 384.9 MB, free: 11.59 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001567/0.01735, allocations: 47.66 kB / 385 MB, free: 11.54 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.01735, allocations: 0 / 385 MB, free: 11.54 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.42e-05/0.01739, allocations: 31.61 kB / 385 MB, free: 11.51 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003143/0.0177, allocations: 22.64 kB / 385 MB, free: 11.49 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004661/0.01817, allocations: 182.3 kB / 385.2 MB, free: 11.28 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.32e-05/0.01822, allocations: 67.33 kB / 385.3 MB, free: 11.2 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.091e-05/0.0183, allocations: 28.61 kB / 385.3 MB, free: 11.17 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.08e-05/0.01835, allocations: 20.5 kB / 385.3 MB, free: 11.15 MB / 362.7 MB Notification: Performance of SimCode: time 7.62e-07/0.01835, allocations: 0 / 385.3 MB, free: 11.15 MB / 362.7 MB Notification: Performance of Templates: time 0.005665/0.02402, allocations: 2.236 MB / 387.5 MB, free: 8.926 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/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.2275992911309004]