Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test18.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.001915/0.001915, allocations: 95.61 kB / 20.96 MB, free: 3.449 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.002127/0.002127, allocations: 161.3 kB / 24.27 MB, free: 144 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.591/1.591, allocations: 177.1 MB / 204.6 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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.3425/0.3425, allocations: 34.26 MB / 295.3 MB, free: 0.6797 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.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test18") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test18") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 377.3 MB, free: 2.973 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.651e-05/2.788e-05, allocations: 2.312 kB / 377.3 MB, free: 2.969 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test18): time 0.003173/0.003201, allocations: 1.625 MB / 378.9 MB, free: 1.332 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002073/0.005274, allocations: 1.266 MB / 380.2 MB, free: 60 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.868e-05/0.005322, allocations: 0 / 380.2 MB, free: 60 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002069/0.005529, allocations: 19.86 kB / 380.2 MB, free: 40 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003322/0.005861, allocations: 87.55 kB / 380.3 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002678/0.006129, allocations: 99.56 kB / 380.4 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000163/0.006292, allocations: 75.83 kB / 380.5 MB, free: 15.78 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.558e-05/0.006378, allocations: 11.98 kB / 380.5 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.771e-05/0.006466, allocations: 43.84 kB / 380.5 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003925/0.006858, allocations: 31.83 kB / 380.5 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.186e-05/0.00688, allocations: 4 kB / 380.6 MB, free: 15.69 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001762/0.007056, allocations: 87.89 kB / 380.6 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.185e-05/0.007108, allocations: 19.92 kB / 380.7 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.34e-05/0.007151, allocations: 23.91 kB / 380.7 MB, free: 15.56 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002951/0.007447, allocations: 155.5 kB / 380.8 MB, free: 15.41 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.007449, allocations: 4 kB / 380.8 MB, free: 15.41 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.00745, allocations: 0 / 380.8 MB, free: 15.41 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.147e-06/0.007454, allocations: 0 / 380.8 MB, free: 15.41 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005802/0.008035, allocations: 435.6 kB / 381.3 MB, free: 14.95 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.093e-05/0.008066, allocations: 8.031 kB / 381.3 MB, free: 14.94 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.564e-05/0.008121, allocations: 12.89 kB / 381.3 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002231/0.008344, allocations: 156.3 kB / 381.4 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.127e-06/0.008353, allocations: 384 / 381.4 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.234e-05/0.008376, allocations: 4.375 kB / 381.4 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002052/0.008581, allocations: 107.2 kB / 381.5 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.008592, allocations: 4.188 kB / 381.5 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.008604, allocations: 4.125 kB / 381.6 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.008609, allocations: 3.984 kB / 381.6 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.644e-05/0.008706, allocations: 23.98 kB / 381.6 MB, free: 14.58 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006534/0.009359, allocations: 303.6 kB / 381.9 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001305/0.00949, allocations: 55.05 kB / 381.9 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.857e-05/0.009558, allocations: 27.73 kB / 382 MB, free: 14.15 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.101e-05/0.009579, allocations: 0 / 382 MB, free: 14.15 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.564e-05/0.009615, allocations: 37.39 kB / 382 MB, free: 14.11 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 7.61e-07/0.009616, allocations: 0 / 382 MB, free: 14.11 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006086/0.01022, allocations: 169.4 kB / 382.2 MB, free: 13.93 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.653e-05/0.01029, allocations: 81.11 kB / 382.2 MB, free: 13.84 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002309/0.01052, allocations: 211.9 kB / 382.4 MB, free: 13.61 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.513e-05/0.01055, allocations: 29.7 kB / 382.5 MB, free: 13.58 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.845e-05/0.01065, allocations: 150.8 kB / 382.6 MB, free: 13.43 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.83e-05/0.01068, allocations: 27.78 kB / 382.6 MB, free: 13.4 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.58e-05/0.01074, allocations: 23.38 kB / 382.7 MB, free: 13.37 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002718/0.01101, allocations: 0.4962 MB / 383.2 MB, free: 12.86 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.411e-05/0.01109, allocations: 28.36 kB / 383.2 MB, free: 12.83 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001058/0.01119, allocations: 69.06 kB / 383.3 MB, free: 12.75 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001441/0.01134, allocations: 59.55 kB / 383.3 MB, free: 12.69 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.01134, allocations: 4 kB / 383.3 MB, free: 12.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000228/0.01157, allocations: 101.6 kB / 383.4 MB, free: 12.58 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/0.01159, allocations: 8 kB / 383.4 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.01159, allocations: 0 / 383.4 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.116e-05/0.0116, allocations: 3.938 kB / 383.4 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.582e-05/0.0117, allocations: 15.98 kB / 383.5 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.868e-06/0.0117, allocations: 4.031 kB / 383.5 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.339e-05/0.01175, allocations: 4 kB / 383.5 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.044e-05/0.01176, allocations: 4 kB / 383.5 MB, free: 12.54 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 0.0001329/0.01189, allocations: 172.5 kB / 383.6 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.045e-05/0.01193, allocations: 7.953 kB / 383.6 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000278/0.01221, allocations: 106.7 kB / 383.7 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/0.01222, allocations: 4 kB / 383.7 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.294e-06/0.01222, allocations: 0 / 383.7 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.01222, allocations: 0 / 383.7 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005488/0.01277, allocations: 385.4 kB / 384.1 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.01277, allocations: 0 / 384.1 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.156e-05/0.01284, allocations: 19.92 kB / 384.1 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.075e-06/0.01285, allocations: 4 kB / 384.1 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.999e-06/0.01286, allocations: 4 kB / 384.1 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.01286, allocations: 0 / 384.1 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.01286, allocations: 0 / 384.1 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003075/0.01317, allocations: 243.8 kB / 384.4 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.991e-05/0.01319, allocations: 7.953 kB / 384.4 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.715e-05/0.01321, allocations: 4 kB / 384.4 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.899e-05/0.01329, allocations: 11.98 kB / 384.4 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.302e-05/0.01332, allocations: 0 / 384.4 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.149e-05/0.01333, allocations: 7.984 kB / 384.4 MB, free: 11.5 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001386/0.01347, allocations: 157.5 kB / 384.6 MB, free: 11.35 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01347, allocations: 0 / 384.6 MB, free: 11.35 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002991/0.01377, allocations: 55.69 kB / 384.6 MB, free: 11.29 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 (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.003415/0.01718, allocations: 0.5271 MB / 385.2 MB, free: 10.98 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003132/0.0175, allocations: 67.64 kB / 385.2 MB, free: 10.91 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.0175, allocations: 4 kB / 385.2 MB, free: 10.91 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001019/0.0176, allocations: 43.61 kB / 385.3 MB, free: 10.86 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003966/0.018, allocations: 30.52 kB / 385.3 MB, free: 10.83 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006513/0.01865, allocations: 202.3 kB / 385.5 MB, free: 10.61 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001063/0.01876, allocations: 83.31 kB / 385.6 MB, free: 10.5 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.726e-05/0.01884, allocations: 17.03 kB / 385.6 MB, free: 10.48 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.713e-05/0.0189, allocations: 16.5 kB / 385.6 MB, free: 10.47 MB / 362.7 MB Notification: Performance of SimCode: time 8.32e-07/0.0189, allocations: 0 / 385.6 MB, free: 10.47 MB / 362.7 MB Notification: Performance of Templates: time 0.006463/0.02536, allocations: 1.902 MB / 387.5 MB, free: 8.574 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test18.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test18.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test18 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test18/Test18.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.019664959050715]