Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test7.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.0009741/0.0009741, 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.001079/0.001079, allocations: 161 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 1.055/1.055, allocations: 177.1 MB / 205 MB, free: 5.625 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.3106/0.3106, allocations: 34.25 MB / 295.7 MB, free: 0.7539 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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test7") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 378 MB, free: 2.648 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.789e-05/2.95e-05, allocations: 2.312 kB / 378 MB, free: 2.645 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test7): time 0.002495/0.002524, allocations: 1.638 MB / 379.7 MB, free: 0.9922 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007685/0.003293, allocations: 0.5336 MB / 380.2 MB, free: 464 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.419e-05/0.003347, allocations: 4 kB / 380.2 MB, free: 460 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002199/0.003567, allocations: 31.72 kB / 380.3 MB, free: 428 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002891/0.003856, allocations: 79.61 kB / 380.3 MB, free: 348 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002108/0.004067, allocations: 91.64 kB / 380.4 MB, free: 256 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001426/0.00421, allocations: 63.83 kB / 380.5 MB, free: 192 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.701e-05/0.004307, allocations: 7.984 kB / 380.5 MB, free: 184 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.557e-05/0.004362, allocations: 31.86 kB / 380.5 MB, free: 152 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.628e-05/0.004418, allocations: 19.92 kB / 380.5 MB, free: 132 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.503e-05/0.004434, allocations: 4 kB / 380.5 MB, free: 128 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.635e-05/0.0045, allocations: 35.92 kB / 380.6 MB, free: 92 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.813e-05/0.004548, allocations: 19.91 kB / 380.6 MB, free: 72 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.935e-05/0.004577, allocations: 11.94 kB / 380.6 MB, free: 60 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001555/0.004733, allocations: 67.75 kB / 380.7 MB, free: 15.99 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.816e-06/0.004736, allocations: 0 / 380.7 MB, free: 15.99 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.004737, allocations: 0 / 380.7 MB, free: 15.99 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.083e-06/0.004744, allocations: 4 kB / 380.7 MB, free: 15.99 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004163/0.00516, allocations: 416.1 kB / 381.1 MB, free: 15.55 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.005198, allocations: 8.031 kB / 381.1 MB, free: 15.54 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.457e-05/0.005243, allocations: 8.891 kB / 381.1 MB, free: 15.53 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001337/0.005377, allocations: 147.3 kB / 381.2 MB, free: 15.36 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.009e-05/0.005387, allocations: 4.375 kB / 381.2 MB, free: 15.36 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.572e-05/0.005412, allocations: 4.375 kB / 381.3 MB, free: 15.36 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000114/0.005526, allocations: 50.95 kB / 381.3 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.005537, allocations: 4.172 kB / 381.3 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.005548, allocations: 8.125 kB / 381.3 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-06/0.005556, allocations: 3.984 kB / 381.3 MB, free: 15.28 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.961e-05/0.005586, allocations: 8 kB / 381.3 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002773/0.005863, allocations: 271.8 kB / 381.6 MB, free: 14.97 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001757/0.006039, allocations: 39.05 kB / 381.6 MB, free: 14.92 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.511e-05/0.006064, allocations: 19.69 kB / 381.6 MB, free: 14.9 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.151e-05/0.006085, allocations: 3.938 kB / 381.7 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.111e-05/0.006106, allocations: 37.39 kB / 381.7 MB, free: 14.85 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.473e-06/0.006108, allocations: 0 / 381.7 MB, free: 14.85 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.000353/0.006461, allocations: 105.4 kB / 381.8 MB, free: 14.74 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.078e-05/0.006491, allocations: 55.34 kB / 381.8 MB, free: 14.67 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001197/0.006611, allocations: 208.9 kB / 382.1 MB, free: 14.45 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.033e-05/0.006621, allocations: 25.7 kB / 382.1 MB, free: 14.42 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.916e-05/0.006681, allocations: 142.9 kB / 382.2 MB, free: 14.28 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.066e-05/0.006701, allocations: 15.89 kB / 382.2 MB, free: 14.26 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.306e-05/0.006734, allocations: 31.36 kB / 382.3 MB, free: 14.22 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001199/0.006854, allocations: 0.4922 MB / 382.8 MB, free: 13.72 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.141e-05/0.006876, allocations: 7.984 kB / 382.8 MB, free: 13.71 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.412e-05/0.00689, allocations: 8.062 kB / 382.8 MB, free: 13.7 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.033e-05/0.00693, allocations: 23.69 kB / 382.8 MB, free: 13.68 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.006932, allocations: 0 / 382.8 MB, free: 13.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.643e-05/0.007018, allocations: 69.53 kB / 382.9 MB, free: 13.6 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.007031, allocations: 4 kB / 382.9 MB, free: 13.6 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.007036, allocations: 0 / 382.9 MB, free: 13.6 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.00705, allocations: 0 / 382.9 MB, free: 13.6 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.199e-05/0.007102, allocations: 15.98 kB / 382.9 MB, free: 13.58 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.251e-06/0.007108, allocations: 4 kB / 382.9 MB, free: 13.58 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.689e-05/0.007125, allocations: 0 / 382.9 MB, free: 13.58 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.162e-06/0.007131, allocations: 4 kB / 382.9 MB, free: 13.57 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 7.224e-05/0.007203, allocations: 164.5 kB / 383 MB, free: 13.4 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.123e-05/0.007224, allocations: 7.953 kB / 383.1 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001289/0.007353, allocations: 70.12 kB / 383.1 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.007355, allocations: 0 / 383.1 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.00736, allocations: 3.938 kB / 383.1 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.007363, allocations: 0 / 383.1 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000251/0.007614, allocations: 329.3 kB / 383.5 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.007616, allocations: 0 / 383.5 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.58e-05/0.007652, allocations: 8.312 kB / 383.5 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.007655, allocations: 3.984 kB / 383.5 MB, free: 12.94 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.246e-06/0.007664, allocations: 8 kB / 383.5 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.007666, allocations: 4 kB / 383.5 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.007668, allocations: 0 / 383.5 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001101/0.007778, allocations: 207.8 kB / 383.7 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.748e-06/0.007788, allocations: 7.953 kB / 383.7 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.252e-05/0.0078, allocations: 4 kB / 383.7 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.206e-05/0.007832, allocations: 4 kB / 383.7 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.247e-05/0.007865, allocations: 7.984 kB / 383.7 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.399e-06/0.007869, allocations: 4 kB / 383.7 MB, free: 12.68 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.501e-05/0.007944, allocations: 151.1 kB / 383.9 MB, free: 12.53 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007944, allocations: 4 kB / 383.9 MB, free: 12.53 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001614/0.008106, allocations: 11.98 kB / 383.9 MB, free: 12.52 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.0008283/0.008934, allocations: 382 kB / 384.2 MB, free: 12.27 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001008/0.009035, allocations: 27.62 kB / 384.3 MB, free: 12.24 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.009037, allocations: 0 / 384.3 MB, free: 12.24 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.17e-05/0.009058, allocations: 19.67 kB / 384.3 MB, free: 12.22 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002229/0.009281, allocations: 26.67 kB / 384.3 MB, free: 12.2 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003326/0.009614, allocations: 186.5 kB / 384.5 MB, free: 11.98 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.196e-05/0.009656, allocations: 67.34 kB / 384.6 MB, free: 11.9 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.932e-05/0.009685, allocations: 7.984 kB / 384.6 MB, free: 11.89 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.942e-05/0.009714, allocations: 20.44 kB / 384.6 MB, free: 11.87 MB / 362.7 MB Notification: Performance of SimCode: time 1.072e-06/0.009716, allocations: 0 / 384.6 MB, free: 11.87 MB / 362.7 MB Notification: Performance of Templates: time 0.003019/0.01273, allocations: 1.158 MB / 385.7 MB, free: 10.72 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test7.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test7 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test7/Test7.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.358167252037674]