Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test20.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.001961/0.001961, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.002333/0.002333, allocations: 161.7 kB / 24.27 MB, free: 172 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 1.546/1.546, allocations: 177.1 MB / 204.6 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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.3391/0.3391, allocations: 34.26 MB / 295.3 MB, free: 0.6875 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.CombiTable1Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test20") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test20") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 377.3 MB, free: 2.949 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.923e-05/3.087e-05, allocations: 2.312 kB / 377.3 MB, free: 2.945 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test20): time 0.002928/0.002959, allocations: 1.599 MB / 378.9 MB, free: 1.332 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001912/0.004871, allocations: 1.255 MB / 380.2 MB, free: 72 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.476e-05/0.004926, allocations: 0 / 380.2 MB, free: 72 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002078/0.005134, allocations: 23.8 kB / 380.2 MB, free: 48 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000326/0.00546, allocations: 91.66 kB / 380.3 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003021/0.005762, allocations: 107.6 kB / 380.4 MB, free: 15.85 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001636/0.005926, allocations: 67.81 kB / 380.4 MB, free: 15.78 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.062e-05/0.006006, allocations: 16 kB / 380.5 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.521e-05/0.006081, allocations: 31.91 kB / 380.5 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001028/0.006184, allocations: 23.91 kB / 380.5 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.923e-05/0.006203, allocations: 4 kB / 380.5 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001891/0.006393, allocations: 103.7 kB / 380.6 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.855e-05/0.006441, allocations: 11.98 kB / 380.6 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.587e-05/0.006477, allocations: 11.94 kB / 380.6 MB, free: 15.58 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002623/0.006739, allocations: 143.6 kB / 380.8 MB, free: 15.44 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.006741, allocations: 0 / 380.8 MB, free: 15.44 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.006742, allocations: 3.938 kB / 380.8 MB, free: 15.44 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.316e-06/0.006745, allocations: 0 / 380.8 MB, free: 15.44 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.0005467/0.007292, allocations: 325.7 kB / 381.1 MB, free: 15.09 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.007326, allocations: 12.03 kB / 381.1 MB, free: 15.08 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.526e-05/0.007381, allocations: 12.88 kB / 381.1 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002071/0.007589, allocations: 137 kB / 381.3 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.079e-05/0.007599, allocations: 384 / 381.3 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.913e-05/0.007629, allocations: 8.359 kB / 381.3 MB, free: 14.9 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001974/0.007826, allocations: 89.66 kB / 381.4 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.007836, allocations: 192 / 381.4 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.007848, allocations: 4.125 kB / 381.4 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.007852, allocations: 0 / 381.4 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001017/0.007954, allocations: 31.92 kB / 381.4 MB, free: 14.76 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003872/0.008341, allocations: 232.5 kB / 381.6 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000216/0.008557, allocations: 38.56 kB / 381.7 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.187e-05/0.008619, allocations: 20.94 kB / 381.7 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.193e-05/0.008641, allocations: 11.81 kB / 381.7 MB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.699e-05/0.008668, allocations: 30.56 kB / 381.7 MB, free: 14.38 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 9.71e-07/0.008669, allocations: 4 kB / 381.7 MB, free: 14.38 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006303/0.009299, allocations: 157.3 kB / 381.9 MB, free: 14.22 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.378e-05/0.009363, allocations: 77.11 kB / 382 MB, free: 14.12 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001822/0.009545, allocations: 155.6 kB / 382.1 MB, free: 13.96 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.052e-05/0.009566, allocations: 25.7 kB / 382.1 MB, free: 13.93 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.245e-05/0.009628, allocations: 92.14 kB / 382.2 MB, free: 13.84 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.607e-05/0.009654, allocations: 15.91 kB / 382.2 MB, free: 13.82 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.291e-05/0.009697, allocations: 17.7 kB / 382.3 MB, free: 13.8 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001675/0.009865, allocations: 318.8 kB / 382.6 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.001e-05/0.009955, allocations: 27.97 kB / 382.6 MB, free: 13.45 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001044/0.01006, allocations: 63.47 kB / 382.7 MB, free: 13.38 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001493/0.01021, allocations: 48.83 kB / 382.7 MB, free: 13.33 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.706e-06/0.01021, allocations: 3.938 kB / 382.7 MB, free: 13.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002231/0.01044, allocations: 93.55 kB / 382.8 MB, free: 13.23 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.01045, allocations: 4 kB / 382.8 MB, free: 13.22 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.01045, allocations: 0 / 382.8 MB, free: 13.22 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.01047, allocations: 4.031 kB / 382.8 MB, free: 13.22 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.706e-05/0.01054, allocations: 15.98 kB / 382.8 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.01054, allocations: 0 / 382.8 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.098e-05/0.0106, allocations: 8 kB / 382.8 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.062e-06/0.01061, allocations: 0 / 382.8 MB, free: 13.2 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 0.000106/0.01071, allocations: 121.8 kB / 382.9 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.839e-05/0.01075, allocations: 11.95 kB / 383 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002681/0.01102, allocations: 102 kB / 383.1 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.01102, allocations: 4 kB / 383.1 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.01102, allocations: 4 kB / 383.1 MB, free: 12.94 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.01103, allocations: 3.984 kB / 383.1 MB, free: 12.94 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004733/0.0115, allocations: 298.2 kB / 383.4 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.0115, allocations: 0 / 383.4 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.895e-05/0.01157, allocations: 12.25 kB / 383.4 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.01158, allocations: 0 / 383.4 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.899e-06/0.01159, allocations: 4 kB / 383.4 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.881e-06/0.01159, allocations: 7.984 kB / 383.4 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.01159, allocations: 7.938 kB / 383.4 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002725/0.01186, allocations: 179.4 kB / 383.6 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.176e-05/0.01189, allocations: 15.94 kB / 383.6 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.709e-05/0.0119, allocations: 0 / 383.6 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.989e-05/0.01198, allocations: 4 kB / 383.6 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.38e-05/0.01202, allocations: 4.266 kB / 383.6 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.173e-06/0.01202, allocations: 4 kB / 383.6 MB, free: 12.36 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000111/0.01214, allocations: 109.5 kB / 383.7 MB, free: 12.25 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01214, allocations: 4 kB / 383.7 MB, free: 12.25 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002907/0.01243, allocations: 43.86 kB / 383.7 MB, free: 12.21 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.002354/0.01478, allocations: 0.5327 MB / 384.3 MB, free: 11.88 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002203/0.015, allocations: 51.91 kB / 384.3 MB, free: 11.83 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.015, allocations: 0 / 384.3 MB, free: 11.83 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.421e-05/0.01509, allocations: 27.97 kB / 384.4 MB, free: 11.8 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003432/0.01543, allocations: 15.98 kB / 384.4 MB, free: 11.79 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004659/0.01589, allocations: 192.3 kB / 384.6 MB, free: 11.57 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.488e-05/0.01598, allocations: 75.33 kB / 384.6 MB, free: 11.48 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.824e-05/0.01605, allocations: 15.97 kB / 384.6 MB, free: 11.46 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.047e-05/0.0161, allocations: 20.48 kB / 384.7 MB, free: 11.45 MB / 362.7 MB Notification: Performance of SimCode: time 3.81e-07/0.0161, allocations: 0 / 384.7 MB, free: 11.45 MB / 362.7 MB Notification: Performance of Templates: time 0.005237/0.02134, allocations: 1.843 MB / 386.5 MB, free: 9.621 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test20.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test20.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test20/Test20.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test20.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: 4.889359768014401]