Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001519/0.001519, 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.001088/0.001088, allocations: 167.3 kB / 24.99 MB, free: 8.746 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 0.9423/0.9423, allocations: 177.1 MB / 205.3 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 179] 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.2707/0.2707, allocations: 32.81 MB / 294.6 MB, free: 0.7617 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.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.0.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.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 376 MB, free: 4.84 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.964e-05/2.132e-05, allocations: 6.25 kB / 376 MB, free: 4.832 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab): time 0.002337/0.002358, allocations: 1.645 MB / 377.7 MB, free: 3.176 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006955/0.003054, allocations: 0.5571 MB / 378.2 MB, free: 2.613 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.226e-05/0.003116, allocations: 3.938 kB / 378.2 MB, free: 2.609 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002084/0.003324, allocations: 27.72 kB / 378.2 MB, free: 2.582 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002425/0.003567, allocations: 79.61 kB / 378.3 MB, free: 2.504 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002186/0.003786, allocations: 115.6 kB / 378.4 MB, free: 2.391 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001341/0.00392, allocations: 71.78 kB / 378.5 MB, free: 2.32 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.463e-05/0.004014, allocations: 11.97 kB / 378.5 MB, free: 2.309 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.882e-05/0.004073, allocations: 35.92 kB / 378.6 MB, free: 2.273 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.309e-05/0.004136, allocations: 27.89 kB / 378.6 MB, free: 2.246 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.407e-05/0.00415, allocations: 4 kB / 378.6 MB, free: 2.242 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001243/0.004274, allocations: 95.81 kB / 378.7 MB, free: 2.148 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.865e-05/0.004313, allocations: 15.88 kB / 378.7 MB, free: 2.133 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.983e-05/0.004343, allocations: 19.92 kB / 378.7 MB, free: 2.113 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001964/0.004539, allocations: 135.6 kB / 378.8 MB, free: 1.98 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.004541, allocations: 0 / 378.8 MB, free: 1.98 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.004542, allocations: 4 kB / 378.8 MB, free: 1.977 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.106e-06/0.004545, allocations: 0 / 378.8 MB, free: 1.977 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.0003878/0.004933, allocations: 435.8 kB / 379.3 MB, free: 1.516 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.004973, allocations: 8.031 kB / 379.3 MB, free: 1.508 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.553e-05/0.005018, allocations: 12.89 kB / 379.3 MB, free: 1.496 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001465/0.005165, allocations: 132.5 kB / 379.4 MB, free: 1.34 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.578e-06/0.005174, allocations: 4.375 kB / 379.4 MB, free: 1.336 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.788e-05/0.005192, allocations: 4.375 kB / 379.4 MB, free: 1.332 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001261/0.005318, allocations: 100 kB / 379.5 MB, free: 1.211 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.005328, allocations: 192 / 379.5 MB, free: 1.211 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.358e-06/0.005337, allocations: 8.125 kB / 379.5 MB, free: 1.203 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.005345, allocations: 0 / 379.5 MB, free: 1.203 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.087e-05/0.005376, allocations: 15.92 kB / 379.6 MB, free: 1.188 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003077/0.005683, allocations: 283.8 kB / 379.8 MB, free: 0.875 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.913e-05/0.005742, allocations: 43.05 kB / 379.9 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.906e-05/0.005771, allocations: 27.61 kB / 379.9 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.672e-05/0.005788, allocations: 0 / 379.9 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/0.005812, allocations: 37.33 kB / 379.9 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 8.91e-07/0.005813, allocations: 3.938 kB / 379.9 MB, free: 0.7383 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003546/0.006167, allocations: 117.5 kB / 380.1 MB, free: 0.6172 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.734e-05/0.006205, allocations: 85.11 kB / 380.1 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001195/0.006324, allocations: 199.8 kB / 380.3 MB, free: 312 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.208e-05/0.006336, allocations: 25.7 kB / 380.4 MB, free: 280 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.602e-05/0.006382, allocations: 138.9 kB / 380.5 MB, free: 136 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.969e-05/0.006402, allocations: 27.73 kB / 380.5 MB, free: 108 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.269e-05/0.006435, allocations: 27.38 kB / 380.5 MB, free: 72 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003597/0.006794, allocations: 0.4923 MB / 381 MB, free: 15.57 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.309e-05/0.006817, allocations: 8 kB / 381 MB, free: 15.56 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.634e-05/0.006854, allocations: 57.06 kB / 381.1 MB, free: 15.49 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.922e-05/0.006903, allocations: 39.64 kB / 381.1 MB, free: 15.45 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.006904, allocations: 0 / 381.1 MB, free: 15.45 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.194e-05/0.006985, allocations: 73.58 kB / 381.2 MB, free: 15.37 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/0.006997, allocations: 8 kB / 381.2 MB, free: 15.36 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.007002, allocations: 4.297 kB / 381.2 MB, free: 15.36 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.007015, allocations: 0 / 381.2 MB, free: 15.36 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.492e-05/0.00708, allocations: 12 kB / 381.2 MB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.598e-06/0.007085, allocations: 0 / 381.2 MB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.401e-05/0.007109, allocations: 7.984 kB / 381.2 MB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.021e-06/0.007115, allocations: 7.984 kB / 381.3 MB, free: 15.33 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.07e-05/0.007175, allocations: 168.5 kB / 381.4 MB, free: 15.15 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.065e-05/0.007196, allocations: 11.89 kB / 381.4 MB, free: 15.14 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001021/0.007298, allocations: 74.45 kB / 381.5 MB, free: 15.06 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.0073, allocations: 0 / 381.5 MB, free: 15.06 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.007303, allocations: 0 / 381.5 MB, free: 15.06 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.007306, allocations: 0 / 381.5 MB, free: 15.06 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002468/0.007553, allocations: 357.3 kB / 381.9 MB, free: 14.67 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.007554, allocations: 0 / 381.9 MB, free: 14.67 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.182e-05/0.007585, allocations: 15.98 kB / 381.9 MB, free: 14.65 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.007587, allocations: 0 / 381.9 MB, free: 14.65 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.007593, allocations: 4 kB / 381.9 MB, free: 14.65 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.007594, allocations: 0 / 381.9 MB, free: 14.65 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.007595, allocations: 0 / 381.9 MB, free: 14.65 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001072/0.007702, allocations: 223.8 kB / 382.1 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.668e-06/0.007712, allocations: 11.94 kB / 382.1 MB, free: 14.4 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.224e-05/0.007724, allocations: 3.938 kB / 382.1 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.494e-05/0.007759, allocations: 8 kB / 382.1 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.753e-05/0.007787, allocations: 3.984 kB / 382.1 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-06/0.00779, allocations: 4 kB / 382.1 MB, free: 14.38 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.088e-05/0.007851, allocations: 145.5 kB / 382.3 MB, free: 14.24 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007851, allocations: 0 / 382.3 MB, free: 14.24 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001915/0.008043, allocations: 51.86 kB / 382.3 MB, free: 14.19 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.0009347/0.008977, allocations: 0.4916 MB / 382.8 MB, free: 13.87 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001138/0.009091, allocations: 43.59 kB / 382.8 MB, free: 13.82 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.009093, allocations: 0 / 382.8 MB, free: 13.82 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.789e-05/0.009121, allocations: 27.67 kB / 382.9 MB, free: 13.79 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001939/0.009314, allocations: 24.89 kB / 382.9 MB, free: 13.77 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002834/0.009598, allocations: 186.2 kB / 383.1 MB, free: 13.56 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.388e-05/0.009632, allocations: 63.34 kB / 383.1 MB, free: 13.48 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.482e-05/0.009677, allocations: 25 kB / 383.2 MB, free: 13.45 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.987e-05/0.009706, allocations: 24.42 kB / 383.2 MB, free: 13.43 MB / 362.7 MB Notification: Performance of SimCode: time 6.82e-07/0.009707, allocations: 4 kB / 383.2 MB, free: 13.43 MB / 362.7 MB Notification: Performance of Templates: time 0.003358/0.01307, allocations: 2.015 MB / 385.2 MB, free: 11.41 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.3067738951649517]