Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.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.001429/0.001429, allocations: 88.31 kB / 20.96 MB, free: 3.477 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.001663/0.001663, allocations: 161.7 kB / 24.27 MB, free: 172 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.534/1.534, allocations: 177.1 MB / 204.6 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3561/0.3561, allocations: 32.79 MB / 293.9 MB, free: 1.199 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.412e-06/1.412e-06, allocations: 0 / 375.3 MB, free: 4.98 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.976e-05/3.117e-05, allocations: 6.25 kB / 375.3 MB, free: 4.973 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test21): time 0.003272/0.003303, allocations: 1.595 MB / 376.9 MB, free: 3.367 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002048/0.005352, allocations: 1.262 MB / 378.1 MB, free: 2.098 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.857e-05/0.0054, allocations: 0 / 378.1 MB, free: 2.098 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002287/0.005629, allocations: 31.72 kB / 378.2 MB, free: 2.066 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003164/0.005945, allocations: 83.61 kB / 378.2 MB, free: 1.984 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003107/0.006256, allocations: 111.6 kB / 378.4 MB, free: 1.875 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002199/0.006476, allocations: 71.7 kB / 378.4 MB, free: 1.805 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.989e-05/0.006566, allocations: 12 kB / 378.4 MB, free: 1.793 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.914e-05/0.006645, allocations: 35.89 kB / 378.5 MB, free: 1.758 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001201/0.006765, allocations: 19.92 kB / 378.5 MB, free: 1.738 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.052e-05/0.006786, allocations: 4 kB / 378.5 MB, free: 1.734 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001809/0.006967, allocations: 95.81 kB / 378.6 MB, free: 1.641 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.409e-05/0.007021, allocations: 19.91 kB / 378.6 MB, free: 1.621 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.629e-05/0.007057, allocations: 11.94 kB / 378.6 MB, free: 1.609 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002866/0.007344, allocations: 147.5 kB / 378.8 MB, free: 1.465 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.007346, allocations: 0 / 378.8 MB, free: 1.465 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.173e-06/0.007347, allocations: 0 / 378.8 MB, free: 1.465 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.837e-06/0.007351, allocations: 0 / 378.8 MB, free: 1.465 MB / 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.0005442/0.007895, allocations: 329.6 kB / 379.1 MB, free: 1.113 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.00793, allocations: 12.03 kB / 379.1 MB, free: 1.102 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.947e-05/0.00799, allocations: 12.89 kB / 379.1 MB, free: 1.09 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000219/0.008209, allocations: 133.7 kB / 379.2 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.718e-06/0.008219, allocations: 384 / 379.2 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.803e-05/0.008247, allocations: 4.375 kB / 379.2 MB, free: 0.9297 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002036/0.00845, allocations: 97.59 kB / 379.3 MB, free: 0.8164 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.00846, allocations: 192 / 379.3 MB, free: 0.8164 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.302e-05/0.008473, allocations: 4.125 kB / 379.3 MB, free: 0.8125 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.838e-06/0.008477, allocations: 0 / 379.3 MB, free: 0.8125 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001058/0.008583, allocations: 27.97 kB / 379.4 MB, free: 0.7852 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003974/0.00898, allocations: 224.6 kB / 379.6 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002234/0.009204, allocations: 46.48 kB / 379.6 MB, free: 492 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.492e-05/0.009279, allocations: 16.86 kB / 379.7 MB, free: 472 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.513e-05/0.009304, allocations: 7.938 kB / 379.7 MB, free: 464 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.365e-05/0.009337, allocations: 34.64 kB / 379.7 MB, free: 420 kB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 9.21e-07/0.009338, allocations: 4 kB / 379.7 MB, free: 416 kB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006485/0.009987, allocations: 149.4 kB / 379.8 MB, free: 260 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.16e-05/0.01006, allocations: 81.09 kB / 379.9 MB, free: 160 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002012/0.01026, allocations: 149.6 kB / 380.1 MB, free: 0 / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.296e-05/0.0103, allocations: 29.7 kB / 380.1 MB, free: 15.96 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.659e-05/0.01037, allocations: 92.14 kB / 380.2 MB, free: 15.87 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.35e-05/0.0104, allocations: 19.89 kB / 380.2 MB, free: 15.85 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.491e-05/0.01045, allocations: 17.72 kB / 380.2 MB, free: 15.83 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001893/0.01064, allocations: 322.8 kB / 380.5 MB, free: 15.5 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.507e-05/0.01072, allocations: 19.98 kB / 380.6 MB, free: 15.48 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001086/0.01083, allocations: 59.34 kB / 380.6 MB, free: 15.41 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001595/0.01099, allocations: 56.81 kB / 380.7 MB, free: 15.36 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.6e-06/0.011, allocations: 3.938 kB / 380.7 MB, free: 15.35 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002423/0.01124, allocations: 89.91 kB / 380.8 MB, free: 15.26 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.01125, allocations: 4 kB / 380.8 MB, free: 15.25 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.01126, allocations: 0 / 380.8 MB, free: 15.25 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.899e-05/0.01128, allocations: 7.938 kB / 380.8 MB, free: 15.25 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.239e-05/0.01135, allocations: 15.98 kB / 380.8 MB, free: 15.23 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.01136, allocations: 3.938 kB / 380.8 MB, free: 15.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.367e-05/0.01141, allocations: 7.984 kB / 380.8 MB, free: 15.22 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.01142, allocations: 0 / 380.8 MB, free: 15.22 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 (5): * Single equations (assignments): 5 * 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 0.0001157/0.01153, allocations: 121.8 kB / 380.9 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.075e-05/0.01157, allocations: 11.95 kB / 380.9 MB, free: 15.08 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002792/0.01185, allocations: 98.06 kB / 381 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.01186, allocations: 0 / 381 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.01186, allocations: 4 kB / 381 MB, free: 14.97 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.01186, allocations: 0 / 381 MB, free: 14.97 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000514/0.01238, allocations: 306.1 kB / 381.3 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.634e-06/0.01238, allocations: 0 / 381.3 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.384e-05/0.01244, allocations: 15.98 kB / 381.3 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.806e-06/0.01244, allocations: 0 / 381.3 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.468e-06/0.01245, allocations: 4 kB / 381.4 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.01246, allocations: 0 / 381.4 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.01246, allocations: 0 / 381.4 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003021/0.01276, allocations: 191.3 kB / 381.5 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.94e-05/0.01278, allocations: 7.953 kB / 381.5 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.798e-05/0.0128, allocations: 288 / 381.5 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.703e-05/0.01288, allocations: 7.984 kB / 381.6 MB, free: 14.4 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.378e-05/0.01292, allocations: 4 kB / 381.6 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.554e-06/0.01292, allocations: 4.188 kB / 381.6 MB, free: 14.39 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001267/0.01305, allocations: 113.3 kB / 381.7 MB, free: 14.28 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01305, allocations: 4 kB / 381.7 MB, free: 14.28 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002997/0.01335, allocations: 39.88 kB / 381.7 MB, free: 14.24 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 (5): * Single equations (assignments): 5 * 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.002312/0.01566, allocations: 0.5286 MB / 382.2 MB, free: 13.92 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002414/0.0159, allocations: 55.89 kB / 382.3 MB, free: 13.87 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.01591, allocations: 0 / 382.3 MB, free: 13.87 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001057/0.01601, allocations: 31.92 kB / 382.3 MB, free: 13.84 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003922/0.0164, allocations: 23.98 kB / 382.4 MB, free: 13.81 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005007/0.0169, allocations: 172.4 kB / 382.5 MB, free: 13.62 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.702e-05/0.017, allocations: 75.33 kB / 382.6 MB, free: 13.52 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.978e-05/0.01707, allocations: 11.98 kB / 382.6 MB, free: 13.51 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.072e-05/0.01712, allocations: 24.48 kB / 382.6 MB, free: 13.49 MB / 362.7 MB Notification: Performance of SimCode: time 7.42e-07/0.01712, allocations: 0 / 382.6 MB, free: 13.49 MB / 362.7 MB Notification: Performance of Templates: time 0.005831/0.02295, allocations: 1.851 MB / 384.5 MB, free: 11.65 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test21/Test21.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.801286970963702]