Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.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.0009865/0.0009865, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001531/0.002518, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 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.0006521/0.0006521, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009153/0.001567, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 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 0.9994/0.9994, allocations: 173.4 MB / 186 MB, free: 7.539 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2035/1.203, allocations: 52.49 MB / 238.5 MB, free: 7.625 MB / 234.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.1438/0.1438, allocations: 32.8 MB / 272 MB, free: 6.301 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02219/0.166, allocations: 12.54 MB / 284.5 MB, free: 9.715 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.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.CombiTimeTable.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85") translateModel(ModelicaTest.Tables.CombiTimeTable.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 285.9 MB, free: 8.34 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.399e-05/2.523e-05, allocations: 2.312 kB / 285.9 MB, free: 8.336 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.002157/0.002183, allocations: 1.745 MB / 287.7 MB, free: 6.578 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001009/0.003191, allocations: 0.8571 MB / 288.5 MB, free: 5.715 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.022e-05/0.003262, allocations: 0 / 288.5 MB, free: 5.715 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000212/0.003474, allocations: 55.69 kB / 288.6 MB, free: 5.66 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000186/0.00366, allocations: 63.62 kB / 288.6 MB, free: 5.598 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002585/0.003918, allocations: 111.5 kB / 288.8 MB, free: 5.488 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001655/0.004084, allocations: 103.6 kB / 288.9 MB, free: 5.387 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.046e-05/0.004124, allocations: 8 kB / 288.9 MB, free: 5.379 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001238/0.004248, allocations: 75.83 kB / 288.9 MB, free: 5.305 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.914e-05/0.004337, allocations: 35.84 kB / 289 MB, free: 5.27 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.672e-05/0.004354, allocations: 4 kB / 289 MB, free: 5.266 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.353e-05/0.004427, allocations: 35.86 kB / 289 MB, free: 5.23 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.193e-05/0.004469, allocations: 15.92 kB / 289 MB, free: 5.215 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.721e-05/0.004496, allocations: 12 kB / 289 MB, free: 5.203 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001396/0.004636, allocations: 79.69 kB / 289.1 MB, free: 5.125 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.337e-05/0.004649, allocations: 0 / 289.1 MB, free: 5.125 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.00465, allocations: 0 / 289.1 MB, free: 5.125 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.827e-06/0.004659, allocations: 4 kB / 289.1 MB, free: 5.121 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004065/0.005065, allocations: 312 kB / 289.4 MB, free: 4.793 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.963e-05/0.005095, allocations: 8.031 kB / 289.4 MB, free: 4.785 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.222e-05/0.005127, allocations: 8.922 kB / 289.4 MB, free: 4.777 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001436/0.005271, allocations: 145.5 kB / 289.6 MB, free: 4.609 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.639e-05/0.005287, allocations: 384 / 289.6 MB, free: 4.609 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.185e-05/0.005299, allocations: 4.375 kB / 289.6 MB, free: 4.605 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.915e-05/0.005398, allocations: 61.75 kB / 289.7 MB, free: 4.535 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.363e-06/0.005406, allocations: 3.938 kB / 289.7 MB, free: 4.531 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.062e-06/0.005412, allocations: 0 / 289.7 MB, free: 4.531 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.005417, allocations: 4 kB / 289.7 MB, free: 4.527 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.049e-05/0.005438, allocations: 7.984 kB / 289.7 MB, free: 4.52 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.486e-05/0.005522, allocations: 70.64 kB / 289.7 MB, free: 4.434 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.664e-05/0.005599, allocations: 41.38 kB / 289.8 MB, free: 4.383 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.775e-05/0.005617, allocations: 12.84 kB / 289.8 MB, free: 4.367 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.708e-06/0.005627, allocations: 0 / 289.8 MB, free: 4.367 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.83e-05/0.005725, allocations: 70.2 kB / 289.9 MB, free: 4.285 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 8.31e-07/0.005726, allocations: 0 / 289.9 MB, free: 4.285 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001177/0.005843, allocations: 57.62 kB / 289.9 MB, free: 4.223 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.995e-05/0.005873, allocations: 59.28 kB / 290 MB, free: 4.152 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.766e-05/0.005971, allocations: 161.7 kB / 290.1 MB, free: 3.98 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.32e-05/0.005984, allocations: 25.7 kB / 290.2 MB, free: 3.949 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.717e-05/0.006011, allocations: 92.11 kB / 290.2 MB, free: 3.855 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.236e-05/0.006044, allocations: 15.89 kB / 290.3 MB, free: 3.84 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.911e-05/0.006073, allocations: 21.72 kB / 290.3 MB, free: 3.812 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.878e-05/0.006152, allocations: 326.8 kB / 290.6 MB, free: 3.484 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.701e-05/0.006169, allocations: 10.81 kB / 290.6 MB, free: 3.473 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.85e-05/0.006187, allocations: 13.72 kB / 290.6 MB, free: 3.453 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.154e-05/0.006229, allocations: 39.3 kB / 290.7 MB, free: 3.406 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.006231, allocations: 0 / 290.7 MB, free: 3.406 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.548e-05/0.006297, allocations: 56.5 kB / 290.7 MB, free: 3.344 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.006309, allocations: 8 kB / 290.7 MB, free: 3.336 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.006313, allocations: 0 / 290.7 MB, free: 3.336 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.006325, allocations: 0 / 290.7 MB, free: 3.336 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.791e-05/0.006393, allocations: 23.88 kB / 290.7 MB, free: 3.312 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.096e-06/0.006396, allocations: 0 / 290.7 MB, free: 3.312 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.944e-05/0.006426, allocations: 0 / 290.7 MB, free: 3.312 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/0.006433, allocations: 4 kB / 290.8 MB, free: 3.309 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 6.585e-05/0.006499, allocations: 120.7 kB / 290.9 MB, free: 3.18 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.157e-05/0.006511, allocations: 8 kB / 290.9 MB, free: 3.172 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.758e-05/0.006598, allocations: 66.08 kB / 290.9 MB, free: 3.102 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.0066, allocations: 0 / 290.9 MB, free: 3.102 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/0.006602, allocations: 3.938 kB / 290.9 MB, free: 3.098 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.006605, allocations: 0 / 290.9 MB, free: 3.098 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.777e-05/0.006683, allocations: 86.12 kB / 291 MB, free: 2.996 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.006685, allocations: 4 kB / 291 MB, free: 2.992 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.111e-05/0.006706, allocations: 11.98 kB / 291 MB, free: 2.98 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.18e-05/0.006718, allocations: 7.953 kB / 291.1 MB, free: 2.973 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.00672, allocations: 4 kB / 291.1 MB, free: 2.969 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.849e-06/0.006725, allocations: 0 / 291.1 MB, free: 2.969 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.81e-07/0.006726, allocations: 0 / 291.1 MB, free: 2.969 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.006728, allocations: 3.938 kB / 291.1 MB, free: 2.965 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.532e-05/0.006803, allocations: 86.77 kB / 291.1 MB, free: 2.859 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.305e-05/0.006816, allocations: 0 / 291.1 MB, free: 2.859 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.883e-05/0.006835, allocations: 0 / 291.1 MB, free: 2.859 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.257e-05/0.006857, allocations: 15.92 kB / 291.2 MB, free: 2.844 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.068e-06/0.006866, allocations: 0 / 291.2 MB, free: 2.844 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.851e-05/0.006905, allocations: 46.83 kB / 291.2 MB, free: 2.797 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006905, allocations: 7.938 kB / 291.2 MB, free: 2.789 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001217/0.007027, allocations: 20 kB / 291.2 MB, free: 2.77 MB / 282.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001254/0.00828, allocations: 0.5529 MB / 291.8 MB, free: 2.488 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.493e-05/0.008375, allocations: 28.84 kB / 291.8 MB, free: 2.457 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.762e-06/0.008382, allocations: 0 / 291.8 MB, free: 2.457 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.031e-05/0.008412, allocations: 16.86 kB / 291.8 MB, free: 2.438 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001863/0.008599, allocations: 186.5 kB / 292 MB, free: 2.227 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004247/0.009023, allocations: 190.2 kB / 292.2 MB, free: 2.012 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.382e-05/0.009057, allocations: 59.34 kB / 292.3 MB, free: 1.934 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.397e-05/0.009091, allocations: 20.41 kB / 292.3 MB, free: 1.914 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.262e-05/0.009154, allocations: 63.36 kB / 292.3 MB, free: 1.852 MB / 282.7 MB Notification: Performance of SimCode: time 6.71e-07/0.009154, allocations: 0 / 292.3 MB, free: 1.852 MB / 282.7 MB Notification: Performance of Templates: time 0.003425/0.01258, allocations: 1.767 MB / 294.1 MB, free: 124 kB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test85/Test85.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.831203654408455]