Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test29.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.0008748/0.0008748, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.0009662/0.0009662, 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 0.9845/0.9845, allocations: 177.1 MB / 205 MB, free: 5.633 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.2676/0.2676, allocations: 34.26 MB / 295.7 MB, free: 0.7461 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.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test29") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test29") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 0 / 378.1 MB, free: 2.637 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.39e-05/3.599e-05, allocations: 2.312 kB / 378.1 MB, free: 2.633 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test29): time 0.002605/0.002641, allocations: 1.688 MB / 379.8 MB, free: 0.9297 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009247/0.003566, allocations: 0.5492 MB / 380.3 MB, free: 384 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.895e-05/0.003635, allocations: 0 / 380.3 MB, free: 384 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002263/0.003861, allocations: 39.77 kB / 380.3 MB, free: 344 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000285/0.004146, allocations: 83.56 kB / 380.4 MB, free: 260 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002965/0.004443, allocations: 123.6 kB / 380.5 MB, free: 136 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001743/0.004617, allocations: 91.69 kB / 380.6 MB, free: 44 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.004726, allocations: 27.97 kB / 380.7 MB, free: 16 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.104e-05/0.004807, allocations: 39.91 kB / 380.7 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.496e-05/0.004892, allocations: 35.89 kB / 380.7 MB, free: 15.94 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.641e-05/0.004908, allocations: 4 kB / 380.7 MB, free: 15.94 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.192e-05/0.005, allocations: 47.92 kB / 380.8 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.037e-05/0.005051, allocations: 27.91 kB / 380.8 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.854e-05/0.005079, allocations: 11.94 kB / 380.8 MB, free: 15.85 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001679/0.005247, allocations: 103.6 kB / 380.9 MB, free: 15.75 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.786e-06/0.00525, allocations: 0 / 380.9 MB, free: 15.75 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.005251, allocations: 0 / 380.9 MB, free: 15.75 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.005256, allocations: 0 / 380.9 MB, free: 15.75 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004432/0.005699, allocations: 436 kB / 381.3 MB, free: 15.29 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.005738, allocations: 8.031 kB / 381.4 MB, free: 15.28 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.469e-05/0.005793, allocations: 20.84 kB / 381.4 MB, free: 15.26 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001649/0.005958, allocations: 147.3 kB / 381.5 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.092e-05/0.005969, allocations: 4.375 kB / 381.5 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.039e-05/0.005999, allocations: 12.33 kB / 381.5 MB, free: 15.08 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001475/0.006146, allocations: 70.94 kB / 381.6 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.006157, allocations: 192 / 381.6 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.006169, allocations: 8.125 kB / 381.6 MB, free: 14.99 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.749e-06/0.006179, allocations: 4 kB / 381.6 MB, free: 14.99 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.336e-05/0.006232, allocations: 27.72 kB / 381.6 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003586/0.006591, allocations: 319.6 kB / 382 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.226e-05/0.006673, allocations: 55.03 kB / 382 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.474e-05/0.006708, allocations: 19.62 kB / 382 MB, free: 14.53 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.801e-05/0.006736, allocations: 4 kB / 382 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.901e-05/0.006765, allocations: 37.33 kB / 382.1 MB, free: 14.48 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.573e-06/0.006766, allocations: 4 kB / 382.1 MB, free: 14.47 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006442/0.007411, allocations: 237.7 kB / 382.3 MB, free: 14.23 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.875e-05/0.007439, allocations: 51.41 kB / 382.4 MB, free: 14.17 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001216/0.007561, allocations: 217 kB / 382.6 MB, free: 13.95 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.155e-05/0.007572, allocations: 29.7 kB / 382.6 MB, free: 13.91 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.603e-05/0.007628, allocations: 146.8 kB / 382.7 MB, free: 13.76 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.868e-05/0.007667, allocations: 47.64 kB / 382.8 MB, free: 13.71 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.899e-05/0.007706, allocations: 35.38 kB / 382.8 MB, free: 13.67 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001133/0.007819, allocations: 0.4923 MB / 383.3 MB, free: 13.17 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.413e-05/0.007854, allocations: 19.92 kB / 383.3 MB, free: 13.15 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.929e-05/0.007883, allocations: 24.11 kB / 383.4 MB, free: 13.12 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.848e-05/0.007951, allocations: 47.69 kB / 383.4 MB, free: 13.07 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.007952, allocations: 0 / 383.4 MB, free: 13.07 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001238/0.008076, allocations: 97.62 kB / 383.5 MB, free: 12.97 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.008089, allocations: 4 kB / 383.5 MB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.177e-06/0.008093, allocations: 0 / 383.5 MB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.008111, allocations: 0 / 383.5 MB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.544e-05/0.008206, allocations: 27.92 kB / 383.5 MB, free: 12.94 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/0.008212, allocations: 7.938 kB / 383.5 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.087e-05/0.008233, allocations: 8 kB / 383.5 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.354e-06/0.00824, allocations: 4 kB / 383.5 MB, free: 12.92 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 (13): * Single equations (assignments): 13 * 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 9.374e-05/0.008334, allocations: 160.6 kB / 383.7 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.941e-05/0.008364, allocations: 15.91 kB / 383.7 MB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001941/0.008558, allocations: 129.7 kB / 383.8 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.008561, allocations: 4 kB / 383.9 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.008566, allocations: 7.875 kB / 383.9 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.00857, allocations: 3.984 kB / 383.9 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003563/0.008926, allocations: 421.1 kB / 384.3 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.008928, allocations: 0 / 384.3 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.708e-05/0.008986, allocations: 27.92 kB / 384.3 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.008988, allocations: 0 / 384.3 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.667e-06/0.008997, allocations: 4 kB / 384.3 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.009, allocations: 3.938 kB / 384.3 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.009001, allocations: 0 / 384.3 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001531/0.009154, allocations: 259.6 kB / 384.6 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.285e-05/0.009167, allocations: 15.84 kB / 384.6 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.521e-05/0.009182, allocations: 11.98 kB / 384.6 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.453e-05/0.009216, allocations: 8.031 kB / 384.6 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.911e-05/0.009256, allocations: 7.984 kB / 384.6 MB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.562e-06/0.009262, allocations: 4 kB / 384.6 MB, free: 11.77 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.204e-05/0.009324, allocations: 155.2 kB / 384.8 MB, free: 11.62 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.009324, allocations: 3.938 kB / 384.8 MB, free: 11.62 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000175/0.009499, allocations: 27.94 kB / 384.8 MB, free: 11.59 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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.0009422/0.01044, allocations: 429.5 kB / 385.2 MB, free: 11.33 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000138/0.01058, allocations: 59.66 kB / 385.3 MB, free: 11.27 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.01058, allocations: 4 kB / 385.3 MB, free: 11.26 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.325e-05/0.01062, allocations: 51.42 kB / 385.3 MB, free: 11.21 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002151/0.01084, allocations: 26.27 kB / 385.4 MB, free: 11.19 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003869/0.01123, allocations: 246.3 kB / 385.6 MB, free: 10.91 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.401e-05/0.01127, allocations: 71.33 kB / 385.7 MB, free: 10.82 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.172e-05/0.01132, allocations: 28.53 kB / 385.7 MB, free: 10.8 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.67e-05/0.01136, allocations: 20.48 kB / 385.7 MB, free: 10.78 MB / 362.7 MB Notification: Performance of SimCode: time 1.011e-06/0.01136, allocations: 0 / 385.7 MB, free: 10.78 MB / 362.7 MB Notification: Performance of Templates: time 0.003315/0.01467, allocations: 1.599 MB / 387.3 MB, free: 9.191 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test29.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test29.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test29 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test29/Test29.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.359723119996488]