Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0013/0.0013, allocations: 102 kB / 21.22 MB, free: 0.6562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001641/0.001641, allocations: 185.2 kB / 24.51 MB, free: 4.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.514/1.514, allocations: 225.6 MB / 253.3 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] 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.2681/0.2681, allocations: 44.91 MB / 353.5 MB, free: 11.82 MB / 286.1 MB " [Timeout remaining time 179] 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002093/0.002093, allocations: 63.91 kB / 497.7 MB, free: 1 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4962/0.4982, allocations: 64.28 MB / 0.5488 GB, free: 13.16 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.004312/0.5026, allocations: 1.597 MB / 0.5504 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002359/0.5049, allocations: 1.115 MB / 0.5515 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.418e-05/0.505, allocations: 1.469 kB / 0.5515 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000264/0.5053, allocations: 19.95 kB / 0.5515 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002592/0.5055, allocations: 46.8 kB / 0.5515 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003225/0.5058, allocations: 90.64 kB / 0.5516 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002002/0.506, allocations: 58.27 kB / 0.5517 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001413/0.5062, allocations: 7.812 kB / 0.5517 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.984e-05/0.5062, allocations: 40.06 kB / 0.5517 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002251/0.5065, allocations: 23.89 kB / 0.5517 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.21e-05/0.5065, allocations: 4.094 kB / 0.5517 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001477/0.5066, allocations: 49.03 kB / 0.5518 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.875e-05/0.5067, allocations: 14.86 kB / 0.5518 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.943e-05/0.5068, allocations: 18.94 kB / 0.5518 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002609/0.507, allocations: 89.39 kB / 0.5519 GB, free: 10.75 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.507, allocations: 0 / 0.5519 GB, free: 10.75 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.507, allocations: 1.188 kB / 0.5519 GB, free: 10.75 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.436e-05/0.507, allocations: 0 / 0.5519 GB, free: 10.75 MB / 398.1 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.0006499/0.5077, allocations: 310.3 kB / 0.5522 GB, free: 10.44 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.881e-05/0.5077, allocations: 10.73 kB / 0.5522 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.546e-05/0.5078, allocations: 7.172 kB / 0.5522 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002258/0.508, allocations: 122.3 kB / 0.5523 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.314e-05/0.508, allocations: 1.594 kB / 0.5523 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.76e-05/0.5081, allocations: 2.562 kB / 0.5523 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001941/0.5082, allocations: 67.3 kB / 0.5524 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.5083, allocations: 9.078 kB / 0.5524 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.5083, allocations: 3.938 kB / 0.5524 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.5083, allocations: 1.219 kB / 0.5524 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.874e-05/0.5084, allocations: 20.77 kB / 0.5524 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004689/0.5088, allocations: 244.4 kB / 0.5527 GB, free: 9.945 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002355/0.5091, allocations: 39.16 kB / 0.5527 GB, free: 9.914 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.403e-05/0.5091, allocations: 23.61 kB / 0.5527 GB, free: 9.895 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.692e-05/0.5092, allocations: 0 / 0.5527 GB, free: 9.895 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.766e-05/0.5092, allocations: 31.53 kB / 0.5528 GB, free: 9.855 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.5092, allocations: 5.062 kB / 0.5528 GB, free: 9.852 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0007088/0.5099, allocations: 134.5 kB / 0.5529 GB, free: 9.77 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.508e-05/0.51, allocations: 86.22 kB / 0.553 GB, free: 9.668 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003894/0.5104, allocations: 135.6 kB / 0.5531 GB, free: 9.547 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.001e-05/0.5104, allocations: 26.83 kB / 0.5531 GB, free: 9.516 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.133e-05/0.5105, allocations: 94.44 kB / 0.5532 GB, free: 9.422 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.483e-05/0.5105, allocations: 18.27 kB / 0.5532 GB, free: 9.406 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.609e-05/0.5105, allocations: 22.33 kB / 0.5533 GB, free: 9.383 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0004776/0.511, allocations: 324.9 kB / 0.5536 GB, free: 9.059 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.73e-05/0.5111, allocations: 22.11 kB / 0.5536 GB, free: 9.047 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.974e-05/0.5112, allocations: 30.73 kB / 0.5536 GB, free: 9.023 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001403/0.5113, allocations: 43.17 kB / 0.5537 GB, free: 9 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.5113, allocations: 1.156 kB / 0.5537 GB, free: 9 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002082/0.5115, allocations: 87.53 kB / 0.5538 GB, free: 8.938 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.098e-05/0.5116, allocations: 7.344 kB / 0.5538 GB, free: 8.938 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.804e-06/0.5116, allocations: 4.031 kB / 0.5538 GB, free: 8.934 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.5116, allocations: 1.281 kB / 0.5538 GB, free: 8.934 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.016e-05/0.5117, allocations: 13.55 kB / 0.5538 GB, free: 8.93 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.5117, allocations: 0 / 0.5538 GB, free: 8.93 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.633e-05/0.5117, allocations: 7.766 kB / 0.5538 GB, free: 8.926 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.894e-06/0.5117, allocations: 1.5 kB / 0.5538 GB, free: 8.926 MB / 398.1 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 0.0001285/0.5119, allocations: 121.4 kB / 0.5539 GB, free: 8.801 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.694e-05/0.5119, allocations: 7.391 kB / 0.5539 GB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002577/0.5121, allocations: 96.38 kB / 0.554 GB, free: 8.723 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.5121, allocations: 0 / 0.554 GB, free: 8.723 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.5122, allocations: 1.219 kB / 0.554 GB, free: 8.723 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.5122, allocations: 0 / 0.554 GB, free: 8.723 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004947/0.5127, allocations: 311.6 kB / 0.5543 GB, free: 8.41 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.5127, allocations: 1.156 kB / 0.5543 GB, free: 8.41 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.009e-05/0.5127, allocations: 13.47 kB / 0.5543 GB, free: 8.406 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.5127, allocations: 4 kB / 0.5543 GB, free: 8.402 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.877e-06/0.5127, allocations: 1.094 kB / 0.5543 GB, free: 8.402 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/0.5127, allocations: 3.938 kB / 0.5543 GB, free: 8.398 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.778e-06/0.5127, allocations: 5.172 kB / 0.5543 GB, free: 8.395 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002574/0.513, allocations: 174.4 kB / 0.5545 GB, free: 8.238 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.237e-05/0.513, allocations: 6.422 kB / 0.5545 GB, free: 8.234 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.83e-05/0.513, allocations: 5.469 kB / 0.5545 GB, free: 8.23 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.187e-05/0.5131, allocations: 10.52 kB / 0.5545 GB, free: 8.223 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.99e-05/0.5131, allocations: 6.281 kB / 0.5545 GB, free: 8.219 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.198e-06/0.5131, allocations: 1.219 kB / 0.5545 GB, free: 8.219 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001081/0.5132, allocations: 106.1 kB / 0.5546 GB, free: 8.129 MB / 398.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.5132, allocations: 1.125 kB / 0.5546 GB, free: 8.129 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002747/0.5135, allocations: 25.5 kB / 0.5546 GB, free: 8.117 MB / 398.1 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.001815/0.5153, allocations: 458.5 kB / 0.5551 GB, free: 7.895 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002433/0.5156, allocations: 42.34 kB / 0.5551 GB, free: 7.879 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/0.5156, allocations: 1.094 kB / 0.5551 GB, free: 7.879 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.451e-05/0.5157, allocations: 22.42 kB / 0.5551 GB, free: 7.871 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004016/0.5161, allocations: 25.66 kB / 0.5552 GB, free: 7.859 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004893/0.5166, allocations: 165.9 kB / 0.5553 GB, free: 7.707 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004463/0.517, allocations: 0.6915 MB / 0.556 GB, free: 7 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.852e-05/0.5171, allocations: 5.312 kB / 0.556 GB, free: 7 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.251e-05/0.5171, allocations: 21.08 kB / 0.556 GB, free: 6.984 MB / 398.1 MB Notification: Performance of SimCode: time 6.61e-07/0.5171, allocations: 0 / 0.556 GB, free: 6.984 MB / 398.1 MB Notification: Performance of Templates: time 0.005354/0.5225, allocations: 1.362 MB / 0.5574 GB, free: 6.281 MB / 398.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test21/Test21.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.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.623609034344554]