Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00101/0.00101, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001528/0.002538, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009423/0.0009423, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001309/0.002252, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9684/0.9684, allocations: 177.5 MB / 190 MB, free: 4.773 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1023/1.071, allocations: 53.87 MB / 243.9 MB, free: 14.83 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2825/0.2825, allocations: 34.89 MB / 279.6 MB, free: 14.89 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02884/0.3113, allocations: 13.24 MB / 292.8 MB, free: 6.359 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 294.1 MB, free: 5.047 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.306e-05/2.473e-05, allocations: 3.516 kB / 294.1 MB, free: 5.043 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test20): time 0.003342/0.003367, allocations: 1.692 MB / 295.8 MB, free: 3.34 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0018/0.005167, allocations: 1.316 MB / 297.1 MB, free: 2.02 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.856e-05/0.005235, allocations: 0 / 297.1 MB, free: 2.02 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001508/0.005386, allocations: 27.8 kB / 297.2 MB, free: 1.992 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002627/0.005649, allocations: 91.42 kB / 297.2 MB, free: 1.902 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002541/0.005903, allocations: 91.64 kB / 297.3 MB, free: 1.812 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001579/0.006061, allocations: 75.7 kB / 297.4 MB, free: 1.738 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.839e-05/0.006149, allocations: 8 kB / 297.4 MB, free: 1.73 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001181/0.006267, allocations: 55.89 kB / 297.5 MB, free: 1.676 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.92e-05/0.006367, allocations: 23.91 kB / 297.5 MB, free: 1.652 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.49e-05/0.006382, allocations: 4 kB / 297.5 MB, free: 1.648 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001612/0.006543, allocations: 99.75 kB / 297.6 MB, free: 1.551 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.864e-05/0.006581, allocations: 15.94 kB / 297.6 MB, free: 1.535 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.066e-05/0.006602, allocations: 11.94 kB / 297.6 MB, free: 1.523 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003053/0.006907, allocations: 111.6 kB / 297.7 MB, free: 1.414 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.125e-05/0.006919, allocations: 0 / 297.7 MB, free: 1.414 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.006919, allocations: 7.938 kB / 297.7 MB, free: 1.406 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.356e-06/0.006928, allocations: 0 / 297.7 MB, free: 1.406 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003598/0.007288, allocations: 321.1 kB / 298 MB, free: 1.066 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.121e-05/0.007319, allocations: 12.92 kB / 298.1 MB, free: 1.055 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.015e-05/0.007349, allocations: 4.938 kB / 298.1 MB, free: 1.051 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001343/0.007483, allocations: 133.6 kB / 298.2 MB, free: 0.8945 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.883e-06/0.00749, allocations: 4.375 kB / 298.2 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.738e-05/0.007508, allocations: 384 / 298.2 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000114/0.007622, allocations: 102.3 kB / 298.3 MB, free: 0.7695 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.007629, allocations: 192 / 298.3 MB, free: 0.7695 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.951e-06/0.007635, allocations: 384 / 298.3 MB, free: 0.7695 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.147e-06/0.007639, allocations: 384 / 298.3 MB, free: 0.7695 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.954e-05/0.007658, allocations: 7.938 kB / 298.3 MB, free: 0.7617 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001951/0.007853, allocations: 171.1 kB / 298.5 MB, free: 0.5781 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001269/0.00798, allocations: 26.56 kB / 298.5 MB, free: 0.543 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.702e-05/0.007997, allocations: 16.86 kB / 298.5 MB, free: 0.5234 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.494e-05/0.008012, allocations: 0 / 298.5 MB, free: 0.5234 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.021e-05/0.008032, allocations: 34.56 kB / 298.6 MB, free: 492 kB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 9.91e-07/0.008033, allocations: 0 / 298.6 MB, free: 492 kB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002562/0.00829, allocations: 77.62 kB / 298.6 MB, free: 408 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.177e-05/0.008311, allocations: 51.41 kB / 298.7 MB, free: 344 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001051/0.008416, allocations: 144.3 kB / 298.8 MB, free: 184 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.178e-05/0.008428, allocations: 33.7 kB / 298.9 MB, free: 144 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.207e-05/0.00846, allocations: 100 kB / 299 MB, free: 40 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.703e-05/0.008477, allocations: 11.84 kB / 299 MB, free: 28 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.535e-05/0.008503, allocations: 17.72 kB / 299 MB, free: 4 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.21e-05/0.008595, allocations: 322.8 kB / 299.3 MB, free: 15.68 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.759e-06/0.008605, allocations: 4 kB / 299.3 MB, free: 15.68 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.604e-05/0.008631, allocations: 47.39 kB / 299.3 MB, free: 15.62 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.696e-05/0.008658, allocations: 16.86 kB / 299.4 MB, free: 15.6 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.008659, allocations: 0 / 299.4 MB, free: 15.6 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.6e-05/0.008715, allocations: 57.8 kB / 299.4 MB, free: 15.54 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/0.008727, allocations: 12.03 kB / 299.4 MB, free: 15.52 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.008732, allocations: 3.938 kB / 299.4 MB, free: 15.52 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.468e-06/0.008742, allocations: 0 / 299.4 MB, free: 15.52 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.646e-05/0.008788, allocations: 8 kB / 299.4 MB, free: 15.51 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.116e-06/0.008791, allocations: 0 / 299.4 MB, free: 15.51 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.907e-05/0.00881, allocations: 7.984 kB / 299.4 MB, free: 15.5 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.737e-06/0.008814, allocations: 0 / 299.4 MB, free: 15.5 MB / 298.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 (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 5.126e-05/0.008865, allocations: 112.7 kB / 299.6 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.492e-05/0.00888, allocations: 8 kB / 299.6 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.612e-05/0.008966, allocations: 62.02 kB / 299.6 MB, free: 15.31 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.008968, allocations: 4 kB / 299.6 MB, free: 15.3 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.352e-06/0.008969, allocations: 0 / 299.6 MB, free: 15.3 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.008972, allocations: 0 / 299.6 MB, free: 15.3 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000172/0.009144, allocations: 210.8 kB / 299.8 MB, free: 15.07 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.009145, allocations: 0 / 299.8 MB, free: 15.07 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.226e-05/0.009177, allocations: 19.92 kB / 299.9 MB, free: 15.05 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.787e-06/0.009186, allocations: 11.89 kB / 299.9 MB, free: 15.04 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-06/0.009187, allocations: 0 / 299.9 MB, free: 15.04 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.677e-06/0.009191, allocations: 0 / 299.9 MB, free: 15.04 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.009191, allocations: 0 / 299.9 MB, free: 15.04 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.009192, allocations: 0 / 299.9 MB, free: 15.04 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.687e-05/0.009259, allocations: 143.8 kB / 300 MB, free: 14.89 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.313e-05/0.009272, allocations: 12.19 kB / 300 MB, free: 14.88 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.938e-05/0.009302, allocations: 0 / 300 MB, free: 14.88 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.716e-05/0.009329, allocations: 11.98 kB / 300 MB, free: 14.86 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.897e-06/0.009333, allocations: 3.984 kB / 300 MB, free: 14.86 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.34e-05/0.009366, allocations: 36.84 kB / 300.1 MB, free: 14.82 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009366, allocations: 0 / 300.1 MB, free: 14.82 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001525/0.009519, allocations: 39.86 kB / 300.1 MB, free: 14.78 MB / 298.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 (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.001411/0.01093, allocations: 0.6834 MB / 300.8 MB, free: 14.45 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.385e-05/0.011, allocations: 28.84 kB / 300.8 MB, free: 14.41 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.209e-06/0.01101, allocations: 0 / 300.8 MB, free: 14.41 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.271e-05/0.01103, allocations: 16.8 kB / 300.8 MB, free: 14.39 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001816/0.01121, allocations: 88.11 kB / 300.9 MB, free: 14.3 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003974/0.01161, allocations: 167.1 kB / 301.1 MB, free: 14.11 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.6e-05/0.01165, allocations: 63.34 kB / 301.2 MB, free: 14.02 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.088e-05/0.01169, allocations: 23.97 kB / 301.2 MB, free: 14 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.979e-05/0.01175, allocations: 63.36 kB / 301.2 MB, free: 13.94 MB / 298.7 MB Notification: Performance of SimCode: time 6.61e-07/0.01175, allocations: 3.938 kB / 301.2 MB, free: 13.93 MB / 298.7 MB Notification: Performance of Templates: time 0.003384/0.01513, allocations: 2.007 MB / 303.2 MB, free: 11.94 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test20/Test20.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.8780645290389657]