Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test20.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.001429/0.001429, 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.001185/0.001185, 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.9799/0.9799, allocations: 177.1 MB / 205.3 MB, free: 5.641 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.2655/0.2655, allocations: 34.26 MB / 296 MB, free: 0.7773 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.Test20,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.Test20") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test20,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.Test20") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 378 MB, free: 2.988 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.073e-05/2.248e-05, allocations: 2.312 kB / 378 MB, free: 2.984 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test20): time 0.001978/0.002001, allocations: 1.646 MB / 379.7 MB, free: 1.324 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001159/0.00316, allocations: 1.266 MB / 380.9 MB, free: 52 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.306e-05/0.003213, allocations: 0 / 380.9 MB, free: 52 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002294/0.003442, allocations: 23.84 kB / 381 MB, free: 28 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000268/0.00371, allocations: 91.48 kB / 381.1 MB, free: 15.94 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001715/0.003882, allocations: 91.62 kB / 381.1 MB, free: 15.85 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001211/0.004003, allocations: 71.78 kB / 381.2 MB, free: 15.78 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.818e-05/0.004101, allocations: 11.98 kB / 381.2 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.653e-05/0.004158, allocations: 35.84 kB / 381.3 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.094e-05/0.004249, allocations: 23.91 kB / 381.3 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.623e-05/0.004265, allocations: 4 kB / 381.3 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001231/0.004388, allocations: 91.88 kB / 381.4 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.59e-05/0.004434, allocations: 11.94 kB / 381.4 MB, free: 15.6 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.291e-05/0.004467, allocations: 15.97 kB / 381.4 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002197/0.004686, allocations: 131.5 kB / 381.5 MB, free: 15.46 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.004689, allocations: 0 / 381.5 MB, free: 15.46 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.004689, allocations: 4 kB / 381.5 MB, free: 15.45 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.004694, allocations: 0 / 381.5 MB, free: 15.45 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.0005218/0.005215, allocations: 424 kB / 381.9 MB, free: 15 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.005254, allocations: 12.03 kB / 382 MB, free: 14.99 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.628e-05/0.0053, allocations: 12.89 kB / 382 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001802/0.00548, allocations: 139.8 kB / 382.1 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/0.005492, allocations: 4.375 kB / 382.1 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.682e-05/0.005519, allocations: 384 / 382.1 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00017/0.005689, allocations: 104 kB / 382.2 MB, free: 14.69 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.005701, allocations: 192 / 382.2 MB, free: 14.69 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.005713, allocations: 8.125 kB / 382.2 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.005721, allocations: 4 kB / 382.2 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.938e-05/0.00575, allocations: 7.984 kB / 382.2 MB, free: 14.67 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003015/0.006052, allocations: 275.8 kB / 382.5 MB, free: 14.37 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001791/0.006231, allocations: 46.98 kB / 382.6 MB, free: 14.31 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.979e-05/0.006261, allocations: 15.69 kB / 382.6 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.275e-05/0.006283, allocations: 3.938 kB / 382.6 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.787e-05/0.006311, allocations: 37.39 kB / 382.6 MB, free: 14.24 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.006312, allocations: 0 / 382.6 MB, free: 14.24 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003556/0.006668, allocations: 109.5 kB / 382.7 MB, free: 14.12 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.383e-05/0.006722, allocations: 85.11 kB / 382.8 MB, free: 14.02 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001447/0.006866, allocations: 195.8 kB / 383 MB, free: 13.82 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.114e-05/0.006878, allocations: 25.7 kB / 383 MB, free: 13.79 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.841e-05/0.006936, allocations: 142.9 kB / 383.2 MB, free: 13.64 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.475e-05/0.006961, allocations: 19.8 kB / 383.2 MB, free: 13.62 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.961e-05/0.00699, allocations: 23.38 kB / 383.2 MB, free: 13.59 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003004/0.007291, allocations: 0.4884 MB / 383.7 MB, free: 13.09 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.721e-05/0.007308, allocations: 4 kB / 383.7 MB, free: 13.09 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.719e-05/0.007345, allocations: 57.06 kB / 383.7 MB, free: 13.02 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.001e-05/0.007385, allocations: 27.62 kB / 383.8 MB, free: 12.98 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.007386, allocations: 32 / 383.8 MB, free: 12.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.568e-05/0.007462, allocations: 57.62 kB / 383.8 MB, free: 12.92 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.007476, allocations: 8 kB / 383.8 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.007481, allocations: 0 / 383.8 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.007497, allocations: 0 / 383.8 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.279e-05/0.00754, allocations: 11.98 kB / 383.8 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.007546, allocations: 0 / 383.8 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.298e-05/0.007569, allocations: 11.95 kB / 383.9 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.839e-06/0.007574, allocations: 0 / 383.9 MB, free: 12.89 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.007e-05/0.007644, allocations: 160.5 kB / 384 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.174e-05/0.007666, allocations: 19.83 kB / 384 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001176/0.007783, allocations: 74.12 kB / 384.1 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.007785, allocations: 0 / 384.1 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.007788, allocations: 0 / 384.1 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.007792, allocations: 0 / 384.1 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002302/0.008022, allocations: 329.6 kB / 384.4 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.008024, allocations: 0 / 384.4 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.028e-05/0.008054, allocations: 15.98 kB / 384.4 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.008056, allocations: 0 / 384.4 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.231e-06/0.008062, allocations: 0 / 384.4 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.008063, allocations: 0 / 384.4 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.008064, allocations: 4 kB / 384.4 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001065/0.00817, allocations: 211.8 kB / 384.7 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.035e-06/0.008178, allocations: 3.953 kB / 384.7 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.337e-05/0.008192, allocations: 3.938 kB / 384.7 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.473e-05/0.008226, allocations: 8 kB / 384.7 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.327e-05/0.00826, allocations: 3.984 kB / 384.7 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.335e-06/0.008262, allocations: 4 kB / 384.7 MB, free: 11.99 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.072e-05/0.008333, allocations: 149.5 kB / 384.8 MB, free: 11.85 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008333, allocations: 0 / 384.8 MB, free: 11.85 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002022/0.008535, allocations: 35.88 kB / 384.9 MB, free: 11.81 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.001195/0.00973, allocations: 486.9 kB / 385.3 MB, free: 11.51 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001254/0.009855, allocations: 31.67 kB / 385.4 MB, free: 11.47 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.175e-06/0.009858, allocations: 0 / 385.4 MB, free: 11.47 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.342e-05/0.009881, allocations: 19.62 kB / 385.4 MB, free: 11.45 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002243/0.01011, allocations: 31.91 kB / 385.4 MB, free: 11.42 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002947/0.0104, allocations: 165.9 kB / 385.6 MB, free: 11.23 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.521e-05/0.01044, allocations: 63.34 kB / 385.6 MB, free: 11.14 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.435e-05/0.01047, allocations: 11.97 kB / 385.7 MB, free: 11.13 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.953e-05/0.0105, allocations: 20.48 kB / 385.7 MB, free: 11.11 MB / 362.7 MB Notification: Performance of SimCode: time 4.81e-07/0.0105, allocations: 0 / 385.7 MB, free: 11.11 MB / 362.7 MB Notification: Performance of Templates: time 0.003462/0.01396, allocations: 1.824 MB / 387.5 MB, free: 9.293 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test20.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test20.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test20 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test20/Test20.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.291255118791014]