Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.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.001161/0.001161, allocations: 77.88 kB / 21.42 MB, free: 3.074 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.001433/0.001433, allocations: 166.8 kB / 24.82 MB, free: 9.273 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 1.11/1.11, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.3282/0.3282, allocations: 34.26 MB / 296.1 MB, free: 0.7227 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.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.1.0_ModelicaTest.Tables.CombiTable1Ds.Test27") translateModel(ModelicaTest.Tables.CombiTable1Ds.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.1.0_ModelicaTest.Tables.CombiTable1Ds.Test27") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 378.5 MB, free: 2.359 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.302e-05/2.514e-05, allocations: 5.406 kB / 378.5 MB, free: 2.355 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test27): time 0.002325/0.00235, allocations: 1.638 MB / 380.2 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007561/0.003106, allocations: 0.5297 MB / 380.7 MB, free: 172 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.081e-05/0.003167, allocations: 0 / 380.7 MB, free: 172 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000301/0.003468, allocations: 127.5 kB / 380.8 MB, free: 44 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002963/0.003764, allocations: 123.5 kB / 380.9 MB, free: 15.92 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002139/0.003978, allocations: 91.69 kB / 381 MB, free: 15.83 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001578/0.004135, allocations: 107.7 kB / 381.1 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.606e-05/0.004232, allocations: 15.98 kB / 381.2 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.221e-05/0.004304, allocations: 51.88 kB / 381.2 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001155/0.004419, allocations: 87.83 kB / 381.3 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.546e-05/0.004435, allocations: 3.984 kB / 381.3 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.999e-05/0.004515, allocations: 47.92 kB / 381.3 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.717e-05/0.004562, allocations: 23.92 kB / 381.4 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.565e-05/0.004587, allocations: 15.88 kB / 381.4 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001548/0.004742, allocations: 103.6 kB / 381.5 MB, free: 15.38 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.883e-06/0.004744, allocations: 4 kB / 381.5 MB, free: 15.38 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.21e-07/0.004745, allocations: 0 / 381.5 MB, free: 15.38 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.867e-06/0.004749, allocations: 0 / 381.5 MB, free: 15.38 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003696/0.005119, allocations: 475.6 kB / 382 MB, free: 14.88 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.005155, allocations: 8.031 kB / 382 MB, free: 14.87 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.229e-05/0.005187, allocations: 16.84 kB / 382 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001272/0.005314, allocations: 156.3 kB / 382.1 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.905e-06/0.005322, allocations: 4.375 kB / 382.1 MB, free: 14.67 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.766e-05/0.00534, allocations: 4.359 kB / 382.1 MB, free: 14.67 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.535e-05/0.005425, allocations: 54.95 kB / 382.2 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.005434, allocations: 12.19 kB / 382.2 MB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.805e-06/0.005442, allocations: 4.125 kB / 382.2 MB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.005447, allocations: 0 / 382.2 MB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.233e-05/0.005469, allocations: 7.984 kB / 382.2 MB, free: 14.58 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002493/0.005719, allocations: 276.3 kB / 382.5 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.685e-05/0.005775, allocations: 47.03 kB / 382.5 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.503e-05/0.00579, allocations: 11.69 kB / 382.5 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.12e-05/0.005812, allocations: 0 / 382.5 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.053e-05/0.005832, allocations: 41.41 kB / 382.6 MB, free: 14.16 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 8.62e-07/0.005833, allocations: 4 kB / 382.6 MB, free: 14.16 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.000429/0.006262, allocations: 157.3 kB / 382.7 MB, free: 14 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.778e-05/0.00629, allocations: 55.41 kB / 382.8 MB, free: 13.93 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000144/0.006434, allocations: 266.7 kB / 383.1 MB, free: 13.65 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.203e-05/0.006446, allocations: 29.7 kB / 383.1 MB, free: 13.61 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.537e-05/0.006511, allocations: 170.8 kB / 383.3 MB, free: 13.44 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.621e-05/0.006537, allocations: 19.81 kB / 383.3 MB, free: 13.42 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.313e-05/0.006571, allocations: 31.36 kB / 383.3 MB, free: 13.38 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001302/0.006701, allocations: 0.5039 MB / 383.8 MB, free: 12.87 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.434e-05/0.006715, allocations: 8 kB / 383.8 MB, free: 12.86 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.598e-05/0.006731, allocations: 15.97 kB / 383.8 MB, free: 12.84 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.567e-05/0.006767, allocations: 27.69 kB / 383.9 MB, free: 12.81 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.006769, allocations: 3.938 kB / 383.9 MB, free: 12.81 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 7.955e-05/0.006848, allocations: 73.53 kB / 383.9 MB, free: 12.73 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.006861, allocations: 8 kB / 383.9 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.006866, allocations: 0 / 383.9 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.007e-06/0.006875, allocations: 0 / 383.9 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.161e-05/0.006936, allocations: 19.98 kB / 384 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.346e-06/0.00694, allocations: 0 / 384 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.942e-05/0.006959, allocations: 7.938 kB / 384 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.508e-06/0.006964, allocations: 4 kB / 384 MB, free: 12.69 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.113e-05/0.007035, allocations: 172.5 kB / 384.1 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.138e-05/0.007056, allocations: 15.91 kB / 384.2 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001149/0.007171, allocations: 87.34 kB / 384.2 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.007173, allocations: 0 / 384.2 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-06/0.007175, allocations: 0 / 384.2 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.007177, allocations: 0 / 384.2 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000264/0.007441, allocations: 358.1 kB / 384.6 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.007443, allocations: 0 / 384.6 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.978e-05/0.007483, allocations: 20.02 kB / 384.6 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.007485, allocations: 0 / 384.6 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.604e-06/0.007493, allocations: 8 kB / 384.6 MB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.007494, allocations: 0 / 384.6 MB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.007495, allocations: 0 / 384.6 MB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001218/0.007617, allocations: 247.4 kB / 384.9 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.267e-05/0.007629, allocations: 15.91 kB / 384.9 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.119e-05/0.00764, allocations: 4 kB / 384.9 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.211e-05/0.007673, allocations: 0 / 384.9 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.156e-05/0.007694, allocations: 7.984 kB / 384.9 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.358e-06/0.007699, allocations: 4 kB / 384.9 MB, free: 11.7 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.26e-05/0.007771, allocations: 188.1 kB / 385.1 MB, free: 11.51 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007771, allocations: 0 / 385.1 MB, free: 11.51 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001525/0.007924, allocations: 16 kB / 385.1 MB, free: 11.5 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.0008524/0.008776, allocations: 433.6 kB / 385.5 MB, free: 11.23 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.314e-05/0.008859, allocations: 47.59 kB / 385.6 MB, free: 11.18 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.472e-06/0.008861, allocations: 0 / 385.6 MB, free: 11.18 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.58e-05/0.008886, allocations: 27.61 kB / 385.6 MB, free: 11.14 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002056/0.009092, allocations: 21.86 kB / 385.6 MB, free: 11.13 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003531/0.009445, allocations: 271.5 kB / 385.9 MB, free: 10.83 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.795e-05/0.009493, allocations: 71.33 kB / 385.9 MB, free: 10.74 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.619e-05/0.009529, allocations: 12.72 kB / 386 MB, free: 10.73 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.514e-05/0.009584, allocations: 82.19 kB / 386 MB, free: 10.64 MB / 362.7 MB Notification: Performance of SimCode: time 7.21e-07/0.009585, allocations: 4 kB / 386 MB, free: 10.64 MB / 362.7 MB Notification: Performance of Templates: time 0.003169/0.01275, allocations: 1.53 MB / 387.6 MB, free: 9.117 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test27.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test27.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test27 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/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.266135161742568]