Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.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.001672/0.001672, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 14.72 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.001902/0.001902, allocations: 210 kB / 24.48 MB, free: 3.938 MB / 14.72 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.456/1.456, allocations: 230.6 MB / 258.2 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] 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.2314/0.2314, allocations: 44.94 MB / 359.6 MB, free: 6.047 MB / 286.1 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.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002302/0.002302, allocations: 71.89 kB / 0.4943 GB, free: 9.996 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.298/0.3003, allocations: 65.48 MB / 0.5582 GB, free: 7.441 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test16): time 0.003204/0.3035, allocations: 1.605 MB / 0.5598 GB, free: 5.824 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001079/0.3045, allocations: 0.5271 MB / 0.5603 GB, free: 5.293 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.215e-05/0.3046, allocations: 4 kB / 0.5603 GB, free: 5.289 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002701/0.3049, allocations: 83.64 kB / 0.5604 GB, free: 5.207 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003132/0.3052, allocations: 111.6 kB / 0.5605 GB, free: 5.098 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000305/0.3055, allocations: 111.4 kB / 0.5606 GB, free: 4.992 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001665/0.3056, allocations: 87.73 kB / 0.5607 GB, free: 4.906 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.511e-05/0.3057, allocations: 11.66 kB / 0.5607 GB, free: 4.898 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.782e-05/0.3058, allocations: 39.91 kB / 0.5607 GB, free: 4.859 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001143/0.3059, allocations: 63.73 kB / 0.5608 GB, free: 4.797 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.714e-05/0.3059, allocations: 4 kB / 0.5608 GB, free: 4.793 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001047/0.306, allocations: 47.97 kB / 0.5608 GB, free: 4.746 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.741e-05/0.3061, allocations: 27.86 kB / 0.5609 GB, free: 4.719 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.941e-05/0.3061, allocations: 23.81 kB / 0.5609 GB, free: 4.695 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001895/0.3063, allocations: 98.31 kB / 0.561 GB, free: 4.602 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.3063, allocations: 0 / 0.561 GB, free: 4.602 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.3063, allocations: 0 / 0.561 GB, free: 4.602 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.3063, allocations: 0 / 0.561 GB, free: 4.602 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004964/0.3068, allocations: 341.6 kB / 0.5613 GB, free: 4.238 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.3069, allocations: 16.03 kB / 0.5613 GB, free: 4.223 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.922e-05/0.3069, allocations: 16.78 kB / 0.5613 GB, free: 4.207 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002073/0.3071, allocations: 147 kB / 0.5615 GB, free: 4.035 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.3071, allocations: 4.375 kB / 0.5615 GB, free: 4.031 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.168e-05/0.3072, allocations: 4.375 kB / 0.5615 GB, free: 4.027 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001445/0.3073, allocations: 57.8 kB / 0.5615 GB, free: 3.965 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.3073, allocations: 4 kB / 0.5615 GB, free: 3.961 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.3073, allocations: 4 kB / 0.5615 GB, free: 3.957 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.3073, allocations: 0 / 0.5615 GB, free: 3.957 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000102/0.3074, allocations: 31.92 kB / 0.5616 GB, free: 3.926 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003981/0.3078, allocations: 244.4 kB / 0.5618 GB, free: 3.656 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001292/0.308, allocations: 50.56 kB / 0.5619 GB, free: 3.598 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.147e-05/0.308, allocations: 12.94 kB / 0.5619 GB, free: 3.582 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.521e-05/0.308, allocations: 4 kB / 0.5619 GB, free: 3.578 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.813e-05/0.3081, allocations: 34.5 kB / 0.5619 GB, free: 3.535 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.3081, allocations: 0 / 0.5619 GB, free: 3.535 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008979/0.3089, allocations: 245.6 kB / 0.5621 GB, free: 3.289 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.536e-05/0.309, allocations: 55.41 kB / 0.5622 GB, free: 3.223 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000231/0.3092, allocations: 210.3 kB / 0.5624 GB, free: 3.008 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.171e-05/0.3092, allocations: 25.7 kB / 0.5624 GB, free: 2.977 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.348e-05/0.3093, allocations: 112 kB / 0.5625 GB, free: 2.863 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.242e-05/0.3094, allocations: 27.73 kB / 0.5626 GB, free: 2.836 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.486e-05/0.3094, allocations: 21.72 kB / 0.5626 GB, free: 2.809 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001569/0.3096, allocations: 334.8 kB / 0.5629 GB, free: 2.473 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.01e-05/0.3097, allocations: 27.97 kB / 0.5629 GB, free: 2.445 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.51e-05/0.3097, allocations: 27.98 kB / 0.5629 GB, free: 2.418 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001713/0.3099, allocations: 80.75 kB / 0.563 GB, free: 2.336 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.3099, allocations: 0 / 0.563 GB, free: 2.336 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002388/0.3102, allocations: 117.5 kB / 0.5631 GB, free: 2.215 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.3102, allocations: 4 kB / 0.5631 GB, free: 2.211 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.3102, allocations: 4.312 kB / 0.5631 GB, free: 2.207 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.3102, allocations: 0 / 0.5631 GB, free: 2.207 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001015/0.3103, allocations: 23.92 kB / 0.5632 GB, free: 2.184 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.3103, allocations: 0 / 0.5632 GB, free: 2.184 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.6e-05/0.3103, allocations: 7.984 kB / 0.5632 GB, free: 2.176 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.045e-05/0.3103, allocations: 7.922 kB / 0.5632 GB, free: 2.168 MB / 398.1 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 0.0001069/0.3105, allocations: 125.8 kB / 0.5633 GB, free: 2.035 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.052e-05/0.3105, allocations: 19.83 kB / 0.5633 GB, free: 2.016 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003119/0.3108, allocations: 127 kB / 0.5634 GB, free: 1.875 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.766e-06/0.3108, allocations: 0 / 0.5634 GB, free: 1.875 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-06/0.3108, allocations: 4 kB / 0.5634 GB, free: 1.871 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-06/0.3108, allocations: 0 / 0.5634 GB, free: 1.871 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005476/0.3114, allocations: 362.9 kB / 0.5638 GB, free: 1.477 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.3114, allocations: 0 / 0.5638 GB, free: 1.477 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.889e-05/0.3114, allocations: 19.98 kB / 0.5638 GB, free: 1.457 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.3114, allocations: 0 / 0.5638 GB, free: 1.457 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.3114, allocations: 4.031 kB / 0.5638 GB, free: 1.453 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.872e-06/0.3115, allocations: 15.88 kB / 0.5638 GB, free: 1.438 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3115, allocations: 0 / 0.5638 GB, free: 1.438 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002896/0.3117, allocations: 208.3 kB / 0.564 GB, free: 1.215 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.879e-05/0.3118, allocations: 11.91 kB / 0.564 GB, free: 1.203 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.029e-05/0.3118, allocations: 4 kB / 0.564 GB, free: 1.199 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.259e-05/0.3119, allocations: 15.92 kB / 0.5641 GB, free: 1.184 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.612e-05/0.3119, allocations: 0 / 0.5641 GB, free: 1.184 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.688e-06/0.3119, allocations: 4 kB / 0.5641 GB, free: 1.18 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001636/0.3121, allocations: 180.2 kB / 0.5642 GB, free: 1.004 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3121, allocations: 0 / 0.5642 GB, free: 1.004 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002524/0.3123, allocations: 12 kB / 0.5642 GB, free: 0.9922 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.001853/0.3142, allocations: 0.4893 MB / 0.5647 GB, free: 0.707 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002321/0.3144, allocations: 63.95 kB / 0.5648 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3144, allocations: 0 / 0.5648 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001021/0.3145, allocations: 43.91 kB / 0.5648 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003676/0.3149, allocations: 27.36 kB / 0.5649 GB, free: 0.582 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005918/0.3155, allocations: 300.4 kB / 0.5651 GB, free: 260 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001106/0.3156, allocations: 108.6 kB / 0.5652 GB, free: 132 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.994e-05/0.3156, allocations: 15.44 kB / 0.5653 GB, free: 116 kB / 398.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3156, allocations: 0 / 0.5653 GB, free: 116 kB / 398.1 MB Notification: Performance of Templates: time 0.003971/0.3196, allocations: 1.857 MB / 0.5671 GB, free: 14.25 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.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: 7.932387065608054]