Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.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.0009892/0.0009892, allocations: 67.77 kB / 21.69 MB, free: 2.852 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.001133/0.001133, allocations: 165.5 kB / 24.99 MB, free: 8.742 MB / 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.027/1.027, allocations: 177.1 MB / 205.3 MB, free: 5.648 MB / 186.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.2887/0.2887, allocations: 32.81 MB / 294.6 MB, free: 1.203 MB / 266.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.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.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.132e-06/1.132e-06, allocations: 0 / 376 MB, free: 4.957 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.017e-05/1.13e-05, allocations: 2.312 kB / 376 MB, free: 4.953 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test18): time 0.001932/0.001943, allocations: 1.649 MB / 377.7 MB, free: 3.289 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001199/0.003142, allocations: 1.286 MB / 379 MB, free: 1.996 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.455e-05/0.003197, allocations: 0 / 379 MB, free: 1.996 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001642/0.003361, allocations: 31.72 kB / 379 MB, free: 1.965 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000227/0.003588, allocations: 83.55 kB / 379.1 MB, free: 1.883 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002202/0.003808, allocations: 115.6 kB / 379.2 MB, free: 1.77 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001108/0.003919, allocations: 79.77 kB / 379.3 MB, free: 1.691 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.443e-05/0.003993, allocations: 19.98 kB / 379.3 MB, free: 1.672 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.913e-05/0.004042, allocations: 43.84 kB / 379.3 MB, free: 1.629 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.282e-05/0.004115, allocations: 31.89 kB / 379.4 MB, free: 1.598 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.3e-05/0.004128, allocations: 8 kB / 379.4 MB, free: 1.59 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001243/0.004252, allocations: 87.88 kB / 379.4 MB, free: 1.504 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.047e-05/0.004283, allocations: 19.92 kB / 379.5 MB, free: 1.484 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.588e-05/0.004309, allocations: 19.92 kB / 379.5 MB, free: 1.465 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000184/0.004493, allocations: 143.5 kB / 379.6 MB, free: 1.324 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.004495, allocations: 4 kB / 379.6 MB, free: 1.32 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.71e-07/0.004496, allocations: 0 / 379.6 MB, free: 1.32 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.996e-06/0.004499, allocations: 0 / 379.6 MB, free: 1.32 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003414/0.00484, allocations: 435.9 kB / 380.1 MB, free: 0.8594 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.828e-05/0.004868, allocations: 12.02 kB / 380.1 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.901e-05/0.004907, allocations: 16.84 kB / 380.1 MB, free: 0.832 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001294/0.005037, allocations: 136.5 kB / 380.2 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.833e-06/0.005044, allocations: 4.375 kB / 380.2 MB, free: 0.668 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.871e-05/0.005062, allocations: 8.375 kB / 380.2 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001204/0.005183, allocations: 115.9 kB / 380.3 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.695e-06/0.00519, allocations: 192 / 380.3 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/0.0052, allocations: 8.125 kB / 380.4 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.005206, allocations: 0 / 380.4 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.403e-05/0.00524, allocations: 15.97 kB / 380.4 MB, free: 0.5 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002744/0.005514, allocations: 295.7 kB / 380.7 MB, free: 180 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.23e-05/0.005576, allocations: 54.98 kB / 380.7 MB, free: 112 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.285e-05/0.005599, allocations: 15.81 kB / 380.7 MB, free: 92 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.603e-05/0.005615, allocations: 8 kB / 380.7 MB, free: 84 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.908e-05/0.005634, allocations: 33.39 kB / 380.8 MB, free: 40 kB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 9.52e-07/0.005635, allocations: 0 / 380.8 MB, free: 40 kB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003337/0.005969, allocations: 133.6 kB / 380.9 MB, free: 15.9 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.436e-05/0.006003, allocations: 85.03 kB / 381 MB, free: 15.8 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001143/0.006118, allocations: 203.7 kB / 381.2 MB, free: 15.58 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.069e-05/0.006128, allocations: 29.64 kB / 381.2 MB, free: 15.55 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.713e-05/0.006176, allocations: 142.9 kB / 381.3 MB, free: 15.4 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.011e-05/0.006196, allocations: 31.75 kB / 381.4 MB, free: 15.37 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.299e-05/0.006229, allocations: 31.36 kB / 381.4 MB, free: 15.33 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001138/0.006342, allocations: 0.4922 MB / 381.9 MB, free: 14.83 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.083e-05/0.006363, allocations: 11.98 kB / 381.9 MB, free: 14.82 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.043e-05/0.006404, allocations: 57.44 kB / 382 MB, free: 14.75 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.557e-05/0.006449, allocations: 31.69 kB / 382 MB, free: 14.71 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.00645, allocations: 0 / 382 MB, free: 14.71 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.97e-05/0.00654, allocations: 81.56 kB / 382.1 MB, free: 14.62 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.019e-05/0.00655, allocations: 8 kB / 382.1 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.006553, allocations: 0 / 382.1 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.836e-06/0.006562, allocations: 4.031 kB / 382.1 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.335e-05/0.006626, allocations: 15.98 kB / 382.1 MB, free: 14.6 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.777e-06/0.006629, allocations: 320 / 382.1 MB, free: 14.6 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.1e-05/0.00665, allocations: 4 kB / 382.1 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.006656, allocations: 4 kB / 382.1 MB, free: 14.59 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 (8): * Single equations (assignments): 8 * 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.241e-05/0.006719, allocations: 164.5 kB / 382.3 MB, free: 14.42 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.216e-05/0.006741, allocations: 11.95 kB / 382.3 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001254/0.006866, allocations: 94.31 kB / 382.4 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.006868, allocations: 0 / 382.4 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.00687, allocations: 0 / 382.4 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.006873, allocations: 4 kB / 382.4 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002486/0.007122, allocations: 361.3 kB / 382.7 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.007123, allocations: 0 / 382.7 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.654e-05/0.00716, allocations: 15.94 kB / 382.8 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.007162, allocations: 0 / 382.8 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.271e-06/0.007168, allocations: 4 kB / 382.8 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.00717, allocations: 3.984 kB / 382.8 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.00717, allocations: 0 / 382.8 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001225/0.007293, allocations: 219.8 kB / 383 MB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.016e-05/0.007303, allocations: 7.953 kB / 383 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.192e-05/0.007315, allocations: 11.94 kB / 383 MB, free: 13.63 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.534e-05/0.00735, allocations: 3.984 kB / 383 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.247e-05/0.007373, allocations: 4 kB / 383 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.049e-06/0.007378, allocations: 7.984 kB / 383 MB, free: 13.61 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.069e-05/0.007439, allocations: 153.3 kB / 383.2 MB, free: 13.46 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007439, allocations: 3.938 kB / 383.2 MB, free: 13.46 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001896/0.007628, allocations: 43.86 kB / 383.2 MB, free: 13.42 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 (8): * Single equations (assignments): 8 * 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.0009327/0.008561, allocations: 497.5 kB / 383.7 MB, free: 13.11 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.716e-05/0.008658, allocations: 39.67 kB / 383.7 MB, free: 13.07 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.008659, allocations: 0 / 383.7 MB, free: 13.07 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.036e-05/0.00869, allocations: 31.61 kB / 383.8 MB, free: 13.03 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001859/0.008876, allocations: 23.98 kB / 383.8 MB, free: 13.01 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002764/0.009152, allocations: 194.2 kB / 384 MB, free: 12.79 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.056e-05/0.009193, allocations: 67.33 kB / 384 MB, free: 12.7 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.441e-05/0.009237, allocations: 17.02 kB / 384.1 MB, free: 12.68 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.043e-05/0.009268, allocations: 24.44 kB / 384.1 MB, free: 12.66 MB / 362.7 MB Notification: Performance of SimCode: time 7.01e-07/0.009268, allocations: 4 kB / 384.1 MB, free: 12.66 MB / 362.7 MB Notification: Performance of Templates: time 0.003176/0.01244, allocations: 1.931 MB / 386 MB, free: 10.73 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test18/Test18.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.2523958440870047]