Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21.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.001354/0.001354, allocations: 75.77 kB / 21.18 MB, free: 3.383 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.00111/0.00111, allocations: 165 kB / 24.56 MB, free: 8 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 0.9684/0.9684, allocations: 177.1 MB / 205 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 179] 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.2594/0.2594, allocations: 34.26 MB / 295.7 MB, free: 0.668 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.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.314e-06/2.314e-06, allocations: 0 / 378.1 MB, free: 2.625 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.201e-05/3.433e-05, allocations: 2.312 kB / 378.1 MB, free: 2.621 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.003234/0.003269, allocations: 1.634 MB / 379.7 MB, free: 0.9727 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001662/0.004931, allocations: 1.274 MB / 381 MB, free: 15.69 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.156e-05/0.004992, allocations: 4 kB / 381 MB, free: 15.69 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002379/0.00523, allocations: 27.83 kB / 381 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002917/0.005522, allocations: 87.5 kB / 381.1 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00022/0.005742, allocations: 87.64 kB / 381.2 MB, free: 15.49 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001411/0.005883, allocations: 79.75 kB / 381.2 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.807e-05/0.005971, allocations: 8 kB / 381.2 MB, free: 15.4 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.344e-05/0.006025, allocations: 35.91 kB / 381.3 MB, free: 15.37 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.727e-05/0.006112, allocations: 19.91 kB / 381.3 MB, free: 15.35 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.482e-05/0.006127, allocations: 4 kB / 381.3 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001325/0.006259, allocations: 95.81 kB / 381.4 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.569e-05/0.006305, allocations: 15.92 kB / 381.4 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.845e-05/0.006333, allocations: 8 kB / 381.4 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001941/0.006527, allocations: 135.5 kB / 381.6 MB, free: 15.09 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.434e-06/0.00653, allocations: 3.938 kB / 381.6 MB, free: 15.09 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.006531, allocations: 0 / 381.6 MB, free: 15.09 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.599e-06/0.006536, allocations: 4 kB / 381.6 MB, free: 15.09 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003967/0.006932, allocations: 428 kB / 382 MB, free: 14.63 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.006969, allocations: 12.03 kB / 382 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.297e-05/0.007012, allocations: 8.891 kB / 382 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000141/0.007153, allocations: 128.5 kB / 382.1 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.005e-05/0.007163, allocations: 4.375 kB / 382.1 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.014e-05/0.007183, allocations: 4.375 kB / 382.1 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001395/0.007322, allocations: 108 kB / 382.2 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.007332, allocations: 192 / 382.2 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.007342, allocations: 4.125 kB / 382.2 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.441e-06/0.007348, allocations: 4 kB / 382.3 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.657e-05/0.007374, allocations: 8 kB / 382.3 MB, free: 14.31 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000272/0.007646, allocations: 287.7 kB / 382.5 MB, free: 13.99 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001446/0.007791, allocations: 39 kB / 382.6 MB, free: 13.94 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.124e-05/0.007812, allocations: 23.77 kB / 382.6 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.893e-05/0.007831, allocations: 3.938 kB / 382.6 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.059e-05/0.007852, allocations: 33.39 kB / 382.6 MB, free: 13.87 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.202e-06/0.007853, allocations: 0 / 382.6 MB, free: 13.87 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003029/0.008156, allocations: 97.59 kB / 382.7 MB, free: 13.77 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.645e-05/0.008192, allocations: 85.11 kB / 382.8 MB, free: 13.66 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001109/0.008303, allocations: 197.9 kB / 383 MB, free: 13.45 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.629e-06/0.008313, allocations: 25.7 kB / 383 MB, free: 13.42 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.811e-05/0.008361, allocations: 138.9 kB / 383.2 MB, free: 13.28 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.015e-05/0.008381, allocations: 23.8 kB / 383.2 MB, free: 13.26 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.909e-05/0.00841, allocations: 23.36 kB / 383.2 MB, free: 13.23 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001104/0.008521, allocations: 496.1 kB / 383.7 MB, free: 12.73 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.665e-05/0.008537, allocations: 12.05 kB / 383.7 MB, free: 12.72 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.347e-05/0.008581, allocations: 53.08 kB / 383.8 MB, free: 12.65 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.513e-05/0.008616, allocations: 31.61 kB / 383.8 MB, free: 12.62 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.008616, allocations: 0 / 383.8 MB, free: 12.62 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.943e-05/0.008686, allocations: 61.67 kB / 383.9 MB, free: 12.55 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.008698, allocations: 6.188 kB / 383.9 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.008702, allocations: 0 / 383.9 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.008713, allocations: 0 / 383.9 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.748e-05/0.008751, allocations: 11.98 kB / 383.9 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.817e-06/0.008754, allocations: 0 / 383.9 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.039e-05/0.008775, allocations: 7.953 kB / 383.9 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-06/0.00878, allocations: 0 / 383.9 MB, free: 12.53 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 (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 6.097e-05/0.008841, allocations: 164.6 kB / 384 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.911e-05/0.00886, allocations: 15.83 kB / 384.1 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.766e-05/0.008957, allocations: 74.08 kB / 384.1 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.008959, allocations: 0 / 384.1 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.008962, allocations: 0 / 384.1 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.008966, allocations: 3.984 kB / 384.1 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002153/0.009182, allocations: 321.7 kB / 384.4 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.009184, allocations: 4 kB / 384.5 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.693e-05/0.00921, allocations: 12 kB / 384.5 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-06/0.009212, allocations: 0 / 384.5 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.71e-06/0.009217, allocations: 0 / 384.5 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.009219, allocations: 0 / 384.5 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.009219, allocations: 0 / 384.5 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001022/0.009322, allocations: 215.8 kB / 384.7 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.698e-06/0.009331, allocations: 7.938 kB / 384.7 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.173e-05/0.009343, allocations: 4 kB / 384.7 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.999e-05/0.009373, allocations: 4 kB / 384.7 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.658e-05/0.0094, allocations: 7.984 kB / 384.7 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.685e-06/0.009402, allocations: 0 / 384.7 MB, free: 11.63 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.561e-05/0.009458, allocations: 147.1 kB / 384.8 MB, free: 11.49 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009458, allocations: 0 / 384.8 MB, free: 11.49 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001881/0.009646, allocations: 43.86 kB / 384.9 MB, free: 11.45 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 (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.0009745/0.01062, allocations: 488.6 kB / 385.4 MB, free: 11.14 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.364e-05/0.01071, allocations: 27.69 kB / 385.4 MB, free: 11.11 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.01072, allocations: 0 / 385.4 MB, free: 11.11 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.288e-05/0.01074, allocations: 23.61 kB / 385.4 MB, free: 11.08 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001851/0.01092, allocations: 27.92 kB / 385.4 MB, free: 11.05 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002747/0.0112, allocations: 169.9 kB / 385.6 MB, free: 10.86 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.97e-05/0.01124, allocations: 66.39 kB / 385.7 MB, free: 10.78 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.347e-05/0.01127, allocations: 7.984 kB / 385.7 MB, free: 10.77 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.468e-05/0.01131, allocations: 20.48 kB / 385.7 MB, free: 10.75 MB / 362.7 MB Notification: Performance of SimCode: time 5.61e-07/0.01131, allocations: 0 / 385.7 MB, free: 10.75 MB / 362.7 MB Notification: Performance of Templates: time 0.003644/0.01495, allocations: 2.005 MB / 387.7 MB, free: 8.766 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test21/Test21.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.2735288348048925]