Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.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.0009286/0.0009286, allocations: 83.58 kB / 21.18 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.0009737/0.0009737, allocations: 165 kB / 24.56 MB, free: 12 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.9582/0.9582, allocations: 177.1 MB / 205 MB, free: 5.242 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.3035/0.3035, allocations: 32.8 MB / 294.3 MB, free: 1.223 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.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 376 MB, free: 4.652 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.332e-05/3.538e-05, allocations: 13.48 kB / 376 MB, free: 4.641 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test27): time 0.003347/0.003382, allocations: 1.665 MB / 377.7 MB, free: 2.961 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007185/0.004101, allocations: 0.5415 MB / 378.2 MB, free: 2.414 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.526e-05/0.004156, allocations: 4 kB / 378.2 MB, free: 2.41 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003041/0.00446, allocations: 123.6 kB / 378.4 MB, free: 2.289 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003199/0.00478, allocations: 131.4 kB / 378.5 MB, free: 2.16 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000264/0.005044, allocations: 111.7 kB / 378.6 MB, free: 2.051 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001683/0.005212, allocations: 107.7 kB / 378.7 MB, free: 1.945 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.525e-05/0.005307, allocations: 8 kB / 378.7 MB, free: 1.938 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.579e-05/0.005383, allocations: 59.86 kB / 378.8 MB, free: 1.879 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001153/0.005499, allocations: 87.83 kB / 378.9 MB, free: 1.793 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.723e-05/0.005516, allocations: 4 kB / 378.9 MB, free: 1.789 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.035e-05/0.005606, allocations: 43.92 kB / 378.9 MB, free: 1.746 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.295e-05/0.005659, allocations: 31.84 kB / 378.9 MB, free: 1.715 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.939e-05/0.005689, allocations: 15.94 kB / 379 MB, free: 1.699 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001699/0.005858, allocations: 103.5 kB / 379.1 MB, free: 1.598 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.005862, allocations: 0 / 379.1 MB, free: 1.598 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.005863, allocations: 0 / 379.1 MB, free: 1.598 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.03e-06/0.005868, allocations: 4 kB / 379.1 MB, free: 1.594 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004214/0.006289, allocations: 471.7 kB / 379.5 MB, free: 1.098 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.006324, allocations: 8.031 kB / 379.5 MB, free: 1.09 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.639e-05/0.00637, allocations: 16.84 kB / 379.5 MB, free: 1.074 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001353/0.006505, allocations: 152.4 kB / 379.7 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.007e-06/0.006514, allocations: 4.312 kB / 379.7 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.085e-05/0.006535, allocations: 4.375 kB / 379.7 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001098/0.006645, allocations: 58.94 kB / 379.8 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.006655, allocations: 192 / 379.8 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.335e-05/0.006668, allocations: 8.125 kB / 379.8 MB, free: 0.8164 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/0.006674, allocations: 4 kB / 379.8 MB, free: 0.8125 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.271e-05/0.006707, allocations: 15.98 kB / 379.8 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003227/0.00703, allocations: 307.7 kB / 380.1 MB, free: 472 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.653e-05/0.007096, allocations: 46.98 kB / 380.1 MB, free: 412 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.564e-05/0.007122, allocations: 23.56 kB / 380.2 MB, free: 384 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/0.007141, allocations: 0 / 380.2 MB, free: 384 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.17e-05/0.007163, allocations: 33.39 kB / 380.2 MB, free: 340 kB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.007164, allocations: 0 / 380.2 MB, free: 340 kB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005697/0.007733, allocations: 177.3 kB / 380.4 MB, free: 156 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.22e-05/0.007765, allocations: 55.34 kB / 380.4 MB, free: 88 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001755/0.007941, allocations: 274.8 kB / 380.7 MB, free: 15.8 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.254e-05/0.007953, allocations: 29.7 kB / 380.7 MB, free: 15.76 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.7e-05/0.00802, allocations: 166.8 kB / 380.9 MB, free: 15.59 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.589e-05/0.008046, allocations: 27.73 kB / 380.9 MB, free: 15.57 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.281e-05/0.008079, allocations: 27.38 kB / 380.9 MB, free: 15.53 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000134/0.008213, allocations: 0.5079 MB / 381.4 MB, free: 15.01 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.606e-05/0.008239, allocations: 11.98 kB / 381.4 MB, free: 15 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.941e-05/0.008259, allocations: 8.078 kB / 381.5 MB, free: 14.99 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.41e-05/0.008313, allocations: 43.88 kB / 381.5 MB, free: 14.95 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.008314, allocations: 4 kB / 381.5 MB, free: 14.94 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.758e-05/0.008411, allocations: 81.53 kB / 381.6 MB, free: 14.86 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.008425, allocations: 8 kB / 381.6 MB, free: 14.85 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.00843, allocations: 0 / 381.6 MB, free: 14.85 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.008442, allocations: 0 / 381.6 MB, free: 14.85 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.982e-05/0.008522, allocations: 19.98 kB / 381.6 MB, free: 14.83 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.008527, allocations: 0 / 381.6 MB, free: 14.83 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.293e-05/0.00855, allocations: 8 kB / 381.6 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.491e-06/0.008556, allocations: 0 / 381.6 MB, free: 14.82 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 7.591e-05/0.008632, allocations: 164.5 kB / 381.8 MB, free: 14.65 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.565e-05/0.008657, allocations: 19.91 kB / 381.8 MB, free: 14.63 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001449/0.008802, allocations: 87.06 kB / 381.9 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.008806, allocations: 4 kB / 381.9 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.008811, allocations: 0 / 381.9 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.008814, allocations: 0 / 381.9 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003277/0.009142, allocations: 396.9 kB / 382.3 MB, free: 14.1 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.009144, allocations: 3.938 kB / 382.3 MB, free: 14.1 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.318e-05/0.009187, allocations: 15.98 kB / 382.3 MB, free: 14.08 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.00919, allocations: 0 / 382.3 MB, free: 14.08 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/0.009198, allocations: 8.031 kB / 382.3 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.0092, allocations: 0 / 382.3 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.009201, allocations: 0 / 382.3 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001337/0.009335, allocations: 255.3 kB / 382.6 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.277e-05/0.009348, allocations: 7.953 kB / 382.6 MB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.285e-05/0.009361, allocations: 0 / 382.6 MB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.482e-05/0.009395, allocations: 4 kB / 382.6 MB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.246e-05/0.009428, allocations: 8.344 kB / 382.6 MB, free: 13.78 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.811e-06/0.009434, allocations: 8 kB / 382.6 MB, free: 13.77 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.268e-05/0.009526, allocations: 192.1 kB / 382.8 MB, free: 13.59 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009526, allocations: 0 / 382.8 MB, free: 13.59 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001757/0.009702, allocations: 24 kB / 382.8 MB, free: 13.56 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 (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.000928/0.01063, allocations: 438.5 kB / 383.2 MB, free: 13.29 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001135/0.01074, allocations: 43.61 kB / 383.3 MB, free: 13.25 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.01075, allocations: 0 / 383.3 MB, free: 13.25 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.188e-05/0.01078, allocations: 31.61 kB / 383.3 MB, free: 13.21 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002339/0.01101, allocations: 27.94 kB / 383.3 MB, free: 13.18 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003936/0.0114, allocations: 271.2 kB / 383.6 MB, free: 12.89 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.045e-05/0.01146, allocations: 75.33 kB / 383.7 MB, free: 12.79 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.811e-05/0.0115, allocations: 21 kB / 383.7 MB, free: 12.77 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.28e-05/0.01154, allocations: 20.5 kB / 383.7 MB, free: 12.75 MB / 362.7 MB Notification: Performance of SimCode: time 8.32e-07/0.01154, allocations: 0 / 383.7 MB, free: 12.75 MB / 362.7 MB Notification: Performance of Templates: time 0.003561/0.0151, allocations: 1.533 MB / 385.2 MB, free: 11.23 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test27/Test27.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.1316809081472456]