Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.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.000955/0.000955, allocations: 76.41 kB / 22.21 MB, free: 2.285 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.0009603/0.0009603, allocations: 172.3 kB / 25.61 MB, free: 8.883 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.9656/0.9656, allocations: 177.1 MB / 206 MB, free: 4.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1502/0.1502, allocations: 32.8 MB / 295.4 MB, free: 15.49 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.CombiTable1Dv.Test30,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.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test30,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.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 377.3 MB, free: 25.6 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.813e-05/1.972e-05, allocations: 2.312 kB / 377.3 MB, free: 25.6 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test30): time 0.001998/0.002018, allocations: 1.634 MB / 378.9 MB, free: 23.95 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.000738/0.002756, allocations: 0.5453 MB / 379.5 MB, free: 23.4 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.28e-05/0.002829, allocations: 0 / 379.5 MB, free: 23.4 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002654/0.003094, allocations: 79.64 kB / 379.5 MB, free: 23.32 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000278/0.003372, allocations: 103.5 kB / 379.6 MB, free: 23.22 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002739/0.003646, allocations: 111.7 kB / 379.8 MB, free: 23.11 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001493/0.003796, allocations: 87.75 kB / 379.8 MB, free: 23.02 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.003896, allocations: 11.98 kB / 379.8 MB, free: 23.01 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.698e-05/0.003963, allocations: 51.83 kB / 379.9 MB, free: 22.96 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.679e-05/0.00406, allocations: 51.92 kB / 379.9 MB, free: 22.91 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.375e-05/0.004074, allocations: 7.938 kB / 380 MB, free: 22.9 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.029e-05/0.004154, allocations: 43.92 kB / 380 MB, free: 22.86 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.85e-05/0.004203, allocations: 19.92 kB / 380 MB, free: 22.84 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.574e-05/0.004228, allocations: 19.92 kB / 380 MB, free: 22.82 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001496/0.004378, allocations: 87.66 kB / 380.1 MB, free: 22.73 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.00438, allocations: 7.938 kB / 380.1 MB, free: 22.73 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.01e-07/0.004381, allocations: 0 / 380.1 MB, free: 22.73 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.004386, allocations: 0 / 380.1 MB, free: 22.73 MB / 314.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.0003324/0.004718, allocations: 443.9 kB / 380.6 MB, free: 22.26 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/0.004753, allocations: 11.98 kB / 380.6 MB, free: 22.25 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.72e-05/0.00479, allocations: 20.84 kB / 380.6 MB, free: 22.23 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000113/0.004903, allocations: 145.1 kB / 380.7 MB, free: 22.05 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.012e-05/0.004913, allocations: 4.375 kB / 380.7 MB, free: 22.05 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.78e-05/0.004931, allocations: 4.375 kB / 380.7 MB, free: 22.05 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.422e-05/0.005025, allocations: 58.95 kB / 380.8 MB, free: 21.98 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.005037, allocations: 4.125 kB / 380.8 MB, free: 21.98 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-06/0.005046, allocations: 8.125 kB / 380.8 MB, free: 21.97 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.005053, allocations: 3.984 kB / 380.8 MB, free: 21.96 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.741e-05/0.00508, allocations: 11.98 kB / 380.8 MB, free: 21.95 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002785/0.005359, allocations: 264.4 kB / 381.1 MB, free: 21.67 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.194e-05/0.005421, allocations: 46.97 kB / 381.1 MB, free: 21.61 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.475e-05/0.005436, allocations: 7.688 kB / 381.1 MB, free: 21.6 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.774e-05/0.005453, allocations: 8.078 kB / 381.2 MB, free: 21.59 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.025e-05/0.005474, allocations: 41.33 kB / 381.2 MB, free: 21.54 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.005475, allocations: 0 / 381.2 MB, free: 21.54 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004613/0.005936, allocations: 149.4 kB / 381.3 MB, free: 21.39 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.579e-05/0.005962, allocations: 55.41 kB / 381.4 MB, free: 21.32 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.43e-05/0.006056, allocations: 234.8 kB / 381.6 MB, free: 21.07 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.684e-06/0.006064, allocations: 29.7 kB / 381.7 MB, free: 21.04 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.893e-05/0.006113, allocations: 158.8 kB / 381.8 MB, free: 20.88 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.469e-05/0.006137, allocations: 31.73 kB / 381.8 MB, free: 20.85 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.873e-05/0.006166, allocations: 27.31 kB / 381.9 MB, free: 20.81 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.583e-05/0.006232, allocations: 0.5001 MB / 382.4 MB, free: 20.3 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.553e-05/0.006248, allocations: 7.984 kB / 382.4 MB, free: 20.29 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.482e-05/0.006262, allocations: 16 kB / 382.4 MB, free: 20.28 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.638e-05/0.006299, allocations: 27.67 kB / 382.4 MB, free: 20.25 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.0063, allocations: 3.938 kB / 382.4 MB, free: 20.24 MB / 314.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 7.51e-05/0.006375, allocations: 77.62 kB / 382.5 MB, free: 20.16 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/0.006387, allocations: 10.03 kB / 382.5 MB, free: 20.15 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.006392, allocations: 0 / 382.5 MB, free: 20.15 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.678e-06/0.006401, allocations: 0 / 382.5 MB, free: 20.15 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.985e-05/0.006461, allocations: 19.92 kB / 382.5 MB, free: 20.13 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.755e-06/0.006464, allocations: 0 / 382.5 MB, free: 20.13 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.8e-05/0.006482, allocations: 4 kB / 382.5 MB, free: 20.13 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.079e-06/0.006487, allocations: 0 / 382.5 MB, free: 20.13 MB / 314.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 4.887e-05/0.006536, allocations: 164.5 kB / 382.7 MB, free: 19.96 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.219e-05/0.006558, allocations: 19.91 kB / 382.7 MB, free: 19.94 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001143/0.006672, allocations: 79.12 kB / 382.8 MB, free: 19.85 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.006675, allocations: 4 kB / 382.8 MB, free: 19.85 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/0.006678, allocations: 0 / 382.8 MB, free: 19.85 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.738e-06/0.006683, allocations: 432 / 382.8 MB, free: 19.85 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002353/0.006918, allocations: 345.6 kB / 383.1 MB, free: 19.47 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.006921, allocations: 4 kB / 383.1 MB, free: 19.47 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.507e-05/0.006956, allocations: 15.94 kB / 383.1 MB, free: 19.45 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.006958, allocations: 0 / 383.1 MB, free: 19.45 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.54e-06/0.006963, allocations: 4 kB / 383.2 MB, free: 19.45 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.006965, allocations: 8.031 kB / 383.2 MB, free: 19.44 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.006967, allocations: 3.984 kB / 383.2 MB, free: 19.44 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.125e-05/0.007059, allocations: 243.8 kB / 383.4 MB, free: 19.18 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.065e-06/0.007067, allocations: 11.84 kB / 383.4 MB, free: 19.16 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.015e-05/0.007077, allocations: 4 kB / 383.4 MB, free: 19.16 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.331e-05/0.00711, allocations: 0 / 383.4 MB, free: 19.16 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.607e-05/0.007136, allocations: 7.984 kB / 383.4 MB, free: 19.15 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.879e-06/0.007141, allocations: 8 kB / 383.4 MB, free: 19.14 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.041e-05/0.007182, allocations: 159.1 kB / 383.6 MB, free: 18.99 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007182, allocations: 0 / 383.6 MB, free: 18.99 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001731/0.007355, allocations: 27.86 kB / 383.6 MB, free: 18.96 MB / 314.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.0009135/0.008268, allocations: 440.7 kB / 384 MB, free: 18.7 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 8.778e-05/0.008356, allocations: 35.61 kB / 384.1 MB, free: 18.66 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.008358, allocations: 0 / 384.1 MB, free: 18.66 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.374e-05/0.008381, allocations: 27.67 kB / 384.1 MB, free: 18.63 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002146/0.008596, allocations: 26.7 kB / 384.1 MB, free: 18.61 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003148/0.008911, allocations: 231.7 kB / 384.4 MB, free: 18.35 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.698e-05/0.008948, allocations: 83.25 kB / 384.4 MB, free: 18.25 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.61e-05/0.008984, allocations: 17.02 kB / 384.5 MB, free: 18.23 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.924e-05/0.009033, allocations: 78.2 kB / 384.5 MB, free: 18.16 MB / 314.7 MB Notification: Performance of SimCode: time 6.81e-07/0.009034, allocations: 0 / 384.5 MB, free: 18.16 MB / 314.7 MB Notification: Performance of Templates: time 0.003199/0.01223, allocations: 1.548 MB / 386.1 MB, free: 16.62 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test30/Test30.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.1286779390648007]