Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.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.001516/0.001516, allocations: 108.2 kB / 21.19 MB, free: 0.6094 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.001615/0.001615, allocations: 216.4 kB / 24.5 MB, free: 3.953 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.371/1.371, allocations: 230.6 MB / 258.3 MB, free: 7.984 MB / 206.1 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.2061/0.2061, allocations: 46.93 MB / 361.6 MB, free: 4.262 MB / 286.1 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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002103/0.002103, allocations: 59.91 kB / 0.4974 GB, free: 7.379 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.305/0.3071, allocations: 66.03 MB / 0.5619 GB, free: 4.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.003358/0.3104, allocations: 1.675 MB / 0.5635 GB, free: 2.723 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001159/0.3116, allocations: 0.5582 MB / 0.5641 GB, free: 2.16 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.774e-05/0.3116, allocations: 4 kB / 0.5641 GB, free: 2.156 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003609/0.312, allocations: 95.67 kB / 0.5642 GB, free: 2.062 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000363/0.3124, allocations: 107.6 kB / 0.5643 GB, free: 1.957 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003263/0.3127, allocations: 103.6 kB / 0.5644 GB, free: 1.855 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000232/0.3129, allocations: 103.7 kB / 0.5645 GB, free: 1.754 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001393/0.3131, allocations: 18.81 kB / 0.5645 GB, free: 1.738 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.672e-05/0.3132, allocations: 47.83 kB / 0.5645 GB, free: 1.691 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001519/0.3133, allocations: 59.81 kB / 0.5646 GB, free: 1.633 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.818e-05/0.3133, allocations: 4 kB / 0.5646 GB, free: 1.629 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001148/0.3134, allocations: 55.91 kB / 0.5646 GB, free: 1.574 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.197e-05/0.3135, allocations: 35.84 kB / 0.5647 GB, free: 1.539 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.021e-05/0.3136, allocations: 39.69 kB / 0.5647 GB, free: 1.5 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002801/0.3139, allocations: 131.1 kB / 0.5648 GB, free: 1.375 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.3139, allocations: 0 / 0.5648 GB, free: 1.375 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3139, allocations: 0 / 0.5648 GB, free: 1.375 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.542e-06/0.3139, allocations: 0 / 0.5648 GB, free: 1.375 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005875/0.3145, allocations: 357.5 kB / 0.5652 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.3145, allocations: 11.97 kB / 0.5652 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.702e-05/0.3146, allocations: 20.84 kB / 0.5652 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002256/0.3148, allocations: 150.8 kB / 0.5654 GB, free: 0.793 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.428e-05/0.3148, allocations: 4.375 kB / 0.5654 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.004e-05/0.3148, allocations: 8.375 kB / 0.5654 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001844/0.315, allocations: 73.72 kB / 0.5654 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/0.315, allocations: 3.953 kB / 0.5654 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.459e-05/0.3151, allocations: 7.984 kB / 0.5655 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.3151, allocations: 0 / 0.5655 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001304/0.3152, allocations: 43.91 kB / 0.5655 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004929/0.3157, allocations: 299.8 kB / 0.5658 GB, free: 320 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001426/0.3158, allocations: 62.5 kB / 0.5658 GB, free: 248 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.016e-05/0.3159, allocations: 24.84 kB / 0.5659 GB, free: 220 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.821e-05/0.3159, allocations: 0 / 0.5659 GB, free: 220 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.3159, allocations: 38.56 kB / 0.5659 GB, free: 172 kB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 9.22e-07/0.3159, allocations: 4 kB / 0.5659 GB, free: 168 kB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.001095/0.317, allocations: 310 kB / 0.5662 GB, free: 15.85 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.914e-05/0.3171, allocations: 59.34 kB / 0.5663 GB, free: 15.78 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002363/0.3173, allocations: 235.6 kB / 0.5665 GB, free: 15.53 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.319e-05/0.3173, allocations: 33.7 kB / 0.5665 GB, free: 15.49 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.536e-05/0.3174, allocations: 112 kB / 0.5666 GB, free: 15.38 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.289e-05/0.3175, allocations: 43.64 kB / 0.5667 GB, free: 15.34 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.413e-05/0.3175, allocations: 29.7 kB / 0.5667 GB, free: 15.3 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001536/0.3177, allocations: 326.8 kB / 0.567 GB, free: 14.97 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.768e-05/0.3178, allocations: 39.91 kB / 0.567 GB, free: 14.93 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.255e-05/0.3178, allocations: 39.36 kB / 0.5671 GB, free: 14.9 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001751/0.318, allocations: 84.83 kB / 0.5672 GB, free: 14.81 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.318, allocations: 0 / 0.5672 GB, free: 14.81 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002479/0.3183, allocations: 145.5 kB / 0.5673 GB, free: 14.66 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.3183, allocations: 4 kB / 0.5673 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.3183, allocations: 3.984 kB / 0.5673 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.3183, allocations: 0 / 0.5673 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001263/0.3184, allocations: 39.86 kB / 0.5673 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.3184, allocations: 0 / 0.5673 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.428e-05/0.3185, allocations: 4 kB / 0.5673 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.077e-05/0.3185, allocations: 8 kB / 0.5674 GB, free: 14.61 MB / 414.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 (13): * Single equations (assignments): 13 * 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.0001074/0.3186, allocations: 133.8 kB / 0.5675 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.865e-05/0.3186, allocations: 15.91 kB / 0.5675 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003289/0.319, allocations: 159 kB / 0.5677 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.319, allocations: 7.938 kB / 0.5677 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.319, allocations: 0 / 0.5677 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.319, allocations: 3.984 kB / 0.5677 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005765/0.3196, allocations: 450.2 kB / 0.5681 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3196, allocations: 0 / 0.5681 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.907e-05/0.3196, allocations: 23.98 kB / 0.5681 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.3197, allocations: 4 kB / 0.5681 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.229e-05/0.3197, allocations: 12.03 kB / 0.5681 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.3197, allocations: 0 / 0.5681 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.3197, allocations: 7.938 kB / 0.5681 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002911/0.32, allocations: 243.7 kB / 0.5684 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.829e-05/0.32, allocations: 11.91 kB / 0.5684 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.018e-05/0.32, allocations: 4 kB / 0.5684 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.804e-05/0.3201, allocations: 15.98 kB / 0.5684 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.097e-05/0.3201, allocations: 7.984 kB / 0.5684 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-06/0.3201, allocations: 4 kB / 0.5684 GB, free: 13.44 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001519/0.3203, allocations: 185.1 kB / 0.5686 GB, free: 13.26 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3203, allocations: 0 / 0.5686 GB, free: 13.26 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002476/0.3205, allocations: 27.94 kB / 0.5686 GB, free: 13.23 MB / 414.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 (13): * Single equations (assignments): 13 * 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.001673/0.3222, allocations: 466.6 kB / 0.5691 GB, free: 12.95 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002562/0.3224, allocations: 87.95 kB / 0.5691 GB, free: 12.87 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.3224, allocations: 0 / 0.5691 GB, free: 12.87 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001055/0.3226, allocations: 59.91 kB / 0.5692 GB, free: 12.81 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000348/0.3229, allocations: 25.36 kB / 0.5692 GB, free: 12.79 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005763/0.3235, allocations: 345.2 kB / 0.5696 GB, free: 12.41 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003258/0.3238, allocations: 0.7203 MB / 0.5703 GB, free: 11.67 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.304e-05/0.3238, allocations: 19.5 kB / 0.5703 GB, free: 11.65 MB / 414.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3238, allocations: 0 / 0.5703 GB, free: 11.65 MB / 414.1 MB Notification: Performance of Templates: time 0.003964/0.3278, allocations: 2.066 MB / 0.5723 GB, free: 9.578 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.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.528026473009959]