Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.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.001041/0.001041, allocations: 79.59 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.0009776/0.0009776, 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 0.978/0.978, allocations: 177.1 MB / 205 MB, free: 5.57 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.2644/0.2644, allocations: 34.25 MB / 295.7 MB, free: 0.7422 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.CombiTable2Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|const.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|const.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.913e-06/1.913e-06, allocations: 0 / 378 MB, free: 2.629 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.074e-05/3.265e-05, allocations: 6.312 kB / 378.1 MB, free: 2.621 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test8): time 0.003177/0.00321, allocations: 1.646 MB / 379.7 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001034/0.004244, allocations: 0.5569 MB / 380.3 MB, free: 408 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.348e-05/0.004308, allocations: 4 kB / 380.3 MB, free: 404 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000639/0.004947, allocations: 451.1 kB / 380.7 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005293/0.005476, allocations: 299.1 kB / 381 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004306/0.005907, allocations: 167.5 kB / 381.2 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002909/0.006198, allocations: 171.6 kB / 381.3 MB, free: 15.33 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001046/0.006302, allocations: 7.984 kB / 381.3 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001479/0.00645, allocations: 119.8 kB / 381.4 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002686/0.006719, allocations: 239.6 kB / 381.7 MB, free: 14.97 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.274e-05/0.006741, allocations: 7.938 kB / 381.7 MB, free: 14.96 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.583e-05/0.006827, allocations: 27.92 kB / 381.7 MB, free: 14.93 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001208/0.006948, allocations: 83.72 kB / 381.8 MB, free: 14.85 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.544e-05/0.007003, allocations: 35.73 kB / 381.8 MB, free: 14.82 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002855/0.007289, allocations: 183.2 kB / 382 MB, free: 14.64 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.007295, allocations: 4 kB / 382 MB, free: 14.63 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.007296, allocations: 4 kB / 382 MB, free: 14.63 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.621e-06/0.007302, allocations: 0 / 382 MB, free: 14.63 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.0008226/0.008124, allocations: 0.6815 MB / 382.7 MB, free: 13.91 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/0.00817, allocations: 15.97 kB / 382.7 MB, free: 13.89 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.477e-05/0.008255, allocations: 44.64 kB / 382.8 MB, free: 13.85 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002658/0.008521, allocations: 248.9 kB / 383 MB, free: 13.58 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.322e-05/0.008534, allocations: 384 / 383 MB, free: 13.58 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.134e-05/0.008545, allocations: 384 / 383 MB, free: 13.58 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001487/0.008694, allocations: 54.95 kB / 383.1 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.008702, allocations: 192 / 383.1 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/0.008715, allocations: 12.11 kB / 383.1 MB, free: 13.51 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.029e-05/0.008725, allocations: 4 kB / 383.1 MB, free: 13.5 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.572e-05/0.008761, allocations: 8 kB / 383.1 MB, free: 13.5 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005423/0.009303, allocations: 415.7 kB / 383.5 MB, free: 13.05 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.464e-05/0.009378, allocations: 31.06 kB / 383.5 MB, free: 13.01 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.963e-05/0.009407, allocations: 15.62 kB / 383.5 MB, free: 12.99 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.263e-05/0.00943, allocations: 0 / 383.5 MB, free: 12.99 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.151e-05/0.009462, allocations: 41.45 kB / 383.6 MB, free: 12.94 MB / 362.7 MB Notification: Performance of pre-optimization done (n=2): time 1.372e-06/0.009463, allocations: 0 / 383.6 MB, free: 12.94 MB / 362.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002186/0.009682, allocations: 85.44 kB / 383.7 MB, free: 12.85 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.987e-05/0.009721, allocations: 55.41 kB / 383.7 MB, free: 12.79 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006463/0.01037, allocations: 0.6315 MB / 384.3 MB, free: 12.14 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.562e-05/0.01038, allocations: 25.7 kB / 384.4 MB, free: 12.11 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002243/0.01061, allocations: 286.8 kB / 384.6 MB, free: 11.82 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.865e-05/0.01064, allocations: 3.953 kB / 384.7 MB, free: 11.82 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.937e-05/0.01069, allocations: 23.38 kB / 384.7 MB, free: 11.79 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002594/0.01095, allocations: 0.547 MB / 385.2 MB, free: 11.23 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2e-05/0.01097, allocations: 4 kB / 385.2 MB, free: 11.22 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.585e-05/0.01098, allocations: 3.984 kB / 385.2 MB, free: 11.22 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.766e-05/0.01103, allocations: 27.72 kB / 385.3 MB, free: 11.19 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.01103, allocations: 0 / 385.3 MB, free: 11.19 MB / 362.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.00012/0.01115, allocations: 81.36 kB / 385.3 MB, free: 11.1 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.01117, allocations: 4 kB / 385.3 MB, free: 11.1 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.01118, allocations: 0 / 385.3 MB, free: 11.1 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.986e-05/0.0112, allocations: 4 kB / 385.3 MB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.785e-05/0.01129, allocations: 7.984 kB / 385.4 MB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.0113, allocations: 3.938 kB / 385.4 MB, free: 11.08 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.672e-05/0.01134, allocations: 0 / 385.4 MB, free: 11.08 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.195e-06/0.01135, allocations: 0 / 385.4 MB, free: 11.08 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 (2): * Single equations (assignments): 2 * 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 0.0001/0.01145, allocations: 164.6 kB / 385.5 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.778e-05/0.0115, allocations: 47.64 kB / 385.6 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001652/0.01167, allocations: 80.67 kB / 385.6 MB, free: 10.78 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.01167, allocations: 4 kB / 385.6 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.01168, allocations: 0 / 385.6 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.01168, allocations: 0 / 385.6 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003099/0.01199, allocations: 272.5 kB / 385.9 MB, free: 10.47 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.012, allocations: 0 / 385.9 MB, free: 10.47 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.01e-05/0.01204, allocations: 4 kB / 385.9 MB, free: 10.47 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.602e-06/0.01204, allocations: 3.938 kB / 385.9 MB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.959e-06/0.01205, allocations: 8.016 kB / 385.9 MB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.494e-06/0.01206, allocations: 0 / 385.9 MB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.01206, allocations: 4 kB / 385.9 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001671/0.01222, allocations: 223.6 kB / 386.2 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.171e-05/0.01227, allocations: 39.66 kB / 386.2 MB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.465e-05/0.01229, allocations: 3.984 kB / 386.2 MB, free: 10.17 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.846e-05/0.01236, allocations: 4 kB / 386.2 MB, free: 10.17 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.996e-05/0.01238, allocations: 4 kB / 386.2 MB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-06/0.01238, allocations: 0 / 386.2 MB, free: 10.16 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004166/0.0128, allocations: 426.8 kB / 386.6 MB, free: 9.75 MB / 362.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.0128, allocations: 4.031 kB / 386.6 MB, free: 9.746 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002994/0.0131, allocations: 19.94 kB / 386.6 MB, free: 9.727 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 (2): * Single equations (assignments): 2 * 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.001093/0.01419, allocations: 337.8 kB / 387 MB, free: 9.512 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001231/0.01431, allocations: 15.69 kB / 387 MB, free: 9.492 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.01432, allocations: 0 / 387 MB, free: 9.492 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.746e-05/0.01433, allocations: 15.62 kB / 387 MB, free: 9.473 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003947/0.01473, allocations: 45.33 kB / 387 MB, free: 9.43 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009206/0.01565, allocations: 0.5651 MB / 387.6 MB, free: 8.836 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001032/0.01575, allocations: 119.2 kB / 387.7 MB, free: 8.699 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.444e-05/0.01581, allocations: 7.984 kB / 387.7 MB, free: 8.691 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.729e-05/0.01584, allocations: 12.5 kB / 387.7 MB, free: 8.676 MB / 362.7 MB Notification: Performance of SimCode: time 1.603e-06/0.01585, allocations: 0 / 387.7 MB, free: 8.676 MB / 362.7 MB Notification: Performance of Templates: time 0.005308/0.02115, allocations: 1.222 MB / 389 MB, free: 7.465 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test8/Test8.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.1837295363657176]